IIC Maximum Speed?

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

IIC Maximum Speed?

1,911 次查看
Wings
Contributor I
In the data sheet for a 9S08GT32A it says in the "features" section that the IIC module can clock as high as 100KHz, and yet the control registers allow me to set the clock frequency as high as Fbus/20. I have several peripherals that have a max clock freq of 400KHz, and that's what I want to use. What's stopping me?

I see nothing in the AC Specs about the IIC module at all.
标签 (1)
0 项奖励
回复
2 回复数

763 次查看
Techno
Contributor I
IIC protocol works on the open drain configuration and although the control register allows you to configure the
IIC to work at higher frequencies but the maximum speed at which the IIC  works will depend on the load on the common SCL and SDA bus and the pad delays of these pin.
You should therefore consult the RM and check how much speed is specified for this protocol.If ur datasheet specifies 100 Khz it must be specified for some load. And one more thing IIC is a slow protocol and u have to bear with this bandwidth.


0 项奖励
回复

763 次查看
Alban
Senior Contributor II
Hi Wings,
 
There's never really anything to stop you doing what you want :smileyvery-happy:
You may get reliability trouble in the communication. (lost frames/intermittent errors)
 
Also for I²C high speed the bus load is important, otherwise the signals won't be recognized.
 
If it is for a demo or home use you can try. If it is for production, be careful about analyzing the behaviour accross temperature and voltage to see the behaviour of the MCU and the Data/Clock lines.
 
I haven't done I²C for a while, but maybe the 400kHz works with additional features the module doesn't have ?
 
Cheers,
Alban.
0 项奖励
回复