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.

TMS570LC4357: Problems with SPI2 Chip Select Bits CSNR and MIBSPI2NCS[0]

Part Number: TMS570LC4357

Hi experts,

we are experiencing a slight Problem with the CSNR bits of the SPI2 Modul.

We are configuring pin N3 as MIBSPI2NCS[0] and according to table 28-25 in the Technical Reference CSNR shoudl be 0x1. This does not work.
However setting CSNR to 0x2, which should be Chip Select 1 does work.

This is what we do before writing the SPIDAT1 register:

Fullscreen
1
2
3
4
5
6
7
data |= ((uint32_t) 1U << 26);
data |= (uint32_t)((uint32_t)0x2 << 16); // Set Chipselect
data |= (uint32_t) txData;
SPI->DAT1 = data
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Could you check on you end, if the CSNR = 0x2 seletcs pin N3?

Thank you and best regards,
Max