HD6417144 RENESAS [Renesas Technology Corp], HD6417144 Datasheet - Page 539

no-image

HD6417144

Manufacturer Part Number
HD6417144
Description
32-Bit RISC Microcomputer SuperHTM RISC engine Family/SH7144 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD6417144F50V
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
HD6417144FW50V
Manufacturer:
Renesas Electronics America
Quantity:
10 000
14.4.2
Initialize the IIC following the procedure shown below before starting the data transmission or
reception.
Clear the IRIC flag in ICCR
Initialization
Figure 14.6 An Example of IIC Initialization Flowchart
<<Transmission/reception start>>
No
Read the IRIC flag in ICCR
Set MSTP21 = 0 (MSTCR1)
Set IICE = 1 (SCRX)
Set PBCR1, PBCR2
Set ICE = 0 (ICCR)
Set ICE = 1 (ICCR)
Initialization start
Set SAR, SARX
Set SCRX
Set SCRX
Set ICMR
Set ICCR
Set ICSR
IRIC = 0?
Yes
Cancel module stop mode
Enable the CPU access to the IIC control registerand data
register.
Enable SAR and SARX to be accessed
Set the first slave address, second slave address,and IIC
transfer format
(SVA6 to SVA0, FS, SVAX6 to SVAX0, FSX)
Enable ICMR and ICDR to be accessed
Use SCL/SDA pin as an I
Set acknowledge bit
(ACKB)
Set transfer rate
(IICX)
(MLS, WAIT, and CKS2 to CKS0)
Enable interrupt
(STOPIM and HNDS)
Set interrupt enable, transfer mode, and acknowledge decision
(IEIC, MST, TRS, and ACKE)
Set transfer format, wait insertion, and transfer rate
Rev.4.00 Mar. 27, 2008 Page 495 of 882
14. I
2
C port
2
C Bus Interface (IIC) Option
REJ09B0108-0400

Related parts for HD6417144