1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/saml11-xpro: update doc for SERCOM1 fuse

SAML11 needs special handling for enabling SERCOM1 on EXT1. Update board documentation accordingly

Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
This commit is contained in:
Dylan Laduranty 2022-07-28 22:03:42 +02:00
parent 0c3f4dc20d
commit b278002a8e
2 changed files with 13 additions and 0 deletions

View File

@ -94,6 +94,8 @@ static const uart_conf_t uart_config[] = {
.gclk_src = SAM0_GCLK_MAIN,
},
{ /* EXT1 */
/* For SAML11, see boards/saml11/doc.txt
* to properly enable this SERCOM */
.dev = &SERCOM1->USART,
.rx_pin = GPIO_PIN(PA, 9),
.tx_pin = GPIO_PIN(PA, 8),

View File

@ -68,6 +68,17 @@ Connect the device to your Micro-USB cable.
The standard method for flashing RIOT to the saml11-xpro is using EDBG.
## Special case
SERCOM1 (available on EXT1 connector) needs an extra step to be usable.
By default, this SERCOM is only available in the secure world. As RIOT
doesn't support it for now, the only option, to use it, is to enable
SERCOM non-secure mode. To do so, a fuse bit must be set in User ROW
flash memory. Such action can be done with the following EDBG command:
'edbg -t saml11 -F w0,194,1'
or pass it as argument when calling make:
EDBG_ARGS="-F w0,194,1" BOARD=saml11-xpro make flash term -C tests/periph_uart
## Supported Toolchains
For using the saml11-xpro board we strongly recommend the usage of the