EM250
(Re)start and stop segments are initiated by setting the register bits SC_I2CSTART or SC_I2CSTOP in the
SC2_I2CCTRL1 register, followed by waiting until they have cleared. Alternatively, the register bit
SC_I2CCMDFIN in the SC2_I2CSTAT can be used for waiting.
For initiating a transmit segment, the data has to be written to the SC2_DATA data register, followed by
setting the register bit SC_I2CSEND in the SC2_I2CCTRL1 register, and completed by waiting until it clears.
Alternatively, the register bit SC_I2CTXFIN in the SC2_I2CSTAT can be used for waiting.
A receive segment is initiated by setting the register bit SC_I2CRECV in the SC2_I2CCTRL1 register, waiting
until it clears, and then reading from the SC2_DATA data register. Alternatively, the register bit SC_I2CRXFIN
in the SC2_I2CSTAT can be used for waiting. Now the register bit SC_I2CRXNAK in the SC2_I2CSTAT register
indicates if a NACK or ACK was received from an I 2 C slave device.
Interrupts are generated on the following events:
?
?
?
?
?
?
Bus command ( SC_I2CSTART/SC_I2CSTOP ) completed (0 to 1 transition of SC_I2CCMDFIN )
Character transmitted and slave device responded with NACK
Character transmitted (0 to 1 transition of SC_I2CTXFIN )
Character received (0 to 1 transition of SC_I2CRXFIN )
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.3
SC2_MODE [0x442A]
Registers
15
0-R
0
0
0-R
7
14
0-R
0
0
0-R
6
13
0-R
0
0
0-R
5
12
0-R
0
0
0-R
4
11
0-R
0
0
0-R
3
10
0-R
0
0
0-R
2
9
0-R
0
0-RW
1
SC2_MODE
8
0-R
0
0-RW
0
SC2_MODE
[1:0]
SC2 Mode: 0 = disabled; 1 = disabled; 2 = SPI mode; 3 = I2C mode.
Note: To change between modes, the previous mode must be disabled first.
SC2_DATA [0x441E]
15
0-R
0
14
0-R
0
13
0-R
0
12
0-R
0
11
0-R
0
10
0-R
0
9
0-R
0
8
0-R
0
SC2_DATA
0-RW
7
0-RW
6
0-RW
5
0-RW
4
0-RW
3
0-RW
2
0-RW
1
0-RW
0
SC2_DATA
120-0082-000V Rev 1.1
[7:0]
Transmit and receive data register. Writing to this register pushes a byte onto the transmit
FIFO. Reading from this register pulls a byte from the receive FIFO.
Page 68
相关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