Using Protocol SMBus with i2c

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

cross mob
Elec_stud
Level 1
Level 1
First reply posted First question asked Welcome!

Hello,

I'm developing a communication between a PC and a battery written in C. 

It will work like that : Battery <-> (SMbus) <-> CY8CPLC20-48LTXI <-> (PLC)<-> PC 

I'm currently using PSoC designer 5.4 and MiniProg1 and i want  to receive data with the computer (with PLC control panel from what i have seen from an application note?)

My question is : My current MCU doesn't have SMbus module but it has i2c module. So can i use i2c module and add some code to create an SMbus protocol ? Because i know that SMbus is a derivative of i2c. 

If you have some examples or advice i will take it !

Thanks you in advance for your response.

0 Likes
4 Replies
Len_CONSULTRON
Level 9
Level 9
Beta tester 500 solutions authored 1000 replies posted

Elec_stud,

The PSoC3, PSoC4 and PSoC5 have an SMBus/PMBus Slave component to simplify design.

Does this answer your question?

Elec_stud:  Is this short for "Electronics Student" or just bragging?

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

Hi Len,

First thanks for the reply !

About SMbus/PMBus Slave component, my MCU (CY8CPLC20-48LTXI) doesn't have this module. It only have i2c and i tried to find a solution to add SMBus but i didn't find anything !

(Furthermore CY8CPLC20-48LTXI is a PSoC1 ?)

 

By  the way, yes Elec_stud is for " Electronics Student ". 

 

0 Likes

Hello @Elec_stud ,

Unfortunately, SMBUS library / User Module is not available for CY8CPLC20-48LTXI. Since this is a mature product, we do not plan to make SMBUS library for this part.

Best regards,

Sampath Selvaraj

0 Likes
Len_CONSULTRON
Level 9
Level 9
Beta tester 500 solutions authored 1000 replies posted

Elec_stud,

I'm not familiar with the CY8CPLC20-48LTXI part.

However my response was in relation to the forum you posted in: 

PSoC 5, 3 & 1 MCU

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