Just an example about using SPI

Dear All,

I'm working on SPI communication on two LPC2138. I prepared a board based on MCB2130 and just want that first LPC2138 works as Master and second works as Slave. I want to make them communicate as bi-directional and via interrupt. Could you please give me an example works on Realview Compiler? I couldn't make work the example spi file in lpc21xx_insidersguide.zip
I also couldn't make work which is listed in philips LPC2138 pages.

Opti

Parents
  • ... and failed to get them working.

    What makes you think that just taking another example will be any more successful?

    Don't you think it would be more productive to try to find out why the 2 examples so far don't work?

    eg, if there is a fault or basic design flaw in your hardware, then no example is going to work!

    You need to learn how to Debug!
    See www.8052.com/.../120313 for some tips...

Reply
  • ... and failed to get them working.

    What makes you think that just taking another example will be any more successful?

    Don't you think it would be more productive to try to find out why the 2 examples so far don't work?

    eg, if there is a fault or basic design flaw in your hardware, then no example is going to work!

    You need to learn how to Debug!
    See www.8052.com/.../120313 for some tips...

Children
More questions in this forum