Category: Embedded Development

ECU – Software Stack – Part 2

Part 1 of this article summarized scope of work because software for an ECU basically have two core bulks – one is the core and main controller, while the second is the add-one modules and specialized IO. This second part is basically endless as we will be adding more features and more hardware, so in…

Read the full article

3xCAN – First Prototype Box

I finally assembled my first prototype box using a 3D printed panel. The first change is that the front had to be reduced to 5 x DSUB9 connectors because I needed extra space between them for the connectors in front – even 5 might be ambigious, but we will see then the canles w/connectors arrive.…

Read the full article

C++ CAN Interface

I am waiting on parts for the USB, SD-Card, Ethernet and Modules so the next task I can work on is the CAN interface. The actual barebone CAN interface is autogenerated by STM32CubeIDE in C, so all we need to do is to create a proper IO queue, deal with timing and error handling. Most…

Read the full article

Data Logger

I recently made a Data Logger using a Nucleo-144 board and 16 bit ADC’s – the project works well and I am a bit surpriced over how easy it was to create both electronics, firmware and PC software, so I will attempt an even more advanced Data Logger illustrated below: A functional block diagram over…

Read the full article

BSA – Fork & Join

Fork and Join are part of UML State diagram heritage that I imported into PLD. The example below show a potential usage to take a signal, duplicate it to three threads and wait until they all are finished before you continue. Fork and Join are drawn as bars that can be horisontal or vertical –…

Read the full article

PLC – ADC Readings

One of my concerns on 600V design is how to make ADC readings in the 600V area. I need 3 x Current sensors, 1 x DC Voltage Sensor and 1(2) x Temperature sensors in addition to support for up to 3 resolver sensors as well as an external motor temperature sensor. That sums up to…

Read the full article

STM32H503RB

This MCU started to interest me because it is a low price alternative with a lot of contents. ST’s price is 1.7 USD, but that is 3++ USD through Digikey in low volume. It is a 128Kb Flash version, but it has a promissing build-in Bootloader that I want to experiment with. If you build…

Read the full article