xe8802 Semtech Corporation, xe8802 Datasheet - Page 111

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
5- Wait for the end of transmission, i.e. SpiRxFull flag is one or the interrupt of the receiver is asserted.
6- Write 1 to the SpiTxEmpty bit to load the shift register with the value inside the RegSpiDataOut register and to
start the byte transmission. The SPI SpiTxEmpty flag toggles back high.
7- Read RegSpiDataIn. The SpiRxFull flag returns to 0.
8- Write the next data to send in the RegSpiDataOut register. The SpiTxEmpty flag toggles low.
9- Jump to 5.
16.6.2 Slave mode
The following routine must be executed by the CoolRISC in order to run properly the SPI interface in slave mode:
1- Write RegSpiControl to enable the SPI interface and to configure the slave mode and communication settings
(as configured in the master device).
2- Write the data to send in the RegSpiDataOut register. The SpiTxEmpty flag toggles low.
3- Write 1 to SpiTxEmpty bit to load the shift register with the value of the RegSpiDataOut register. The
SpiTxEmpty flag toggles back high. This load is only required for the first byte to transmit after nresetglobal. It is
automatic for the following bytes.
4- Write the next data to send in the RegSpiDataOut register. The SpiTxEmpty flag toggles low.
5- Wait for the end of transmission, i.e. the SpiRxFull flag is one or the interrupt of the receiver asserted. The shift
register is automatically loaded with the value inside the RegSpiDataOut register and the SpiTxEmpty flag toggles
back high.
6- Read RegSpiDataIn. The SpiRxFull flag returns to 0.
7- Write the next data to send in the RegSpiDataOut register. The SpiTxEmpty flag toggles low.
8- Jump to 5.
16.6.3 General purpose port.
This mode is enabled when SpiEnable value is 0 (default value).
The SPI dedicated pads are used as a general purpose 4 bit input/output digital port. Next figure shows the
structure of the SPI in this mode.
© Semtech 2006
XE8802 Sensing Machine Data Acquisition MCU
NORMAL OPERATION
NORMAL OPERATION
INITIALIZATION
16-8
with ZoomingADC™ and LCD driver
www.semtech.com

Related parts for xe8802