SAM3A4C Atmel Corporation, SAM3A4C Datasheet - Page 826

no-image

SAM3A4C

Manufacturer Part Number
SAM3A4C
Description
Manufacturer
Atmel Corporation
Datasheets
Figure 35-49. Slave Node Configuration, NACT = PUBLISH
Figure 35-50. Slave Node Configuration, NACT = SUBSCRIBE
826
826
TXRDY
RXRDY
LINIDRX
US_LINID
US_THR
LINTC
TXRDY
RXRDY
LINIDRX
US_LINID
US_RHR
LINTC
Write
Read
Read
Read
SAM3X/A
SAM3X/A
Break
Break
What comes next depends on the NACT configuration:
Synch
Synch
• 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
– Check the LIN errors
Protected
Protected
Identifier
Identifier
Data 1
Data 2
Data 1
Data 1
Data 1
Data 3
Data N-2
Data N
Data N-1
Data N-1
Data N-1
Data N
Data N
Data N
Checksum
Checksum
11057A–ATARM–17-Feb-12
11057A–ATARM–17-Feb-12

Related parts for SAM3A4C