Hello, I am using Renesas RL78G14 RDK board. I downloaded the sample IAR project from below link: http://in.renesas.com/support/downloads/download_results/C1000000-C9999999/tools/yrdkrl78g14_factory_demo_v39.jsp I am unable to see UART communication in any mode supported. I guess it looked like clocking issue. I found multiple definition for clock freq. /* YRDKRL78G14.h */ #define RL78_MAIN_SYSTEM_CLOCK 12000000 /* MHz */ #define RL78_SUBSYSTEM_CLOCK 32768 /* kHz */ #define RL78_INTERNAL_LOWSPEED_CLOCK 15000 /* kHz */ /* UART.c */ #define MAIN_SYSTEM_CLOCK 32000000 Could anybody confirm which value needs to be used for baud rate calculation? Current code uses macro MAIN_SYSTEM_CLOCK Also if any other issue is suspected in UART in RL78G14 board would really helpful Thanks!! regards, Hemanth UPDATE: Enabling of UART-1 Tx & Rx by setting the Register "SS10", causes Higher 7 bits of the serial data register SDR02 & SDR03 to reset. How can i prevent the reset happening?
↧