MPC5777 Power Architecture SPI Driver baud rate(1Mhz) problem

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

MPC5777 Power Architecture SPI Driver baud rate(1Mhz) problem

350 Views
Macar
Contributor III

I am using NXP\S32DS_Power_v2.1 as BSP. When I use SPI baud rate as 1Mhz via spi_pal, communication does not work properly, interrupt does not come properly, but works fine under 700kHZ. my Current SPI Configuration;

.baudRate = 700000, .ssPolarity = SPI_ACTIVE_LOW, .continuousSS = true, .frameSize = 8, .clockPhase = READ_ON_ODD_EDGE, .clockPolarity = SPI_ACTIVE_HIGH, .bitOrder = SPI_TRANSFER_MSB_FIRST, .transferType = SPI_USING_INTERRUPTS, .rxDMAChannel = 255U, .txDMAChannel = 255U, .callback = NULL, .callbackParam = NULL, .ssPin = 0, .extension = NULL

 

using this API's *SPI_MasterInit(, ,); *SPI_MasterTransfer(, , , ,);

0 Kudos
1 Reply

325 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

What you have connected on the slave side? It is quite high frequency, this way it is rather used only on short distances, for instance directly over PCB traces.

0 Kudos