Part Number: TMS320F28021
Hi Experts,
I'd like to confirm that if the SPI speed of F28021 could be slowly down to 2KHz?
Wish for your support!
Thanks!
Best Regards/Rayna
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.
Part Number: TMS320F28021
Hi Experts,
I'd like to confirm that if the SPI speed of F28021 could be slowly down to 2KHz?
Wish for your support!
Thanks!
Best Regards/Rayna
Hi Rayna,
This is a pretty simple math problem based on the configured SYSCLK. Please see the SPI section in the shiny new PiccoloA TRM - http://www.ti.com/lit/sprui09 See the Baud Rate Selection section for the formula.
To reach 2 KHz SPICLK while keeping SYSCLK as fast as possible:
If SYSCLK is lower, you would have more options, but I am not going to calculate all of that out here.
-Mark
Hi Mark,
SYSCLK = 35.84MHz
LSPCLK = SYSCLK/14 = 2.56MHz
SPIBRR = 127
SPI speed should be 35.84MHz / 14 / 127 = 20.15 KHz?
It's not 2 KHz, Am I right?
If I want to obtain 2KHz SPI speed when SYSCLK is 40MHz, how to achieve that? Thanks.