SPI RX OVERRUN ISSUE

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SPI RX OVERRUN ISSUE

726 Views
balajiravipati
Contributor I

Hi Team,

We are using LPC54102 controller in our design. SPI1 of the controller is interfaced with Ambarella processor which acts as a SPI Master. In LPC54102 controller we are using DMA to transmit and receive data over SPI. When the SPI clk frequency is increased beyond 5MHz we are getting SPI1 RX OVERRUN error. For both the SPI1 DMA channels priority is set to highest(0). If we keep the RX priority low then more RX OVERRUNS happening and when TX priority is low, TX UNDERRUNS are happening.

Tags (1)
0 Kudos
1 Reply

488 Views
jeremyzhou
NXP Employee
NXP Employee

Hi balaji ravipati,

Thank you for your interest in NXP Semiconductor products and 
the opportunity to serve you.
I was wondering if you can share the more information.
1) Whether the issues happens when the SPI clk frequency get the more slower.
2) Would you mind introduce the data frame of the receiving and transferring of the application.
Have a great day,

TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos