this post was submitted on 30 Jan 2024
16 points (100.0% liked)
MICROCONTROLLERS
795 readers
1 users here now
Everything microcontrollers: projects, questions, new releases, etc.
dragontamer's Beginner Guides:
Beginner Series I: What is a Microcontroller?
Beginner Series II: The "Generic" Microcontroller
Beginner Sidenote: Microchip's Signal Chain Design Guide
Beginner Series III: Skills and Complexity Tiers
Beginner Series IV: Deep Dive into Microchip's AVR EA
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.
Yes, that's why I said bus. I was simply starting discussion around what you can do with a bus, thanks for your help!
Gotcha. Yeah, busses are awesome :-)