Hello there! I’ve been working on a High Level USB Device Library. The reason for this is kinda related to the series of posts about the STM32F103 clones I’ve published. The thing is, the STM32Cube* HAL is BSD licensed, but the USB Middleware is SLA044. This means, the HAL can be used on any clone…
32F103 Comparison (part 2)
Update 2020-06-13: Added the HK32, updated stlink-gui/st-flash: it works with CKS32 now. Welcome back to my 32F103 Comparison. Let’s recap. The STM32F103C8T6 is a popular microcontroller by STMicroelectronics. Various Chinese manufacturers are producing parts in the same naming scheme, eg. APM32F103C8T6, BLM32F103C8T6, CS32F103C8T6, GD32F103C8T6 and MM32F103C8T6. What does this mean? There are parts, such as…
32F103 Comparison (part 1)
Update 2020-06-13: During some discussions about STM32F103 clones, I’ve sent some parts to Richi’s Lab who makes die shots of ICs. Links to the die shots for the parts have been added. Furthermore, I’ve added another part, HK32, to the comparison. I have mentioned some websites were unreachable. It turns out, the websites work when…
PSoC4, SCB and TCPWM
Continuing on the PSoC4. I’ve written the previously discussed register-poking-code into some functions for the library. This code talks nicely over the UART, as it did before. So, now the code is in the library for the 4100/4200 family, let’s have a look at the 4100M/4200M family. As far as I can tell, the only…
About designing PCBs
A few years ago, I decided to make a project: A temperature logger, that logs the temperature of a number of DS18B20 sensors and stores them to an SD card. The project consisted of an ATMEL AVR (ATMEGA328P) microcontroller, an RTC, an SD card holder, and of course some temperature sensors. Back then, I didn’t…
PSoC 4200 says “Hello World!” over UART.
“Hello World!”, I’ve got the CY8CKIT-049 (CY8C4245AXI-483) to put out some data over UART. It’s way from finished, I still have to incorporate all the code into the library, but we’re getting somewhere. Previously, I’ve been setting up the Internal Main Oscillator (IMO). But for now, I’ll keep it running at it’s default speed of…
Some thoughts about embedded development
Some thoughts about embedded development. In specific, about source code licenses. And the reason why I started this PSoC4 support for libopencm3 project. The first reason to start the project is, right now, the only way to develop for the PSoC4 is through PSoC Creator, which only runs on Microsoft Windows. As I don’t use…
Intermezzo: looking at the ROMTABLE
Looking through the psoc4 implementation in openocd I noticed a function called psoc4_get_family(). In this function, reads some data from the ROMTABLE, deriving a family and designer from the data available there. Now, this ROMTABLE is documented in the various register TRMs, and it is a part of the CoreSight specifications. This is the information…
Clocking the PSoC4
After getting a blinky program to work on both the PSoC4200 and the PSoC4200M series (the code is the same), I wanted to continue with some communication. For this purpose I took a look at the Serial Communication Block (SCB) peripheral. An SCB can do either UART, SPI or I²C. After looking at the registers,…
PSoC4 support for libopencm3, the first steps
As I’ve discussed before, I’ve started a project to implement support for the Cypress PSoC 4 series, so they can be used without PSoC Creator, which only runs on Microsoft Windows. I am doing this so I can develop for the PSoC 4 on a linux machine using only an open source toolchain. As the…
Radio BlaatSchaap
-
POSTS
-
Recent Posts