232 points · by zdw · 6y ago · 117 comments
[1] https://news.ycombinator.com/item?id=24877335
[2] https://news.ycombinator.com/item?id=24916086
Skimming over C3 datasheet, it seems it doesn't have DAC but has one I2S. BL602 has DAC but no I2S!
If you leave off the carrier modulation you end up just specifying a list of on and off times and get absolutely rock solid waveforms in hardware.
There's a bunch of them, I forget, maybe 8? So you can drive a bunch of chains at once.
You can also use these for rock solid reading of input signals too. Say you have a weather station that sends some god awful protocol up a wire at you… you just collect a list of the high and low times and get notified when it stops wiggling the signal. Then you sort out the data from the transmission. The timing might be way off because it's cold and the sender's electronics are really cheap, but you can analyze the signal and see what they meant.
It will be interesting to see which one gains critical mass in community use.
There’s lots of “competitors” to esp32, pretty much none of them except STM have the software for developers, which makes their offerings close to useless.
The only way to gain critical mass is relentless deep commitment to developer tools/libraries and documentation.
In many cases these competitors actually try to hide their documentation and keep secret how their chips work.
I’d be interested to hear if there’s other chip vendors with software/documentation as impressive as Espressif but I haven’t heard any, except as I said STM.
Edit: a better reference is Bouffalo’s GitHub org showing the docs and mostly open code: https://github.com/bouffalolab
Which seems (IMHO) why the likes of Texas Instruments has failed. They've made a few attempts at jumping on the IoT bandwagon over the last decade and should have been in a perfect position to capitalize on the huge uptake but it just didn't fit their profit margin goals I'm guessing.
ARM have by faaaaar the best tooling in the industry, which are more open, than not, and the baseline is made on GNU toolchain, only with more fancy debug tools being paid/locked down.
RISC-V did not yet benefit from its openness for as long as tooling go.
However, RISC-V would still be infinitely better than Cadence, and them wanting $100k for a basic (and terrible) debugger with coresight-like functionality.
Is this really the case? :(
It is really good for beginners and for hobbyists to make embedded devices available to a wider audience, but nobody in their right mind would build an actual product on top of Arduino.
gd32v is a stm32 (peripherals, memory map) clone, except using risc-v rather than arm.
The link for the Chinese pdf is https://mega.nz/file/nk41mSAL#R_d0njlKRb-aIoGuX6JXUB5eeflAdy...
Too bad they only included the I/M/C extensions - no floats, vectors, or atomics. And USB would be nice (nevermind, it has USB :D).
But it's still very exciting. Maybe there'll be less conflict between ARM/XTensa/PIC32/etc. cores in the coming years.
The block diagram show "USB Device" in the peripherals block.
Finally! An Espressif chip with WiFi, Bluetooth, and USB!
That's a huge thing when power efficiency, and operation from battery mattered.
>Load <register>
>Modify register in memory
>>Interrupt happens and changes <register>
>Write incorrect value back to <register>.
These sorts of bugs can be pernicious to debug, and they are easy for novice developers to create.
[1] https://doc.rust-lang.org/nightly/rustc/platform-support.htm...
How can they possibly sell these chips at these prices? This is impossibly cheap. You can’t even accuse them of trying to flood and control the market because they already own the market!
Both are SiFive cores, so well documented and supported.
Issue is BLE, power consumption on BLE is still not BLE level power (eg. Nordic chips). It’s still at mA levels.
With a BME 680, 2 seconds of measuring every 5 minute and esp-now protocol for sending, I estimate a 200+ day battery life. Esp-now protocol sends the message in a fracture of the time than wifi. Also you can tune the cpu & flash frequency depending on our workload. I have to wait 2s for the measurements to complete, so I lower the frequency to use less energy.
That one has extra circuitry to shut the esp down completely and wake it on either an external trigger or RTC based alarm. It claims 1.5uA sleep current.
The creator has a YouTube channel with lots of info about low power and other interesting tidbits https://www.youtube.com/user/kdarrah1234
Seems to work on Silicon Hi-Five.