- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Labels:
-
Aurix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
kindly help me out here what I am missing ....I tried lot of different scenario but no Luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
does we have press WaKE button on board. ? ...TLF is not responding to anything
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
do we have press wake button on TC387WQP board before configuring TLF35584
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Change line:
spiMasterChannelConfig.base.mode.clockPolarity = SpiIf_ClockPolarity_idleHigh;
to
spiMasterChannelConfig.base.mode.clockPolarity = SpiIf_ClockPolarity_idleLow;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
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).