mpc5748g i2c

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

mpc5748g i2c

877 Views
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 Kudos
2 Replies

688 Views
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 Kudos

688 Views
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 Kudos