LPC1769 I2C SCL

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC1769 I2C SCL

859 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by odel1830 on Thu Feb 27 11:53:49 MST 2014
I was wondering if you had to enable the SCL on I2C in order for it to clock or does it have a default that it clocks at?
Labels (1)
0 Kudos
Reply
1 Reply

840 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by LabRat on Thu Feb 27 12:32:54 MST 2014
UM10360:

Quote:
19.1 Basic configuration
The I2C0/1/2 interfaces are configured using the following registers:
1. Power: In the PCONP register (Table 46), set bit PCI2C0/1/2.
Remark: On reset, all I2C interfaces are enabled (PCI2C0/1/2 = 1).
2. Clock: In PCLKSEL0 select PCLK_I2C0; in PCLKSEL1 select PCLK_I2C1 or
PCLK_I2C2 (see Section 4.7.3).



So after switching I2C on in PCONP I2C clock is enabled with default setting in PCLKSEL1(0=CCLK).
In PCLKSEL1 you can select a slower clock (CCLK/2,CCLK/4 or CCLK/8)...
0 Kudos
Reply