XE8000EV104 Semtech, XE8000EV104 Datasheet - Page 80

EVAL BOARD FOR XE8805AMI028LF

XE8000EV104

Manufacturer Part Number
XE8000EV104
Description
EVAL BOARD FOR XE8805AMI028LF
Manufacturer
Semtech
Type
MCUr
Datasheets

Specifications of XE8000EV104

Contents
Fully Assembled Evaluation Board
For Use With/related Products
XE88LC05AMI028
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
14.8 Software hints
Example of program for a transmission with polling:
1. The RegUartCmd register and the RegUartCtrl register are initialized (for example: 8 bit word length, odd
2. Write a byte to RegUartTx.
3. Wait until the UartTxFull bit in RegUartTxSta register equals 0.
4. Jump to 2 to write the next byte if the message is not finished.
5. End of transmission.
Example of program for a transmission with interrupt:
1. The RegUartCmd register and the RegUartCtrl register are initialized (for example: 8 bit word length, odd
2. Write a byte to RegUartTx.
3. After an interrupt and if the message is not finished, jump to 2
4. End of transmission.
Example of program for a reception with polling:
1. The RegUartCmd register and the RegUartCtrl register are initialized (for example: 8 bit word length, odd
2. Wait until the UartRxFull bit in the RegUartRxSta register equals 1.
3. Read the RegUartRxSta and check if there is no error.
4. Read data in RegUartRx.
5. If data is not equal to End-Of-Line, then jump to 2.
6. End of reception.
Example of program for a reception with interrupt:
1. The RegUartCmd register and the RegUartCtrl register are initialized (for example: 8 bit word length, odd
2. When there is an interrupt, jump to 3
3. Read RegUartRxSta and check if there is no error.
4. Read data in RegUartRx.
5. If data is not equal to End-Of-Line, then jump to 2.
6. End of reception.
© Semtech 2006
parity, 9600 baud, enable Uart transmission).
parity, 9600 baud, enable Uart transmission).
parity, 9600 baud, enable Uart reception).
parity, 9600 baud, enable Uart reception).
14-7
XE8805/05A
www.semtech.com

Related parts for XE8000EV104