mpc5748g i2c

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

mpc5748g i2c

911 次查看
dingle
Contributor II

Hello,I'm using mpc5748g to learn.Now I try to operate LM75BD by i2c,but I don't know how to select module clock.Please give me some advice.

0 项奖励
2 回复数

722 次查看
david_diaz
NXP Employee
NXP Employee

Hello,

In regard with the addressing, the LM75B slave address on the I2C-bus is partially defined by the logic applied to the device address pins A2, A1 and A0. Each of them is typically connected either to GND for logic 0, or to VCC for logic 1.

So, based on your A0-A2 pins configuration, the address will be composed as follow:

pastedImage_2.png

The complete protocol for writing and reading the registers are mentioned on the chapter 7.10 from the datasheet.

Please let me know if you have any further question.

Regards,

David

0 项奖励

722 次查看
dingle
Contributor II

Hello

When I'm suing S32 to study mpc5748g,It needs uncensorpassword.But I don't know how to get this?And how to enter password in GDB.Please help me in detail.Thank you very much.

0 项奖励