EM250
the error indication: setting the appropriate SC_TX/RXDMARST bit in the SC2_DMACTRL register, or loading the
appropriate DMA buffer after it has unloaded.
Receiving a character always requires transmitting a character. In a case when a long stream of receive
characters is expected, a long sequence of (dummy) transmit characters must be generated. To avoid
software or transmit DMA initiating these transfers (and consuming unnecessary bandwidth), the SPI serializer
can be instructed to retransmit the last transmitted character or to transmit a busy token ( 0xFF ), which is
determined by the register bit SC_SPIRPT in the SC2_SPICFG register. This functionality can only be enabled
(or disabled) when the transmit FIFO is empty and the transmit serializer is idle, as indicated by a cleared
SC_SPITXIDLE register bit in the SC2_SPISTAT register.
Every time an automatic character transmission is started, a transmit underrun is detected (as there is no data
in transmit FIFO) and the register bit INT_SCTXUND in the INT_SC2FLAG register is set. Note that after
disabling the automatic character transmission, the reception of new characters stops and the receive FIFO
holds characters just received.
Note:
The event Receive DMA complete does not automatically mean receive FIFO empty.
Interrupts are generated by one of the following events:
?
?
?
?
?
?
?
Transmit FIFO empty and last character shifted out (0 to 1 transition of SC_SPITXIDLE )
Transmit FIFO changed from full to not full (0 to 1 transition of SC_SPITXFREE )
Receive FIFO changed from empty to not empty (0 to 1 transition of SC_SPIRXVAL )
Transmit DMA buffer A/B complete (1 to 0 transition of SC_TXACTA/B )
Receive DMA buffer A/B complete (1 to 0 transition of SC_RXACTA/B )
Received and lost character while receive FIFO was full (Receive overrun error)
Transmitted character while transmit FIFO was empty (Transmit underrun error)
To generate interrupts to the CPU, the interrupt masks in the INT_SC2CFG and INT_CFG register must be
enabled.
5.3.1.2
SPI Slave Mode
The SC2 SPI Slave controller is enabled with the SC_SPIMST cleared in the SC2_SPICFG register.
The SC2 SPI Slave controller receives its clock from an external SPI master device and supports rates up to
5Mbps.
The SC2 SPI Slave supports various frame formats depending upon the clock polarity ( SC_SPIPOL ), clock phase
( SC_SPIPHA ), and direction of data ( SC_SPIORD ) (see Table 25). The register bits SC_SPIPOL , SC_SPIPHA ,
and SC_SPIORD are defined within the SC2_SPICFG registers.
Note:
Switching the SPI configuration from SC_SPIPOL=1 to SC_SPIPOL=0 without subsequently setting
SC2_MODE=0 and reinitializing the SPI will cause an extra byte ( 0xFE ) to be transmitted immediately
before the first intended byte.
Page 63
120-0082-000V Rev 1.1
相关PDF资料
EM260-BBRD-128K-USART-R EM260 BREAKOUT BOARD
EM35X-NCP-ADD-ON-S EM35X ADD ON KIT
EM6J1T2R MOSFET 2P-CH 20V 200MA EMT6
EM6K6T2R MOSFET 2N-CH 20V 300MA EMT6
EM6K7T2R MOSFET 2N-CH 20V 200MA EMT6
EM6M1T2R MOSFET N/P-CH 30V .1A EMT6
EM6M2T2R MOSFET N/P-CH 20V 200MA EMT6
EMH1303-TL-E MOSFET P-CH 12V 7A EMH8
相关代理商/技术参数
EM250-COMP-XIDE 制造商:Silicon Laboratories Inc 功能描述:COMPILER XIDE FOR EM250 1SEAT
EM250-DEV 功能描述:KIT DEV FOR EM250 RoHS:否 类别:RF/IF 和 RFID >> RF 评估和开发套件,板 系列:InSight 标准包装:1 系列:- 类型:GPS 接收器 频率:1575MHz 适用于相关产品:- 已供物品:模块 其它名称:SER3796
EM250-EK-R 功能描述:KIT EVAL EM250 RF TEST RoHS:是 类别:RF/IF 和 RFID >> 过时/停产零件编号 系列:InSight 标准包装:1 系列:- 类型:用于 200/300 系列的欧盟开发套件 适用于相关产品:Zensys RF 模块 所含物品:开发板,模块,编程器,软件,线缆,电源 其它名称:703-1019Q3225667
EM250-JMP-R 功能描述:KIT JUMP START FOR EM250 RoHS:否 类别:RF/IF 和 RFID >> RF 评估和开发套件,板 系列:JumpStart 标准包装:1 系列:- 类型:GPS 接收器 频率:1575MHz 适用于相关产品:- 已供物品:模块 其它名称:SER3796
EM250-RCM-R 功能描述:EM250 RCM BOARD RoHS:是 类别:RF/IF 和 RFID >> RF 评估和开发套件,板 系列:- 标准包装:1 系列:- 类型:GPS 接收器 频率:1575MHz 适用于相关产品:- 已供物品:模块 其它名称:SER3796
EM250-RTR 功能描述:IC ZIGBEE SYSTEM-ON-CHIP 48-QFN RoHS:是 类别:RF/IF 和 RFID >> RF 收发器 系列:EM250 产品培训模块:Lead (SnPb) Finish for COTS Obsolescence Mitigation Program 标准包装:30 系列:- 频率:4.9GHz ~ 5.9GHz 数据传输率 - 最大:54Mbps 调制或协议:* 应用:* 功率 - 输出:-3dBm 灵敏度:- 电源电压:2.7 V ~ 3.6 V 电流 - 接收:* 电流 - 传输:* 数据接口:PCB,表面贴装 存储容量:- 天线连接器:PCB,表面贴装 工作温度:-25°C ~ 85°C 封装/外壳:68-TQFN 裸露焊盘 包装:管件
EM250-STACK-R 制造商:Silicon Laboratories Inc 功能描述:EM250 BOARD STACK (RCM + BREAKOUT) - Boxed Product (Development Kits) 制造商:Silicon Laboratories Inc 功能描述:BOARD STACK EM250 RCM & BREAKOUT
EM25-12V-DC 制造商:ECLIPSE MAGNETICS 功能描述:HOLDING ELECTRO MAGNET