Hello, staff
At present, I am using S32g3 as the I2c master to read the slave information. When the slave address is 7-bit, I can read it normally, but when it is 10-bit, I can't read the information normally. What is the reason? Please help me.
hi,tony_green
Thank you for your reply.
This function should be improved; I will submit this issue to the software team.
Thanks.
BR
Joey
hi, joey.
At present, the slave device supports data input with 10-bit address, but the nxp code only supports 8-bit number input. If I want to read and write data to 0x123 10 bit address, how should I write the code?
Is it as shown in the figure below, but I can't find this signal on the slave. Is there something wrong?
hi,tony_green
Thank you for your informaiton.
You can try to check the function of I2c_AsyncTransmit(0U, &pRequestSend);.
Then, it uses the function of I2c_Ip_MasterTransmitAddress(uint8 Instance) to transmint the address, the setting slave address will be left move one bit. You should make sure your slave that it can get the 10 bit address. And, you also can try to capture the master sending address.
Hope it can help you.
BR
Joey
Hi, Joey.
I use RDB3 development board to test I2C function. The demo is basic example (I2c examples).
When I use RDB3 as the master, I send data to the slave, and there is no ACK reception at this time. I think there is something wrong with the configuration of the master. I don't know where to set the slave to 10bit. Is the configuration in the code correct?
hi,tony_green
Thank you for contacting us.
Do you using RDB3 development board? Which i2c demo in RTD are you using ?
If you use the 10-bit slave address, do you can use get the ACK for slave?
If you can not get the ACK , you should check the address and setting address function correctly.
Hope it can help you.
BR
Joey