From 2e98aa0a32c3f1df1bb0803d78f2fee1b20d678d Mon Sep 17 00:00:00 2001 From: Thomas Stilwell Date: Fri, 19 Jun 2020 21:16:14 -0500 Subject: [PATCH] boards/ikea-tradfri: update documentation regarding LEUART and ICC-1 --- boards/ikea-tradfri/doc.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/boards/ikea-tradfri/doc.txt b/boards/ikea-tradfri/doc.txt index 95d4fa958d..3fa8557e27 100644 --- a/boards/ikea-tradfri/doc.txt +++ b/boards/ikea-tradfri/doc.txt @@ -67,6 +67,7 @@ Pin 1 is on the top-left side with only 6 contacts. | SPI | 0 | USART1 | MOSI: PD15, MISO: PD14, CLK: PD13 | | | Timer | 0 | TIMER0 + TIMER1 | | TIMER0 is used as prescaler (must be adjecent) | | UART | 0 | USART0 | RX: PB15, TX: PB14 | Default STDIO output | +| LEUART | 0 | LEUART0 | RX: PB15, TX: PB14 | Alternate to using UART | ### User interface | Peripheral | Mapped to | Pin | Comments | @@ -92,6 +93,14 @@ Pin 1 is on the top-left side with only 6 contacts. ## Board configuration +### UART selection + +By default the UART peripheral is used for the TX/RX pins, however the pinout +is compatible with LEUART also. You can switch from UART to LEUART by compiling +with `EFM32_USE_LEUART=1`. + +**Note**: LEUART is not working on the ICC-1 module. + ### Clock selection There are several clock sources that are available for the different peripherals. You are advised to read [AN0004.1]