Hi,
I am using the i2c_pal project for S32K144EVB which uses FLEXIO for the I2C Master and LPI2C0 as the salve.
I would like to reconfigure to use LPI2C1 as the Slave please.
When i choose the drop down in processor expert for the resource i can only choose FLEXIO or LPI2C0 which are both already in use.
Im sure its a case of adding a new resource in processor expert but i cant figure out how.
Project attached for reference. Thanks
Rich
Solved! Go to Solution.
Hi Rich,
Sorry, only S32K148 has 2 LPI2C instances.
FlexIO driver only supports master mode. This is why you can not configure FlexIO_I2C as Slave.
Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
OKay, so i now realise there is only one LPI2C BUS for use, However, I would like to swap the example so that the master is LPI2C and slave is FLEXIO.
Is it as simple as changing the "Device" in the i2c1 and i2c2 components? i have tried this and although i can swap the device resource, it removes the slave tick box from the i2c1 slave configuration and puts a stike through along the entire line, if i try to re-enable the tickbox it only momentarily takes the tick and then removes it striking through the option again.
Any ideas?
Thakns
Rich
Hi Rich,
Sorry, only S32K148 has 2 LPI2C instances.
FlexIO driver only supports master mode. This is why you can not configure FlexIO_I2C as Slave.
Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------