Hi Team,
I have UART connection problem in R-Car-V4H MCU RL78/F13.
I can't receive the correct data when the MCU sends buffer data('a') via UART.
If your have a sample code, please provide it to me, thank you!
uint8_t tx_buf[] = {'a'}; void clock_sleep(long d) { while(d--); } void main(void) { R_MAIN_UserInit(); R_UART0_Start(); while (1) { R_UART0_Send(tx_buf, 1); clock_sleep(1000000); } } void R_MAIN_UserInit(void) { EI(); }
Thanks!
Louis,