xe8802 Semtech Corporation, xe8802 Datasheet - Page 96

no-image

xe8802

Manufacturer Part Number
xe8802
Description
Data Acquisition Soc With 16+10 Bit Zoomingadc? Embedded Risc Controller And Lcd Driver
Manufacturer
Semtech Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
xe8802MI035LF
Manufacturer:
TI
Quantity:
8 700
Part Number:
xe8802MI035LF
Manufacturer:
Semtech
Quantity:
10 000
14.8.4
The transmission and reception software can be driven by interruption or by polling the status bits.
Interrupt driven reception: each time an Irq_uart_Rx interrupt is generated, a new word is available in RegUartRx.
The register has to be read before a new word is received.
Interrupt driven transmission: each time the contents of RegUartTx is transferred to the transmission shift register,
an Irq_uart_Tx interrupt is generated. A new word can then be written to RegUartTx.
Reception driven by polling: the UartRxFull bit is to be read and checked. When it is 1, the RegUartRx register
contains new data and has to be read before a new word is received.
Transmission driven by polling: the UartTxFull bit is to read and checked. When it is 0, the RegUartTx register is
empty and a new word can be written to it.
14.9 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 untill the UartTxFull bit in RegUartTxSta register equals 0.
4. Jump to 2 to writing 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.
© Semtech 2006
Asynchronous Reception
read of RegUartRx (software)
parity, 9600 baud, enable Uart transmission).
parity, 9600 baud, enable Uart transmission).
reguartrx_shift
UartRxBusy
Figure 14-2. Uart reception timing diagram.
RegUartRx
Irq_uart_Rx
UartRxFull
shift clock
Interrupt or polling
Rx
start
b0
XE8802 Sensing Machine Data Acquisition MCU
b6/7
14-7
with ZoomingADC™ and LCD driver
parity
stop
word 1
word 1
www.semtech.com

Related parts for xe8802