12-13-2021 04:17 AM
Hi,
I have USB-8452 controller and want to controller one chip with two CS line and one external ic working on I2C bus.
How can I configure both CS line at the start + I2C bus and acquire one SPI line together with I2C bus on same time.
Example is nice.
S
Solved! Go to Solution.
12-13-2021 09:19 AM
Unfortunately, there is no way to synchronize both SPI and I2C, though you can use them independently but you cannot say/guarantee that both occurred at the same time.
Could you please provide more information on the devices and application requirements to see if there are any alternatives?
12-13-2021 09:37 AM
Hi,
Thank you for reply.
Ok, I do not need "true" synchronisation. It is enough that they are configured at beginning and started one by one in a while loop. I would like to avoid closing task completely and making new with SPI and again new with I2C.
I'm making a test setup to read two chips with SPI and one with I2C interface (ADC for T[°]) so that I can characterize my DUT.
S
12-13-2021 09:42 AM
Yeah, that is possible. You can create the configuration once and use it in the loop without closing.