- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I noticed that when using I2C, we always need to call functions in order for it to operate.
So I'm wondering, is it possible to run I2C without the CPU?
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Might be possible to do a Verilog controlled link, otehrwise
answer is no. You have to start it, command it, error check it,
all thru API's.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Where are you gonna put the program if there is no CPU? 😄
Perhaps you meant without the dedicated I2C hardware in the CPU?
The answer is "Of course you can !"
But why would you want to.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
What I meant to do was to run I2C communication without having to call the APIs (which seems impossible according to Dana).
For what purpose? It's for measuring the consumption of the I2C block.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I should think it could be possible using DMA, to an extent. You if you can start andstop it with CPU, I think you could be able to transfer things DMA. You may even be able to use the DMA to start and stop it by writing to the correct registers... sounds a bitlike a pain.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm a taker if it could help reduce consumption.
Is it really possible to start and stop by writing to registers?