Hi. I'd like to know Why example 17-3 Datasheet TMS320F2837xD (2396 pages) say " Baud Rate Calculation in Non-High Speed Mode (HS_MODE=0)" and they are using LSPCLK = 50MHz.
Doesnt HSSPI mean max. freq LSPCLK = 40MHz?
Thks
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. I'd like to know Why example 17-3 Datasheet TMS320F2837xD (2396 pages) say " Baud Rate Calculation in Non-High Speed Mode (HS_MODE=0)" and they are using LSPCLK = 50MHz.
Doesnt HSSPI mean max. freq LSPCLK = 40MHz?
Thks
You are right. This bit field is missing in SPICCR register in TRM as well as in header file. This will be corrected in next release of TRM and controlSUITE which is planned towards the end of this month.
Following should be SPICCR register definition -
struct SPICCR_BITS { // bits description
Uint16 SPICHAR:4; // 3:0 Character Length Control
Uint16 SPILBK:1; // 4 SPI Loopback
Uint16 HS_MODE:1; // 5 High Speed mode control
Uint16 CLKPOLARITY:1; // 6 Shift Clock Polarity
Uint16 SPISWRESET:1; // 7 SPI Software Reset
Uint16 rsvd1:8; // 15:8 Reserved
};
Regards,
Vivek Singh