EM250
?
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.2
I 2 C Master Mode
The SC2 I 2 C controller is only available in master mode. The SC2 I 2 C controller is enabled with SC2_MODE set to
3. The I 2 C Master controller supports Standard (100kbps) and Fast (400kbps) I 2 C modes. Address arbitration is
not implemented, so multiple master applications are not supported. The I 2 C signals are pure open-collector
signals, and external pull-up resistors are required.
The SC2 I 2 C mode has the following features:
?
?
Programmable clock frequency (400kHz max.)
7- and 10-bit addressing
The following signals can be made available on the GPIO pins:
?
?
SDA (serial data)
SCL (serial clock)
The I 2 C Master controller obtains its reference clock from a programmable clock generator. Clock rates are set
by a clock division ratio from the 24MHz clock:
Nominal Rate = 24MHz / ( 2 * (LIN + 1) * 2 EXP )
EXP is written to the SC2_RATEEXP register and LIN to the SC2_RATELIN register. Table 26 shows the rate
settings for Standard I 2 C (100kbps) and Fast I 2 C (400kbps) operation.
Table 26. I 2 C Nominal Rate Programming
Nominal Rate
100kbps
375kbps
400kbps
SC2_RATELIN
14
15
14
SC2_RATEEXP
3
1
1
Note that, at 400kbps, the I 2 C specification requires the minimum low period of SCL to be 1.3μs. To be strictly
I 2 C compliant, the rate needs to be lowered to 375kbps.
The I 2 C Master controller supports generation of various frame segments defined by the register bits
SC_I2CSTART , SC_I2CSTOP , SC_I2CSEND , and SC_I2CRECV within the SC2_I2CCTRL1 register. Table 27
summarizes these frames.
Full I 2 C frames have to be constructed under software control by generating individual I 2 C segments. All
necessary segment transitions are shown in Figure 7. ACK or NACK generation of an I 2 C receive frame segment
is determined with the register bit SC_I2CACK in the SC2_I2CCTRL2 register.
Generation of a 7-bit address is accomplished with one transmit segment. The upper 7 bits of the transmitted
character contain the 7-bit address. The remaining lower bit contains the command type (“read” or “write”).
Generation of a 10-bit address is accomplished with two transmit segments. The upper 5 bits of the first
transmit character must be set to 0x1E . The next 2 bits are for the 2 most significant bits of the 10-bit
address. The remaining lower bit contains the command type (“read” or “write”). The second transmit
segment is for the remaining 8 bits of the 10-bit address.
120-0082-000V Rev 1.1
Page 66
相关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