Category: Embedded Development

Profinet Circle

The ilustration below focus of how you daisy chain Profinet (or Ethercat) using a dual ethernet device and optionally create a fully redundant circle. This design has some popularity in classic PLC designs, but it comes with some pros and cons: Pros It is easy to connect device to device at 100Mbit and even 1Gbit…

Read the full article

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