Announcements

Robots are revolutionizing our lives in many ways. Join our webinar to learn about Infineon’s broad portfolio of robot building blocks.
Click here to register.

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

AURIX™ Forum Discussions

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 Reply
Aiswarya
Moderator
Moderator
Moderator
50 replies posted 100 sign-ins 10 solutions authored

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

Regards.

0 Likes
This widget could not be displayed.