lpspi interrupt b2b master example code doesn't work iMXRT1050

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

lpspi interrupt b2b master example code doesn't work iMXRT1050

4,694 Views
michaeldkfowler
Contributor IV

I have imported the lpspi_interrupt_b2b_master example for the MIMXRT1050-EVKB. When I changed the SPI transfer size from 64 bytes to 24, it worked. When I changed the transfer size to less than 24, like 16, it didn't work anymore. Why can't I transfer less than 24 bytes?

0 Kudos
Reply
6 Replies

4,678 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello,

I replayed this example on my own, unfortunately, I have the same issue but I tested 8, 15, and 17 transfer sizes, I hope this helps you.

Best regards,
Pavel

0 Kudos
Reply

4,664 Views
michaeldkfowler
Contributor IV

So you will fix the SDK?

0 Kudos
Reply

4,566 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, 

I'm back with feedback this is a temporary patch, please help evaluate it.

One known limitation is, the maximum frame length is 512 bytes, and it is from LPSPI IP limitation when work in non-continuous mode.

If the issue still please let me know.
Pavel

0 Kudos
Reply

4,647 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello,

I will make a report and when I have more information I will contact you.

Best regards,
Pavel

0 Kudos
Reply

4,610 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello,

We are working on this issue, thanks for the report. unfortunately, I don't know how much time would take for the new release.

Best regards,
Pavel

0 Kudos
Reply

1,405 Views
Ravi07011983
Contributor I

Sir,

   We are working on LPSPI  polling b2b master imported SDK example code but we are unable to see the clock and data dout in oscilloscope.

 MIMXRT1170-EVK boards We are using pins are GPIO_AD_28 for LPSPI1_SCK, GPIO_AD_29 for LPSPI1_PCS0, GPIO_AD_30 for LPSPI1_SDO, GPIO_AD_31 for LPSPI1_SDI.Slave IC CC REF U27 LPSPI Flash.

 Request to provide the solution or forward to LPSPI Master full working code.

 

 

0 Kudos
Reply