LPC1769 I2C SCL

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC1769 I2C SCL

847 次查看
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?
标签 (1)
0 项奖励
回复
1 回复

828 次查看
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 项奖励
回复