LPSPI interfacing of MIMXRT1020 EVK with PCF2129 using eDMA.

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

LPSPI interfacing of MIMXRT1020 EVK with PCF2129 using eDMA.

874 Views
emb01_jtronix
Contributor II

I am trying to interface Evk board with PCF2129 USING LPSPI in eDMA mode. I have used cmsis_lpspi_edma_b2b_transfer example as reference , instead of another Evk board as mention in readme document  i am trying to write and read data to/from PCF2129. I am getting all the signals(clock, chip select, MOSI) correctly on DSO but i am not getting any signal on MISO pin so I can't read data. 

What should I do to read data using LPSPI in eDMA mode?

Labels (1)
0 Kudos
Reply
1 Reply

831 Views
victorjimenez
NXP TechSupport
NXP TechSupport

Hello, 

Did you make some modifications to the example? Keep in mind that this project was made to work with two boards, so if you want to interface a PCF2129 you need to make some changes. I highly recommend you to refer section 9 of the PCF2129 datasheet to see how the data transmissions are made. https://www.nxp.com/docs/en/data-sheet/PCF2129.pdf 

Best Regards, 

Victor 

0 Kudos
Reply