AT91SAM9G45-EKES Atmel, AT91SAM9G45-EKES Datasheet - Page 611

KIT EVAL FOR AT91SAM9G45

AT91SAM9G45-EKES

Manufacturer Part Number
AT91SAM9G45-EKES
Description
KIT EVAL FOR AT91SAM9G45
Manufacturer
Atmel
Series
AT91SAM Smart ARMr
Type
MCUr

Specifications of AT91SAM9G45-EKES

Contents
Board
Processor To Be Evaluated
SAM9G45
Data Bus Width
32 bit
Interface Type
I2C, SPI, UART
Maximum Operating Temperature
+ 50 C
Minimum Operating Temperature
- 10 C
Operating Supply Voltage
1.8 V to 3.3 V
For Use With/related Products
AT91SAM9G45
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
Q4626953
Figure 33-48. Master Node Configuration, NACT=IGNORE
33.7.8.21
6438F–ATARM–21-Jun-10
TXRDY
RXRDY
US_LINIR
LINTC
Write
Slave Node Configuration
Break
Write NACT, PARDIS, CHKDIS, CHKTYPE, DLCM and DLC in US_LINMR to configure the
frame transfer.
IMPORTANT: if the NACT configuration for this frame is PUBLISH, the US_LINMR register,
must be write with NACT = PUBLISH even if this field is already correctly configured, in order to
set the TXREADY flag and the corresponding PDC write transfer request.
What comes next depends on the NACT configuration:
Header
Synch
• Write TXEN and RXEN in US_CR to enable both the transmitter and the receiver.
• Write USART_MODE in US_MR to select the LIN mode and the Slave Node configuration.
• Write CD and FP in US_BRGR to configure the baud rate.
• Wait until LINID in US_CSR rises
• Check LINISFE and LINPE errors
• Read IDCHR in US_RHR
• Case 1: NACT = PUBLISH, the LIN controller sends the response
• Case 2: NACT = SUBSCRIBE, the USART receives the response
• Case 3: NACT = IGNORE, the USART is not concerned by the response
– Wait until TXRDY in US_CSR rises
– Write TCHR in US_THR to send a byte
– If all the data have not been written, redo the two previous steps
– Wait until LINTC in US_CSR rises
– Check the LIN errors
– Wait until RXRDY in US_CSR rises
– Read RCHR in US_RHR
– If all the data have not been read, redo the two previous steps
– Wait until LINTC in US_CSR rises
– Check the LIN errors
– Wait until LINTC in US_CSR rises
Protected
Identifier
Data3
Response
space
Frame slot = TFrame_Maximum
Frame
Data 1
Response
Data N-1
Data N
AT91SAM9G45
Checksum
FSDIS=1
space
frame
Inter-
FSDIS=0
611

Related parts for AT91SAM9G45-EKES