Atmel SAM4L Xplained Pro Evaluation Kit Atmel ATSAM4L-XPRO ATSAM4L-XPRO Data Sheet

Product codes
ATSAM4L-XPRO
Page of 1204
624
42023E–SAM–07/2013
ATSAM4L8/L4/L2
24.7.2
Mode Register
Name:
MR
Access Type:
Read-write
Offset:
0x04
Reset Value:
0x00000000  
This register can only be written if write protection is disabled in th
(WPMR.WPEN is zero).
• ONEBIT: Start Frame Delimiter Selector
0: The start frame delimiter is a command or data sync, as defined by MODSYNC.
1: The start frame delimiter is a normal start bit, as defined by MODSYNC.
• MODSYNC: Manchester Synchronization Mode
0: The manchester start bit is either a 0-to-1 transition, or a data sync.
1: The manchester start bit is either a 1-to-0 transition, or a command sync.
• MAN: Manchester Encoder/Decoder Enable
0: Manchester endec is disabled.
1: Manchester endec is enabled.
• FILTER: Infrared Receive Line Filter
0: The USART does not filter the receive line.
1: The USART filters the receive line by doing three consecutive samples and uses the majority value.
• MAX_ITERATION
This field determines the number of acceptable consecutive NACKs when in protocol T=0. 
INVDATA: Inverted Data
0: The TXD and RXD transmissions equal the values written to THR and read from RHR. Normal mode of operation.
1: The TXD and RXD transmissions equal the xor’ed values written to THR and read from RHR. Inverted mode of operation, 
parity is accounted for.
• VAR_SYNC: Variable Synchronization of Command/Data Sync Start Frame Delimiter
0: Sync pattern according to MODSYNC.
1: Sync pattern according to THR.TXSYNH.
• DSNACK: Disable Successive NACK
0: NACKs are handled as normal, unless disabled by INACK.
1: The receiver restricts the amount of consecutive NACKs by MAX_ITERATION value. If MAX_ITERATION=0 no NACK will be 
issued and the first erroneous message is accepted as a valid character, setting CSR.ITER.
• INACK: Inhibit Non Acknowledge
0: The NACK is generated. In SPI master mode, transmission is as usual.
1: The NACK is not generated. In SPI master mode, data in THR will not be sent until RXRDY is zero.
• OVER: Oversampling Mode
0: Oversampling at 16 times the baud rate.
31
30
29
28
27
26
25
24
ONEBIT
MODSYNC
MAN
FILTER
MAX_ITERATION
23
22
21
20
19
18
17
16
INVDATA
VAR_SYNC
DSNACK
INACK
OVER
CLKO
MODE9
MSBF/CPOL
15
14
13
12
11
10
9
8
CHMODE
NBSTOP
PAR
SYNC/CPHA
7
6
5
4
3
2
1
0
CHRL
USCLKS
MODE