Skip to content

Description of pins for UART #20

@rkertesz

Description

@rkertesz

There isn't a comment that describes this well enough or non-Charlie boards.
`/*

  • If a Telit-Board Charlie is not in use, the ME310 class needs the Uart Serial instance in the constructor, that will be used to communicate with the modem.\n
  • Please refer to your board configuration in variant.h file.
  • Example:
  • Uart Serial1(&sercom4, PIN_MODULE_RX, PIN_MODULE_TX, PAD_MODULE_RX, PAD_MODULE_TX, PIN_MODULE_RTS, PIN_MODULE_CTS);
  • ME310 myME310 (Serial1);
    */`

I assume that need to define these like so, but I'm a little confused.
#define PIN_MODULE_RX 0 #define PIN_MODULE_TX 1 #define PAD_MODULE_RX 2 #define PAD_MODULE_TX 3 #define PIN_MODULE_RTS 4 #define PIN_MODULE_CTS 5

What is PIN_MODULE_RX vs PAD_MODULE_RX for example?
If I have a generic arduino type device that has a hardware serial port (let's say arduino calls it "Serial") then what would need to be defined for the arduino board to talk to the device (like a Telit module like an ME910G1 on EVK2 or with a Telit Bravo board)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions