Giter Club home page Giter Club logo

Comments (5)

Beetix avatar Beetix commented on May 28, 2024 1

Ok understood. I confirm that the SSD1306 example is working on the Nucleo F303K8 using BitBang I2C.

from modm.

salkinium avatar salkinium commented on May 28, 2024

There are three implemententations of hardware I2C on the STM32 series and we didn't yet implement the one on F3, that's why the modm:platform:i2c module is not available on this target.
Look at the lbuild discover output so see which modules and options are available for your specific target.

The workaround right now is to use the modm:platform:i2c.bitbang module instead (add it to your project.xml):

using Scl = GpioB6;
using Sda = GpioB7;
using Master  = BitBangI2cMaster<Scl, Sda>;
// ...
Master::connect<Scl::BitBang, Sda::BitBang>();

from modm.

salkinium avatar salkinium commented on May 28, 2024

Just checked, the "extended" I2C implementation is missing for all F0, F3 and F7 devices.

from modm.

Beetix avatar Beetix commented on May 28, 2024

Ok, thanks for your fast reply. Is the work on the "extended" implementation of the hardware I2C ongoing work?

from modm.

salkinium avatar salkinium commented on May 28, 2024

Is the work on the "extended" implementation of the hardware I2C ongoing work?

I've developed a bit of a distaste for hardware I2C and its incredibly stateful (and buggy) implementations on AVR and STM32. The BitBang I2C was so much simpler to write. So probably not in the near future.

from modm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.