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 SSS value equal 0010,but also config IMCR SSS value equal 0001?
to use A3 pin as slave's chip select input you need to set
SIUL2.MSCR.R = 0x000C0000; // Pad PA3: Enable input buffer and input hysteresis
SIUL2.IMCR.R = 0x1; // Pad PA3: is SPI_2 CS0
Retrieving data ...