cancel
Showing results for 
Search instead for 
Did you mean: 

Did someone has developed an i2c driver forr SPC5? (bit bang)

gp73
Associate III

Did someone has developed an i2c driver for SPC56EL70L5 that has no on board specific peripheral?

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Erwan YVIN
ST Employee

Hello ,

There is no I2C HW on SPC56ELx.

I recommend to switch on an other family (B or BC or D)

or to develop your own I2C SW.

example below :

https://github.com/microwan/spc5i2c-lcd

Best regards

Erwan

View solution in original post

2 REPLIES 2
Erwan YVIN
ST Employee

Hello ,

There is no I2C HW on SPC56ELx.

I recommend to switch on an other family (B or BC or D)

or to develop your own I2C SW.

example below :

https://github.com/microwan/spc5i2c-lcd

Best regards

Erwan

Giuseppe DI-GIORE
ST Employee

Hello,

if you download SPC5Studio and look at Chorus family drivers you will find a bit-bang implementation of I2C driver.

Files to look at are called i2c_sw.c/i2c_sw.h