- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am facing some issues in changing the sampling point in SPI communication.
I attached the screenshots of SPI data and ECON and BACON register values.
SPI is configured as CPOL = 0, and CPH = 0 (shiftTransmitDataOnLeadingEdge). The data being transmitted is 0x91, 0x20 and 0x91.
The data is on the edge of SCLK high. I want the data settled to correct state before SCLK high can latch the data.
I tried with different LPRE and LEAD values of the BACON register, but it did not change the sampling point.
I have gone through the ‘IfxQspi_calculateExtendedConfigurationValue’ function in iLLD but find it difficult to understand or modify.
Kindly share your comments to fix this issue.
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Did you try configuring A, B and C values in the ECON register?
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content