QSPI sampling point

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
shosha
Level 1
Level 1
First question asked Welcome!

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!

0 Likes
1 Solution

Hello, 

You could refer to the Application note provided in this link .

Kind Regards,
Aiswarya.

View solution in original post

0 Likes
2 Replies
Aiswarya_A
Moderator
Moderator
Moderator
25 likes received 250 sign-ins 50 solutions authored

Hello,
Did you try configuring  A, B and C values in the ECON register?

Regards.

0 Likes

Hello, 

You could refer to the Application note provided in this link .

Kind Regards,
Aiswarya.

0 Likes