Hi,team:
The following is the code I initialized:
May I ask what is the configuration for using an external clock? I have a problem configuring the serial port baud rate to 115200 when using an external clock.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,team:
The following is the code I initialized:
May I ask what is the configuration for using an external clock? I have a problem configuring the serial port baud rate to 115200 when using an external clock.
Hi Alex,
I'm looking at this and will get back to you on Tuesday.
Jake
Alex,
CC2511 uses a 48 MHz Crystal:
Section 12.1.5 of the datasheet shows that the 48 MHz XTAL used with CC2511 is divided down to 24 MHz for the system clock. Using a 24 MHz clock the UART settings for 24 MHz can be found in Table 56:
BAUD_E = 12
BAUD_M = 59
So your settings above for BAUD_E = 12 and BAUD_M = 216 are incorrect and result in a baud rate of approximately 172851.
Jake