SPI example

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • SPI example

    Rather than reinvneting the wheel, thought I'd ask if there was an example program, using embOS, for an SPI interface to a peripheral chip. My particular application is for ATmega128 (MISO/MOSI/SCLK/SS). Any suggestions would be greatly appreciated.

    Thanks.
  • Hello,

    there is nearly no difference for your SPI communication with or without embOS.
    You have only to follow the rules for interrupt handlers which are documented in the embOS documentation.
    I guess you will find a lot of sample code for ATmega128 and SPI on the web.

    Regards,
    Til
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.