4 ms·
See also the CH32V003 [0] (more expensive variants also available), a neat, cheap and standalone RISC-V with plenty of modern & flexible peripherals, good packa
by blutack 2y ago
See also the CH32V003 [0] (more expensive variants also available), a neat, cheap and standalone RISC-V with plenty of modern & flexible peripherals, good package options, single wire debug and an open toolchain [1] for ~20c per.
Mitxela has a great article on them [2] and I totally agree they have a lot of the same joy & simplicity of the ATTiny - but with the added bonus of lots of interesting DMA controller misuse!
The peripherals have a very STM feel (in a good way) which perhaps isn't surprising given WCH's history.
0: https://www.wch-ic.com/products/CH32V003.html https://www.wch-ic.com/products/CH32V003.html
1: https://github.com/cnlohr/ch32v003fun https://github.com/cnlohr/ch32v003fun
2: https://mitxela.com/projects/badge https://mitxela.com/projects/badge
- janekm 2y agoCame to say this too... I was really pleasantly surprised by how easy it was to get a full dev & build & test environment set up with Visual Studio Code, and how well their little WCH-LinkE debugger works (both SWD and UART in one, Segger could learn from that...). Now I'm experimenting with their BLE variant, which is a lot more complex, but still simpler than what I'm used to.
- sircastor 2y agoI just stumbled onto these recently. The big hang up for me is that the programmer is proprietary. I was hoping there would be a bootloader onboard like the CH552. No dice. In waiting a bit more than a week to get one shipped. They’re not expensive, but I’m annoyed that I can’t just load some software on an Arduino and flash the chip. (Note you can debug open source, just not program afaict)