| Electronic Components Datasheet Search |
|
HD6432607 Datasheet(PDF) 490 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
HD6432607 Datasheet(HTML) 490 Page - Renesas Technology Corp |
|
490 / 710 page ![]() Section 14 I 2C Bus Interface Rev. 1.00 Jan. 29, 2008 Page 450 of 666 REJ09B0427-0100 14.4.2 Initial Setting At startup the following procedure is used to initialize the IIC. Clear module stop Start initialization Set IICE = 1 (SCRX) Set ICE = 0 (ICCR) Set SAR and SARX Set ICE = 1 (ICCR) Set ICSR Set SCRX Set IMCR Set ICCR Set MSTP4 = 0 (IIC_0) MSTP3 = 0 (IIC_1) (MSTPCRB) Enable CPU access by IIC control register and data register Enable SAR and SARX access Set transfer format for 1st slave address, 2nd slave address, and IIC (SVA8 −SVA0, FS, SVAX6−SVAX0, FSX) Enable IMCR and IMDR access. Use SCL and SDA pins is IIC port Set acknowledge bit (ACKB) Set transfer rate (IICX) Set transfer format, wait insertion, and transfer rate (MLS, WAIT, CKS2 −CKS0) Set interrupt enable, transfer mode, and acknowledge judgment (IEIC, MST, TRS, ACKE) Transmit/receive start Figure 14.6 Flowchart for IIC Initialization (Example) Note: The ICMR register should be written to only after transmit or receive operations have completed. Writing to the ICMR register while a transmit or receive operation is in progress could cause an erroneous value to be written to bit counter bits BC2 to BC0. This could result in improper operation. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |