Datasheet

SAM9G20
DS60001516A-page 36 2017 Microchip Technology Inc.
9.4 Embedded Peripherals
9.4.1 Serial Peripheral Interface
Supports communication with serial external devices
- Four chip selects with external decoder support allow communication with up to 15 peripherals
- Serial memories, such as DataFlash and 3-wire EEPROMs
- Serial peripherals, such as ADCs, DACs, LCD Controllers, CAN Controllers and Sensors
- External co-processors
Master or slave serial peripheral bus interface
- 8- to 16-bit programmable data length per chip select
- Programmable phase and polarity per chip select
- Programmable transfer delays between consecutive transfers and between clock and data per chip select
- Programmable delay between consecutive transfers
- Selectable mode fault detection
Very fast transfers supported
- Transfers with baud rates up to MCK
- The chip select line may be left active to speed up transfers on the same device
9.4.2 Two-wire Interface
Compatibility with standard two-wire serial memory
One, two or three bytes for slave address
Sequential read/write operations
Supports either master or slave modes
Compatible with standard two-wire serial memories
Master, multi-master and slave mode operation
Bit rate: up to 400 Kbits
General Call supported in slave mode
Connection to Peripheral DMA Controller (PDC) capabilities optimizes data transfers in master mode only
- One channel for the receiver, one channel for the transmitter
- Next buffer support
9.4.3 USART
Programmable Baud Rate Generator
5- to 9-bit full-duplex synchronous or asynchronous serial communications
- 1, 1.5 or 2 stop bits in Asynchronous Mode or 1 or 2 stop bits in Synchronous Mode
- Parity generation and error detection
- Framing error detection, overrun error detection
- MSB- or LSB-first
- Optional break generation and detection
- By 8 or by-16 over-sampling receiver frequency
- Hardware handshaking RTS-CTS
- Optional modem signal management DTR-DSR-DCD-RI
- Receiver time-out and transmitter timeguard
- Optional Multi-drop Mode with address generation and detection
- Optional Manchester Encoding
RS485 with driver control signal
ISO7816, T = 0 or T = 1 Protocols for interfacing with smart cards
- NACK handling, error counter with repetition and iteration limit
IrDA modulation and demodulation
- Communication at up to 115.2 Kbps
•Test Modes
- Remote Loopback, Local Loopback, Automatic Echo
The USART contains features allowing management of the Modem Signals DTR, DSR, DCD and RI. In the SAM9G20, only the USART0
implements these signals, named DTR0, DSR0, DCD0 and RI0.