| Electronic Components Datasheet Search |
|
ATPL00B Datasheet(PDF) 116 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
ATPL00B Datasheet(HTML) 116 Page - ATMEL Corporation |
|
116 / 152 page ![]() Atmel ATPL00B [datasheet] 43028A-ATPL - 9/12 116 10.5.3 Transmission procedure To send a PLC message, the MCU must follow the transmission procedure outlined in Figure 10-5. The described procedure is independent of the selected operation mode and can be executed with TX interrupt enabled or disabled. The carrier detect signal (P10) must be checked by the MCU before executing the transmission procedure. Figure 10-5. Transmission procedure flowchart At the beginning of the procedure, the MCU must configure the MAC in transmission mode and select the desired operation mode. The decision „More data to send?‟ returns FALSE when there are no more bytes to send in modes without FCS. When FCS is used, the next byte is the highest byte of the FCS field. The process „Change operation mode‟ is optional. When used, it is possible to change the operation mode to compose messages with a complex structure. For example, in a EHS-KONNEX message, the preamble and header fields are sent in BYTE mode without protection and the rest of the message in FEC + FCS mode. MAC STOP cycle Select operation mode TX mode TX interrupt enabled? Wait until TX = 0 false Change operation mode Write data in DATA register Set TX flag More data to send? Wait until END_TX = 0 false RX mode RX procedure More data to send? true Exit interrupt routine or do other tasks Set NMDR bit false Clear NMDR bit RX mode Interrupt type END_TX TX Interrupt INT0 FCSh received? RX Read FCSh from DATA register Read FCSl from DATA register true false Clear RX flag Exit interrupt routine |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |