Electronics > Microcontrollers
$0.25 HK32F030M - Cortex-M0, 32MHz, 16KB flash, 2KB RAM (Actually 4KB!)
DavidAlfa:
Another MCU drama, soon I'll be needing more PIC16LF18323 but they have 1 year delay!
Also they're starting to get expensive for what they are.
For the same price I can get the STM32F030C6 for $0.56 or the STM32F103C6 for $0.75, but they consume way more than the PIC (2mA at 32MHz).
I need the low consumption because I'm studying the possibility of removing external power requirement and directly feeding from the logic signals, this interfaces old electronics, each device pin has a 680R pullup to 5V, and there're at least 4 inactive pins at any given time, so 1mA*(680/4)=0.17V drop per mA, there's some room for a low power mcu, I should be able to load 3-4mA without causing inputs to be read as 0.
Another visit to lcsc showed this cheap $0.25 Cortex-M0 HK32F030MF4P6, but damn, chinese datasheet again.
Clicking at the English link at https://www.hsxp-hk.com did nothing, but I wondered if https://en.hsxp-hk.com existed.
To my surprise it did, and I was able to get the HK32F030M English datasheet.
Quick links:
- CubeIDE Patch adding support for several devices, including HK32F030M.
- HK32 folder with docs and CubeIDE sample project. Patch must be applied before attempting to open this project, otherwise CubeIDE will crash.
- Flash config bits issues and fix.
- EXTI issues and fix.
- Overclocking.
Edit: Fix PCB:
- Missing GND trace for CH340E !!
- CH340E RTS/DTR not working as expected, remove them.
thm_w:
Puya might make them too https://www.eevblog.com/forum/microcontrollers/wch-$0-10-risc-v-mcu/msg4505176/#msg4505176
But wouldn't HK32F030 have similar or greater power use than the STM32F030?
47c from LCSC if you buy enough: https://www.lcsc.com/product-detail/Microcontroller-Units-MCUs-MPUs-SOCs_STMicroelectronics-STM32F030F4P6TR_C89040.html
32kB flash if needed. There is also the G series for a few cents more, which uses less power.
Honestly from the application you are describing, to me it doesn't make sense to try to penny pinch to this level.
PCB.Wiz:
--- Quote from: DavidAlfa on December 13, 2022, 03:18:09 pm ---Another MCU drama, soon I'll be needing more PIC16LF18323 but they have 1 year delay!
Also they're starting to get expensive for what they are.
...
I need the low consumption because I'm studying the possibility of removing external power requirement and directly feeding from the logic signals, this interfaces old electronics, each device pin has a 680R pullup to 5V, and there're at least 4 inactive pins at any given time, so 1mA*(680/4)=0.17V drop per mA, there's some room for a low power mcu, I should be able to load 3-4mA without causing inputs to be read as 0.
--- End quote ---
If you want phantom / higher resistance power source, you may want to check the RESET current consumption of your MCU ?
Nuvoton have a new part designed for higher impedance power sources, where startup matters
https://www.nuvoton.com/products/microcontrollers/8bit-8051-mcus/low-power-mug51-series/mug51tb9ae/
I also spotted the XM003/XM004 series parts appear to specify a peak Icc during power up too.
https://www.lcsc.com/search?q=XM00
woofy:
--- Quote from: DavidAlfa on December 13, 2022, 03:18:09 pm ---Another MCU drama, soon I'll be needing more PIC16LF18323 but they have 1 year delay!
--- End quote ---
If the variant is OK, Mouser have over 6k in stock.
https://www.mouser.co.uk/ProductDetail/Microchip-Technology-Atmel/PIC16LF18323-I-SL?qs=PQDAUpz3sUPfUYfJi7oGkw%3D%3D
DavidAlfa:
The topic was mostly "Another cheap chinese MCU" and "There's english datasheet!".
I know Mouser have them, it's in the last resort option, the problem with them is their expensive shipping.
I always bought from RS because it's 5€, but Mouser wants 20!
Nah, the peak consumption is not a problem, inputs won't care for a logic "0" unless it stays there for several milliseconds.
It's the continuous running power what
What can't be is 25ma all the time!
Navigation
[0] Message Index
[#] Next page
Go to full version