I2C without using CPU

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
MuKa_284621
Level 3
Level 3

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?

0 Likes
5 Replies
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

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.

0 Likes
JiGi_284761
Level 4
Level 4
Welcome!

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.

0 Likes
MuKa_284621
Level 3
Level 3

 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.

0 Likes
crcac_264396
Level 4
Level 4
First like received

 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.

0 Likes
MuKa_284621
Level 3
Level 3

I'm a taker if it could help reduce consumption.

   

 

   

Is it really possible to start and stop by writing to registers?

0 Likes