Category: Geen categorie

RISC-V SBCs

I’ve got some RISC-V SBCs, an AWOL Nezha board, and a Mango Pi MQ Pro. Both are based on the AllWinner D1 SoC. As recently I came across an SD card image builder that generates an Arch Linux image for these type of boards. https://github.com/sehraf/riscv-arch-image-builder This script combines OpenSBI (first stage bootloader), u-boot (second stage…


KSGER Soldering stations (part 3)

In the last post I mentioned KSGER soldering stations, I mentioned buying two more, and one of the new soldering stations released the magic smoke. My old KSGER soldering station is my trusted soldering station, still working perfectly fine. But those newer ones, The thing is, back then, after one of my soldering stations released…


Playing with some radio modules (part 3)

So far, I looked at the Si4332 and the S2LP Sub-GHz radio chips. I haven’t got them up and running yet. I have one more type of radio chip on a breakout board at home, a CC1101. I have ordered some HopeRF modules, RFM69 and RFM9x, which are SX1231 and SX127x based, according to adafruit….


Playing with some radio modules (part 2)

After I got stuck with the Si4332 radio module, where I seemed to get a packet from one module to another, but the content of the packet was wrong, I concluded I had no way to tell whether the problem was on the sending or the receiving end. How to go on with this? Take…


Playing with some radio modules (part 1)

I’ve been playing with some sub-ghz radio modules. I’ve got some different modules laying around. And this time, I’ve decided to look at some Silicon Labs Si4432 based modules. These modules come from AliExpress are marked XL4332-SMT. I’ve seen a variant on LCSC marked AS4432-SMD. There is another variant RF4432PRO by G-NiceRF. The RFM2x series…


Identifying 32F103 clones

As I was working on my RISCV clone compatibility layer, I ran my I²C test code. When running this code, I found it runs successfully on the CH32V103 however, it failed on the GD32VF103. Upon further investigation, I found it failed on the GD32F103 as well. I guess it is about time I run some…


RISC-V ‘clones’ of the STM32F103 (part 4)

Last time, we’ve configured the interrupt controller so we can boot up to main, there is one little more detail needed to get interrupt working, and that’s adding __attribute__ ((interrupt)) to your interrupt handlers, otherwise, the interrupt will trigger once, and then no more interrupt will be coming. Adding this will not break compiling on…


RISC-V ‘clones’ of the STM32F103 (part 3)

In the previous post, we’ve established how we can tell the GD32VF103 apart from the CH32V103. In this post we’ll take a look on how are are going to initialise them. We want different initialisation because these chips require different interrupt handlers. Primary because the interrupt numbering does not match. First, let’s look at interrupts…


The prices of 32F103

While I have previously discussed 32F103 microcontrollers from different manufacturers, I’ve not discussed pricing before. The world has changed, with all this silicon shortage madness. A STMicroelectronics MCU is made of unobtainium. RS and Farnell don’t have them in stock. It seems, LCSC can deliver them, but the prices are insane. US$ 19.56 for a…


RISC-V ‘clones’ of the STM32F103 (part 2)

This is part 2 of the look at the GD32VF103 and the CH32V103. Microcontrollers with a RISC-V RV32IMAC core and STM32F103 compatible peripherals. As stated in the pervious article, their main difference is how the interrupts are handled. Of course, both can do interrupts as per RISC-V standard, the main issue is the fact the…