Tool/software:
Problem: I have an SPI device (M93C66 SPROM) that uses D1 (MISO) pin to indicate whether or not the device is still busy writing (D1 goes high on not-busy, 3 to 5ms after a write command). I want to programmatically check for the busy status and proceed with the next write instead of using a worse-case sleep.
Background: I have attempted to put the SPI module into SYSTEST mode using the register and setting CSL_MCSPI_MODULCTRL_SYSTEM_TEST_MASK. I then read the CSL_MCSPI_SYST register to check for the input data pin state using CSL_MCSPI_SYST_SPIDAT_1_MASK. However, the whole register value for CSL_MCSPI_MODULCTRL resolutely remains zero.
Question: How can I programmatically read if the MCSPI D1 input pin is high or low?
Thanks, Steve
