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:
data |= ((uint32_t) 1U << 26); data |= (uint32_t)((uint32_t)0x2 << 16); // Set Chipselect data |= (uint32_t) txData; SPI->DAT1 = data
Could you check on you end, if the CSNR = 0x2 seletcs pin N3?
Thank you and best regards,
Max