05-15-2019 04:50 AM
Solved! Go to Solution.
05-16-2019 01:56 AM
Hi fpk.
Please refer to this url http://www.ni.com/tutorial/5767/en/
I believe you already made sure multi-slave wiring. If you have a ploblem with wiring you should see the figure 3-6 in this url http://www.ni.com/pdf/manuals/371746c.pdf
Typically I2C frame has slave address bits. so you should set the address and address size using ni 845x configuration property node.
05-16-2019 04:19 AM
Thank you cjh9162
I have checked the manual and tutorial, which was quite helpful.
As mentioned in the tutorial for multiple slaves have to set the CS bit.
I don't know how to set the chip bits in I2C configuration property node. I couldn't find any option.
05-16-2019 09:25 PM
Hi fpk.
There is no CS property. Because the slave address is a combination of control code bits and the CS. Please refer to the addressing structure in this url https://en.wikipedia.org/wiki/I%C2%B2C
NI tutorial is using '1010' MSB for example. This control code means "Storage memory, real-time clock" typically. And if your chip has '010' address. You need to input 0x52(0b 101 0010) with slave address.