EM250
receive overrun occur during DMA operation, the SC1_RXERRA/B registers mark the error-offset. The RX FIFO
hardware generates the INT_SCRXOVF interrupt, but the DMA register will not indicate the error condition
until the RX FIFO is drained. Once the DMA marks a RX error, there are two conditions that will clear the error
indication: setting the appropriate SC_TX/RXDMARST bit in the SC1_DMACTRL register, or loading the
appropriate DMA buffer after it has unloaded.
Interrupts are generated on the following events:
?
?
?
?
?
?
?
?
Transmit FIFO empty and last character shifted out (0 to 1 transition of SC1_UARTTXIDLE )
Transmit FIFO changed from full to not full (0 to 1 transition of SC1_UARTTXFREE )
Receive FIFO changed from empty to not empty (0 to 1 transition of SC1_UARTRXVAL )
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 )
Character received with Parity error
Character received with Frame error
Received and lost character while receive FIFO was full (Receive overrun error)
To generate interrupts to the CPU, the interrupt masks in the INT_SC1CFG and INT_CFG registers must be
enabled.
5.2.2
SPI Master Mode
The SPI mode of the SC1 is master mode only. It has a fixed word length of 8 bits. The SC1 SPI controller is
enabled with SC1_MODE set to 2 and register bit SC_SPIMST set in the SC1_SPICFG register.
The SPI mode has the following features:
?
?
?
?
Full duplex operation
Programmable clock frequency (12MHz max.)
Programmable clock polarity and clock phase
Selectable data shift direction (either LSB or MSB first)
The following signals can be made available on the GPIO pins:
?
?
?
MO (master out)
MI (master in)
MCLK (serial clock)
The SC1 SPI module obtains its reference clock from a programmable clock generator. Clock rates are set by a
clock division ratio from the 24MHz clock:
rate = 24MHz / ( 2 * (LIN + 1) * 2 EXP )
EXP is written to the SC1_RATEEXP register and LIN to the SC1_RATELIN register. Since the range for both
values is 0 to 15, the fastest data rate is 12Mbps and the slowest rate is 22.9bps.
The SC1 SPI master supports various frame formats depending upon the clock polarity ( SC_SPIPOL ), clock
phase ( SC_SPIPHA ), and direction of data ( SC_SPIORD ) (see Table 21). The register bits SC_SPIPOL ,
SC_SPIPHA , and SC_SPIORD are defined within the SC1_SPICFG register.
120-0082-000V Rev 1.1
Note:
Switching the SPI configuration from SC_SPIPOL=1 to SC_SPIPOL=0 without subsequently setting
SC1_MODE=0 and reinitializing the SPI will cause an extra byte ( 0xFE ) to be transmitted immediately
before the first intended byte.
Page 42
相关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