Here is a question about TPS92661. MCU communicate with TPS92661 using UART. How to set CLK? using PWM? what's the relationship between the CLK and Baud of UART? Does anyone have good suggestion? Thank you very much.
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.
Here is a question about TPS92661. MCU communicate with TPS92661 using UART. How to set CLK? using PWM? what's the relationship between the CLK and Baud of UART? Does anyone have good suggestion? Thank you very much.
Hello,
I'm trying to get the right person to answer this for you. Thanks.
Regards,
Clint
Hello,
According to an expert on the device:
Baud rate:
The baud rate is based on the CLOCK input and is one-sixteenth of the CLOCK input frequency (see Table 1 for
some examples). The UART uses 16× oversampling on the incoming asynchronous RX signal.
Example:
8 MHz = 500kbps Baud Rate
CLK:
7.4.1.2 Clock (CLK Pin)
The CLK pin is the input for the primary system clock. It serves as the time basis for both the UART, as well as
the LED PWM hardware. The device functions with a clock input as high as 16 MHz. The clock rate should be
selected based on the desired UART bit rate. CLOCK can be provided by the PWM peripheral of the master
microcontroller, or by a local oscillator. All TPS92661s on the same network should share the same clock."
Regards,
Clint