I'm using Arduino MKR GSM 1400. I know this board uses Atmel SAMD21 and SAMD21 support half duplex (USART with full-duplex and single-wire half-duplex configuration). My question is, How Can I configure one of the SERCOMs to use it as Half-Duplex (Use one pin for rx and tx)?
Up to six Serial Communication Interfaces (SERCOM), each configurable to operate as either:
- USART with full-duplex and single-wire half-duplex configuration
- I2C up to 3.4 MHz
- LIN slave
It is an error in the overview of the SAM D21 features in the datasheet. The SERCOM is half-duplex for I2C. USART can't be configured half-duplex.
1 Introduction to Serial Communication Interfaces (USART, I2C, and SPI)
... The exchange of data can be half-duplex or fullduplex depending on the serial module specification. ...
... It is full-duplex in operation. ...
... It is half-duplex in communication. ...