This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SPI LED blink problem. What am I doing wrong ?

Hi. I am new on programming arm products. I am just trying to blink a led by using SPI protocol with LPC2138. But I didn't understan what i am doing wrong.

here is my master code :

here is my slave code : 

actually I took master code from https://www.gadgetronicx.com/spi-protocol-tutorial-arm/ and I tried to write a simple slave code. Sorry for my English.

0