SDK example evkmimxrt1024_lpspi_interrupt_b2b_slave not working

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

SDK example evkmimxrt1024_lpspi_interrupt_b2b_slave not working

Jump to solution
697 Views
sbabu
Contributor III

Hi All,

We are using IMXRT1024 two boards. One as master and other as slave. We are sending some data from master and we see signals on all $ SPI lines. In the slave side we are running the SDK example evkmimxrt1024_lpspi_interrupt_b2b_slave. But we don't see EXAMPLE_LPSPI_SLAVE_IRQHandler getting hit. We are using lpspi4 and updated the code according. Please suggest if any comments to get it working and verify the data. Thanks

Babu

Labels (1)
0 Kudos
Reply
1 Solution
654 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @sbabu,

Are you also seeing the IRQ handler get called when using the default LPSPI1 instance for the slave device, or only when changing to the LPSPI4 instance? What were the changes you made to update the code to the new LPSPI4 module? Are you also receiving data on the slave device and its just the IRQ which doesn't seem to be enabled, or is the RT device no receiving any data at all?

BR,
Edwin.

View solution in original post

0 Kudos
Reply
2 Replies
655 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @sbabu,

Are you also seeing the IRQ handler get called when using the default LPSPI1 instance for the slave device, or only when changing to the LPSPI4 instance? What were the changes you made to update the code to the new LPSPI4 module? Are you also receiving data on the slave device and its just the IRQ which doesn't seem to be enabled, or is the RT device no receiving any data at all?

BR,
Edwin.

0 Kudos
Reply
606 Views
sbabu
Contributor III

@EdwinHz We are able to get it working. Pls consider this as closed

0 Kudos
Reply