- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is the data frame format sent to the 35584 and the frame format it returns? The received data doesn't feel right?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please try changing the last argument of SPI_SetupEB to 2 instead of 1 since your using 2 bytes of data to avoid SPI errors.
Please refer to the following sample driver code of TLF35584.
https://github.com/Infineon/AURIX_code_examples/tree/master/code_examples/SPI_TLF_1_KIT_TC397_TFT
Thanks
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please refer Figure 74 "SPI -frame in Normal mode" of datasheet to see the right frame format of SDI and SDO of PMIC SPI Interface.
Reach out to us if you have any further questions.
Thanks
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I sent the data in this format, but the returned data has always been problematic. Hardware automatic odd check is set, MSB, 16-bit data is sent, and the returned data is not clear
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I sent the data in this format, but the returned data has always been problematic. Hardware automatic odd check is set, MSB, 16-bit data is sent, and the returned data is not clear
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please try changing the last argument of SPI_SetupEB to 2 instead of 1 since your using 2 bytes of data to avoid SPI errors.
Please refer to the following sample driver code of TLF35584.
https://github.com/Infineon/AURIX_code_examples/tree/master/code_examples/SPI_TLF_1_KIT_TC397_TFT
Thanks
Anil