I tried to configure QSPI to communicate to the TLF35584. but when I tried to read DEVSTAT register , in response I am getting 0xffff . I am not able figure out where I missed configuration.
Evaluation board: TC387QP
I have attached my source file ... help me out to understand where i missed
Check if there is a traffic on MRST, if yes then CS, CLK and MTSR to TLF is working. Otherwise you must check this signals. You selected the correct pins you use for TLF SPI?
spiMasterChannelConfig.base.mode.clockPolarity = SpiIf_ClockPolarity_idleHigh;
spiMasterChannelConfig.base.mode.clockPolarity = SpiIf_ClockPolarity_idleLow;
Based on the code, you want to read the DEVSTAT register (0x27h) but from what you write in the program you read the register something about RWDCFG1 (0x0eh). The sent value should be a composition -> cmd (01b) + 0x27h + 0h that is 0x6700h. And the returned quantity is about 0x8001 -> the thread is not set (1 because it is in the INIT state).