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

cross mob
kjlee_2215711
Level 2
Level 2
5 questions asked 10 replies posted 10 sign-ins

Hello,


We are using the CYUSB3014 and FX3 SDK v.1.2 UsbSpiDmaMode.

It looks the SPI Tx and Rx are work well but the API function CyU3PDmaChannelWaitForCompletion(&glSpiTxHandle, CY_FX_USB_SPI_TIMEOUT) returns CY_U3P_ERROR_TIMEOUT.

The SSN line can make High(CyU3PSpiSetSsnLine(CyTrue)) after timeout (it should be done immediately when SPI data Tx/Rx complete).
Timeout occurs after a certain period of time after SPI data Tx/Rx is completed.


So, SSN line can not make high (CyU3PSpiSetSsnLine(CyTrue)) after time out, when the SPI data Tx/Rx is finished, it should be done immediately.

What do you think the cause of this problem?

Thank you so much for your help in advance.

 

0 Likes
1 Solution
JayakrishnaT_76
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted

Hello,

Can you please share the SPI traces captured using a logic analyzer for us to check for the issue?

Also, please try using SDK 1.3.4 and let us know if the problem exist with this version of SDK too. FX3 SDK version 1.3.4 is the latest version and we highly recommend you to use this version of SDK for development and testing firmware for FX3.

Best Regards,
Jayakrishna

View solution in original post

0 Likes
1 Reply
JayakrishnaT_76
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted

Hello,

Can you please share the SPI traces captured using a logic analyzer for us to check for the issue?

Also, please try using SDK 1.3.4 and let us know if the problem exist with this version of SDK too. FX3 SDK version 1.3.4 is the latest version and we highly recommend you to use this version of SDK for development and testing firmware for FX3.

Best Regards,
Jayakrishna
0 Likes