How to test SPI interface between two boards using LPC55S69 EVK

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

How to test SPI interface between two boards using LPC55S69 EVK

Jump to solution
1,322 Views
sushmasan
Contributor II

Hello Team,

I am using LPC55S69 EVK, just wanted to check, how can I test SPI interface between two different boards, treating one as master and other as slave?

Please provide me few pointers.

Regards,
San

 

0 Kudos
Reply
1 Solution
1,278 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @sushmasan 

Yes, you can. Just follow the readme under SDK example to connect hardware and run code.

For example SPI_interrupt demo. Hardware connection as below:

Alice_Yang_0-1725615568875.png

 

BR

Alice

 

View solution in original post

4 Replies
1,289 Views
sushmasan
Contributor II

Hello @Alice_Yang ,

Sorry, I missed to add more details in my previous question.

Still I am figuring out about the other hardware. Meanwhile I am trying to test SPI, I2C interfaces.

Can I able to use SPI, I2C communication between two different LPC55S69 EVK's? How can I do that?

Regards,
San

0 Kudos
Reply
1,279 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @sushmasan 

Yes, you can. Just follow the readme under SDK example to connect hardware and run code.

For example SPI_interrupt demo. Hardware connection as below:

Alice_Yang_0-1725615568875.png

 

BR

Alice

 

1,231 Views
sushmasan
Contributor II

Hi @Alice_Yang ,

Thank you so much. It is really helpful. I didn't realize that there is a readme file. After checking the directory structure, I saw there is a doc folder which contained the readme file.

Regards,
San

0 Kudos
Reply
1,299 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @sushmasan 

What's your other board? For LPC55s69 side, there is SPI master/slave demo under SDK. You can use it. Download SDK from: https://mcuxpresso.nxp.com/en/select  

Alice_Yang_0-1725507051160.png

 

BR

Alice

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1947482%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHow%20to%20test%20SPI%20interface%20between%20two%20boards%20using%20LPC55S69%20EVK%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1947482%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20Team%2C%3C%2FP%3E%3CP%3EI%20am%20using%20LPC55S69%20EVK%2C%20just%20wanted%20to%20check%2C%20how%20can%20I%20test%20SPI%20interface%20between%20two%20different%20boards%2C%20treating%20one%20as%20master%20and%20other%20as%20slave%3F%3C%2FP%3E%3CP%3EPlease%20provide%20me%20few%20pointers.%3C%2FP%3E%3CP%3ERegards%2C%3CBR%20%2F%3ESan%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1950119%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20How%20to%20test%20SPI%20interface%20between%20two%20boards%20using%20LPC55S69%20EVK%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1950119%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F27788%22%20target%3D%22_blank%22%3E%40Alice_Yang%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3EThank%20you%20so%20much.%20It%20is%20really%20helpful.%20I%20didn't%20realize%20that%20there%20is%20a%20readme%20file.%20After%20checking%20the%20directory%20structure%2C%20I%20saw%20there%20is%20a%20doc%20folder%20which%20contained%20the%20readme%20file.%3C%2FP%3E%3CP%3ERegards%2C%3CBR%20%2F%3ESan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1948956%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20How%20to%20test%20SPI%20interface%20between%20two%20boards%20using%20LPC55S69%20EVK%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1948956%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F221349%22%20target%3D%22_blank%22%3E%40sushmasan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYes%2C%20you%20can.%20Just%20follow%20the%20readme%20under%20SDK%20example%20to%20connect%20hardware%20and%20run%20code.%3C%2FP%3E%0A%3CP%3EFor%20example%20SPI_interrupt%20demo.%20Hardware%20connection%20as%20below%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Alice_Yang_0-1725615568875.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Alice_Yang_0-1725615568875.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F297571i31BF0C95409221B9%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Alice_Yang_0-1725615568875.png%22%20alt%3D%22Alice_Yang_0-1725615568875.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EAlice%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1948295%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20How%20to%20test%20SPI%20interface%20between%20two%20boards%20using%20LPC55S69%20EVK%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1948295%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F27788%22%20target%3D%22_blank%22%3E%40Alice_Yang%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3ESorry%2C%20I%20missed%20to%20add%20more%20details%20in%20my%20previous%20question.%3C%2FP%3E%3CP%3EStill%20I%20am%20figuring%20out%20about%20the%20other%20hardware.%20Meanwhile%20I%20am%20trying%20to%20test%20SPI%2C%20I2C%20interfaces.%3C%2FP%3E%3CP%3ECan%20I%20able%20to%20use%20SPI%2C%20I2C%20communication%20between%20two%20different%20LPC55S69%20EVK's%3F%20How%20can%20I%20do%20that%3F%3C%2FP%3E%3CP%3ERegards%2C%3CBR%20%2F%3ESan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1947764%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20How%20to%20test%20SPI%20interface%20between%20two%20boards%20using%20LPC55S69%20EVK%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1947764%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F221349%22%20target%3D%22_blank%22%3E%40sushmasan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhat's%20your%20other%20board%3F%20For%20LPC55s69%20side%2C%20there%20is%20SPI%20master%2Fslave%20demo%20under%20SDK.%20You%20can%20use%20it.%20Download%20SDK%20from%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fmcuxpresso.nxp.com%2Fen%2Fselect%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmcuxpresso.nxp.com%2Fen%2Fselect%3C%2FA%3E%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Alice_Yang_0-1725507051160.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Alice_Yang_0-1725507051160.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F297229i6F5EC38995D7570E%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Alice_Yang_0-1725507051160.png%22%20alt%3D%22Alice_Yang_0-1725507051160.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EAlice%3C%2FP%3E%3C%2FLINGO-BODY%3E