Attachments are accessible only for community members.
Mar 27, 2021
06:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 27, 2021
06:48 PM
Hello,
I am trying to establish SPI communication with TLF35584 device on my AURIX TC37X MCU. I want to first ensure my read commands to TLF35584 are working before I can continue with the device configuration.
I am sending a read command to TLF35584 device, however I am not sure if the data coming back from TLF device is good or not. I wish there was a simple device version check which I could have used to verify the read command is ok.
In my test I am sending Read Command to SBC = 0x4E00 (Read DEVSTAT)
Response from SBC = 0x81F3
Cmd = 1
D7 = DEVSTAT = 1
D6 = DEVSTAT = 1
D5 = DEVSTAT[COMEN] = 1
D4 = DEVSTAT[STBYEN] = 1
D3 = DEVSTAT[VREFEN] = 1
D2-DO = DEVSTAT[STATE] = 01
Parity = 1
Does this data makes sense ? Is my communication ok ?
I am trying to establish SPI communication with TLF35584 device on my AURIX TC37X MCU. I want to first ensure my read commands to TLF35584 are working before I can continue with the device configuration.
I am sending a read command to TLF35584 device, however I am not sure if the data coming back from TLF device is good or not. I wish there was a simple device version check which I could have used to verify the read command is ok.
In my test I am sending Read Command to SBC = 0x4E00 (Read DEVSTAT)
Response from SBC = 0x81F3
Cmd = 1
D7 = DEVSTAT = 1
D6 = DEVSTAT = 1
D5 = DEVSTAT[COMEN] = 1
D4 = DEVSTAT[STBYEN] = 1
D3 = DEVSTAT[VREFEN] = 1
D2-DO = DEVSTAT[STATE] = 01
Parity = 1
Does this data makes sense ? Is my communication ok ?
Solved! Go to Solution.
1 Solution
Mar 29, 2021
09:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 29, 2021
09:04 AM
3 Replies
Mar 29, 2021
07:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 29, 2021
07:27 AM
Any feedback on this topic, will be appreciated.
Thanks,
Thanks,
Mar 29, 2021
09:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 29, 2021
09:04 AM
The value seems be valid (voltages enabled and state is INIT_STATE).
Dec 28, 2021
06:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 28, 2021
06:56 AM
Hi,
The given value may refer to the (0x0Eh)RWDCFG1 register and not (0x27h) DEVSTAT. This is evidenced by the return value. After the reset, the value of this wine register should be 0x0 (reset Values 0h) from the documentation, so it should be something like 0x8001. For reading you need the command 'cmd' = 0x01h added in the highest bits. Page 162 of the man page.