Sercom configuration
Select data frame configuration for serial communication universal synchronous/asynchronous receiver/transmitter (SERCOM USART) on Arduino SAM D21 core boards
Since R2026a
Model Configuration Pane: Hardware Implementation / Hardware board settings / Target hardware resources / Sercom properties
Description
Select the data frame configuration for the SERCOM USART communication. Settings are in
the form SERIAL_nXm. The first digit n indicates the
number of bits in each data packet. The letter X indicates the parity
bits present in the data packet. The second digit m indicates the number
of stop bits in each data packet. For example,
SERIAL_8N1indicates 8-bit data communication with no parity bits and one stop bitSERIAL_5E1indicates 5-bit data communication with even parity bits and one stop bitSERIAL_6O2indicates 6-bit data communication with odd parity bits and two stop bits
The following table lists supported Arduino® SAM D21 boards and associated SERCOM channels.
| Arduino Boards | SERCOM Channel |
|---|---|
| Arduino MKR 1000, Arduino MKR Wi-Fi® 1010, Arduino MKR Zero | SERCOM 2 |
| SERCOM 3 | |
| Arduino Nano 33 IoT | SERCOM 0 |
| SERCOM 4 |
Dependencies
To enable this parameter, set Hardware board to any of the following boards:
Arduino MKR 1000
Arduino MKR Wi-Fi 1010
Arduino MKR Zero
Arduino Nano 33 IoT
Settings
SERIAL_8N1
|
SERIAL_5N1
|
SERIAL_6N1
|
SERIAL_7N1
|
SERIAL_5N2
|
SERIAL_6N2
|
SERIAL_7N2
|
SERIAL_8N2
|
SERIAL_5E1
|
SERIAL_6E1
|
SERIAL_7E1
|
SERIAL_8E1
|
SERIAL_5E2
|
SERIAL_6E2
|
SERIAL_7E2
|
SERIAL_8E2
|
SERIAL_5O1
|
SERIAL_6O1
|
SERIAL_7O1
|
SERIAL_8O1
|
SERIAL_5O2
|
SERIAL_6O2
|
SERIAL_7O2
|
SERIAL_8O2
Default:
SERIAL_8N1
Programmatic Use
| No programmatic use is available. |
Version History
Introduced in R2026a