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.

CCS/F28M36P63C2: SPI baudrate- Tech ref manual

Part Number: F28M36P63C2

Tool/software: Code Composer Studio

Hello,

I have a query about something i read on the Technical reference manual regarding the C28 SPI interface with regards to setting the SPI Baudrate. I am trying to SPI write to an LCD , with a transfer every 500 ms.

I am trying to decide the appropriate SPI BRR value. and i am following the below steps

#define CPU_FREQ     150E6      // 150MHz
#define SPI_BAUDRATE 2     // 2 Hz
#define LSPCLK_FREQ  (CPU_FREQ/4)
#define SPI_BRR      (LSPCLK_FREQ/SPI_BAUDRATE)-1

Is this accurate?

Thank you,

Srini