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

AT91M42800A SPI code

I was wondering if anyone had some sample code to make the SPI on a AT91M42800A to work. I don't understand the functional flow diagram on page 170 of the complete data sheet, which I think I need to implement in code but entirely not too sure.
If anyone has gotten their SPI to work on this chip somehow, I hope you could post your code.
Thanks

  • Dan,
    If you want to hear silence ask a question like "can someone send me some code to make my micro work?" Hardware peripherals can be combined with code to produce subsystems which work in many different ways, all depending on how the developer wants that subsysytem to operate. That's a big mouthful of words but it means that your SPI can be used in many different ways and developers work hard on their code, they're not giving it away. Please post the code which doesn't work and describe the problem in as much detail as possible.

  • Right on,

    I guess what I'm really asking is if someone knows where to find some example code for the at914200a that initializes and sends a few bytes of data over the SPI bus.

    For now I'll check the at91 library. Thanks.