The transfer takes its time and you are constantly trying to fill the transmit queue which eventually becomes full. You also need to configure the ports (MPC, PMR=1). Here is an example for RX64M: R_BSP_RegisterProtectDisable(BSP_REG_PROTECT_MPC); MPC.PE1PFS.BYTE = 0x0c; MPC.PE2PFS.BYTE = 0x0c; R_BSP_RegisterProtectEnable(BSP_REG_PROTECT_MPC); PORTE.PDR.BIT.B1 = 1; PORTE.PDR.BIT.B2 = 0; PORTE.PMR.BIT.B1 = 1; PORTE.PMR.BIT.B2 = 1;
↧