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 communication problem

Hi!
I am trying to communicate two LPC2214 using SPI, For this I am making One LPC 2214 Master and Transmitting Data using SPI1 and the other LPC is Slave and reciving data using SPI0 Port. Initially for few seconds I am reciving correct data but then data starts corrupting, Why? If I use same SPI port at Both end It is working fine. I have initialized both SPI as said in the data sheet for Master Slave communication. Please Help me! I am in deep trouble now I have almost finalised my hardware and kept these two port free for communication.

Parents
  • hi,

    Some tie before i was doing the same thing using the Microchip IC ,I also face the same kind of problem.
    i was able solved it through the clck sycronization .Because in my application the the data sycronization is lost after 6-10 literations.

    I think it will help ful for you if you check the CLOCK vs DATA syacronization for the reception part

    Thanks,
    Paul

Reply
  • hi,

    Some tie before i was doing the same thing using the Microchip IC ,I also face the same kind of problem.
    i was able solved it through the clck sycronization .Because in my application the the data sycronization is lost after 6-10 literations.

    I think it will help ful for you if you check the CLOCK vs DATA syacronization for the reception part

    Thanks,
    Paul

Children