Hello:
I have another question on spi slave mode:
if I use DSPI2 in slave mode, A3 as the chip select pin, how to config it?
should I not only config the MSCR[3] SSS value equal 0010,but also config IMCR[49] SSS value equal 0001?
Thank you!
Hi,
to use A3 pin as slave's chip select input you need to set
SIUL2.MSCR[3].R = 0x000C0000; // Pad PA3: Enable input buffer and input hysteresis
SIUL2.IMCR[49].R = 0x1; // Pad PA3: is SPI_2 CS0
BR, Petr