SC32442B RISC MICROPROCESSOR
IIC-BUS INTERFACE
20-11
IIC-BUS INTERFACE SPECIAL REGISTERS
MULTI-MASTER IIC-BUS CONTROL (IICCON) REGISTER
Register Address
R/W
Description
Reset
Value
IICCON 0x54000000
R/W
IIC-Bus
control register
0x0X
IICCON Bit
Description
Initial
State
Acknowledge generation
(1)
[7]
IIC-bus acknowledge enable bit.
0 : Disable
1 : Enable
In Tx mode, the IICSDA is free in the ack time.
In Rx mode, the IICSDA is L in the ack time.
0
Tx clock source selection
[6]
Source clock of IIC-bus transmit clock prescaler
selection bit.
0 : IICCLK = f
PCLK
/16
1 : IICCLK = f
PCLK
/512
0
Tx/Rx Interrupt
(5)
[5]
IIC-Bus Tx/Rx interrupt enable/disable bit.
0 : Disable, 1 : Enable
0
Interrupt pending flag
(2) (3)
[4]
IIC-bus Tx/Rx interrupt pending flag. This bit
cannot be written to 1. When this bit is read as 1,
the IICSCL is tied to L and the IIC is stopped. To
resume the operation, clear this bit as 0.
0 : 1) No interrupt pending (when read).
2) Clear pending condition &
Resume the operation (when write).
1 : 1) Interrupt is pending (when read)
2) N/A (when write)
0
Transmit clock value
(4)
[3:0]
IIC-Bus transmit clock prescaler.
IIC-Bus transmit clock frequency is determined
by this 4-bit prescaler value, according to the
following formula:
Tx clock = IICCLK/(IICCON[3:0]+1).
Undefined
Notes:
1. Interfacing with EEPROM, the ack generation may be disabled before reading the last data in order to generate the
STOP condition in Rx mode.
2. An IIC-bus interrupt occurs 1) when a 1-byte transmits or receive operation is completed, 2) when a general call or a slave
address match occurs, or 3) if bus arbitration fails.
3. To adjust the setup time of SDA before SCL rising edge, IICDS has to be written before clearing the IIC interrupt
pending bit.
4. IICCLK is determined by IICCON[6].
Tx clock can vary by SCL transition time.
When IICCON[6]=0, IICCON[3:0]=0x0 or 0x1 is not available.
5. If the IICCON[5]=0, IICCON[4] does not operate correctly.
So, It is recommended that you should set IICCON[5]=1, although you does not use the IIC interrupt.
Содержание SC32442B54
Страница 1: ...SC32442B54 USER S MANUAL Revision 1 0 ...
Страница 43: ...PRODUCT OVERVIEW SC32442B RISC MICROPROCESSOR 1 42 NOTES ...
Страница 59: ...PROGRAMMER S MODEL SC32442B RISC MICROPROCESSOR 2 16 NOTES ...
Страница 123: ...ARM INSTRUCTION SET SC32442B RISC MICROPROCESSOR 3 64 NOTES ...
Страница 167: ...THUMB INSTRUCTION SET SC32442B RISC MICROPROCESSOR 4 44 NOTES ...
Страница 187: ...MEMORY CONTROLLER SC32442B RISC MICROPROCESSOR 5 20 NOTES ...
Страница 250: ...DMA SC32442B RISC MICROPROCESSOR 8 14 NOTES ...
Страница 308: ...PWM TIMER SC32442B RISC MICROPROCESSOR 10 20 NOTES ...
Страница 330: ...UART SC32442B RISC MICROPROCESSOR 11 22 NOTES ...
Страница 417: ...SC32442B RISC MICROPROCESSOR LCD CONTROLLER 15 45 NOTES ...
Страница 427: ...ADC AND TOUCH SCREEN INTERFACE SC32442B RISC MICROPROCESSOR 16 10 NOTES ...
Страница 511: ...BUS PRIORITIES SC32442B RISC MICROPROCESSOR 24 2 NOTES ...
Страница 562: ...K5D2G13ACM D075 Revision 1 0 December 2006 7 MCP MEMORY 2Gb 256Mb x8 NAND Flash Memory A Die ...
Страница 599: ...K5D2G13ACM D075 Revision 1 0 December 2006 44 MCP MEMORY 512Mb 16Mb x32 Mobile SDRAM C Die ...