I want to use external flash with S32K341. I am trying to read id of the external flash memory. When I try to do using IP command, I get stuck waiting for SR[BUSY] flag to become 0. Data, cs, and clk lines quiet. Data lines are in a high state, clk is low. I want to use internal FIRC.
What steps duirng the initialization am i missing?
1. QuadSPI clock enable in MC_ME
2. Pin setup, copied from the example in RTD package, considering S32K342 quad spi.
3. Enable QuadSPI by MCR module
4. Unlocking LUT, writing sequence (cmd(0x9F), read, stop) on 0 index, locking LUT
5. Starting by writing address 0x00 to SFAR and 0 to IPCR[SEQID], 4 to IDATSZ
Why are the no signal on data lines?