Hello,
1.
The lpi2c1.c is generated by Processor Expert. Please, do not modify it.
If you want to change setting click on the lpi2c1:lpi2c component on the right side and after that, you will see the Configuration list.
2.
The 0xAA cannot be set as slave address in 7-bit address mode. The eighth bit is used for the read/write mode.
I hope it helps you.
Best Regards,
Diana
Hello Diana,
thanks for your reply. I would like to know whether the address can be changed by code in this example besides the address setting method you mentioned. For example, write address 0xAA directly.
Best Regards,
Walker
Hi,
You can change the slave address at run-time with LPI2C_DRV_MasterSetSlaveAddr function.
Best regards,
Razvan