Skip to main content
gp73
Associate III
March 26, 2020
Solved

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

  • March 26, 2020
  • 2 replies
  • 1052 views

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

Thanks

    This topic has been closed for replies.
    Best answer by Erwan YVIN

    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

    2 replies

    Erwan YVIN
    Erwan YVINBest answer
    ST Technical Moderator
    March 30, 2020

    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

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
    Giuseppe DI-GIORE
    ST Employee
    May 8, 2020

    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