Hi,
I am using LPC 1837 controller and using Expresso IDE.I am trying to run the SSP demo example for SPI on two LPC boards.Following are my connections for that
Board 1:
=>Configured as Master.
=> P1.5 as SSEL which is connected to SSEL on other LPC 1837 board.
=> PF.4 as SCK1 which is connected to SCLK on other LPC 1837 board.
=> P1.4 as MOSI which is connected to MISO on other LPC 1837 board.
=> P1.3 as MISO which is connected to MOSI on other LPC 1837 board.
Board 2:
=>Configured as Slave.
=> P1.5 as SSEL
=> PF.4 as SCK1
=> P1.4 as MOSI
=> P1.3 as MISO
When I am running the demo application on both the boards and I am getting always buffer_verify() failure.Do I need to do anything beyond these connections or anything to be added in the code.
Regards
srikanth.
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
To provide the fastest possible support, I'd highly recommend you to refer the attachment which contains the master_SSP and slave_SSP demo。
Hope it helps.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------