Category: BSA

Simple CLI (Shell) Language

The ECU’s I make all have a small CLI included to execute a selection of commands including set/get commands accessing the dictionary. This started as a proprietary addition on 3 x CAN Hub, but is beeing upgraded to become standard on all as a minimal shell language. It is actually three modules involved as I…

Read the full article

AI Messed Up

I use AI a lot in both electronic design and coding and it mostly provides very good assistance. But, it sometimes messes up completely. This is something you must be aware of. I started by selecting KSZ8863 as a 3-port Ethernet switch. Talking to AI I ended up with a more modern 1000Mbit version, but…

Read the full article

NMEA2000/USB Adapter

I am lagging a bit behind on my projects these days, but good news is that another embedded engineer now will join + I am finally moving on the P&P machine because assembling these for hand is a bit limiting. The adapter below has only minor changes on the N2K power side from what you…

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

ECM – CAn Module

Finished CAN Modul. This uses a M12-5 Male because the NMEA2000 T-Connectors are female and most cables are female to male, so this can be connected directly on a NMEA2000 network with no extra fuzz. One of the nice details are the 5V DC/DC on right bottom, a SSR to switch on/off 120Ohm resistor and…

Read the full article

ECU – Dual Ethernet Module

This is a Dual Ethernet Module using M12-4 ports. I drafted this earlier. I need to use aSTM32H573 for this since the PHY chip is a 3 x Ethernet switch. The big point with this module is that it provides dual, redundant ethernets, Profinet and Ethercat capabilities. I have Ethernet on the CAN Hub that…

Read the full article