Skip to content

Sercom mix-up #11

@F14V

Description

@F14V

Hi, the variant.h contains the following:

extern SERCOM sercom0;
extern SERCOM sercom1;  // spi
extern SERCOM sercom2;  // spi nina
extern SERCOM sercom3;  // serial2
extern SERCOM sercom4;  // wire
extern SERCOM sercom5;  // serial1

While this documentation has:

  • SERCOM2 for SPI NINA
  • SERCOM3 for MOSI/MISO
  • SERCOM4 for I2C bus
  • SERCOM5 for Serial debugging (USB)

Sercom1 is actually used for the normal SPI interface, Sercom3 is connected to the UART programming port of the NINA module and Sercom5 is the physical UART port, D0 and D1, it's not related to USB.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions