cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1

yaga_3967241
New Contributor II

Hi,

The parts we are using is PSoC LP5:  CY8C5467AXI-LP108.

We are trying to get information from a battery that only supports SMBus. Can I use I2c component as SMBus master to communicate to the battery? If yes, what should be the tricks and limitations, such as I cannot set data rate to 400k, right?

Thanks,

Winston

0 Likes
1 Solution
RodolfoGL
Employee

Yes, you can. The I2C master will not have the timeout embedded feature in the component, but since you are the master, this is not a big deal. You can implement your own timeout mechanism.

The I2C API also doesn't support pages and commands, so you might want to build some high level functions on top of the I2C API.

View solution in original post

0 Likes
2 Replies
Len_CONSULTRON
Honored Contributor II

Winston,

I'm not a I2C or SMBus expert by any means.

Have you checked out the SMBus component resource already available?

Len_CONSULTRON_0-1629549756653.png

 

Len
"Engineering is an Art. The Art of Compromise."
0 Likes
RodolfoGL
Employee

Yes, you can. The I2C master will not have the timeout embedded feature in the component, but since you are the master, this is not a big deal. You can implement your own timeout mechanism.

The I2C API also doesn't support pages and commands, so you might want to build some high level functions on top of the I2C API.

View solution in original post

0 Likes