• @dragontamer@lemmy.world
    link
    fedilink
    English
    1
    edit-2
    5 months ago

    You know that an I2C bus is… a bus… right?

    That means you can attach a lot of things onto the same bus. There’s capacitance limits, but you’re probably fine attaching 8 things or so to the same I2C bus. In theory software supports 127-additional devices to be attached, but by then parasitic capacitance would have wrecked your signal. The slower you run the bus and the higher power (ie: lower resistance on the pull-up resistors) the more stuff you can attach to the I2C bus.


    There’s clearly a UART and SPI on the schematic here. So plenty of things you can use, as well as GPIO. There’s also whatever additional features from the STM32L412


    The real problem is that I2C with 10k pullup resistors at 1.8V will pull… 180,000 nanoamps of current. So I2C absolutely will obliterate your low-power specs. Low-power design is a pain in the ass.