Author: Jan

Ethetnet Switch Hat

I just received HLP-7688A module and looking at the size I must admit that I tempted to create a Switch/Router in Hat format. I am not os sure about the SPI on this, but it has 2 UART’s, so assuming I can control the code on the Linux module this could be interesting with Wifi…

Read the full article

Plain as Shell language

I am slowly getting the SW stack for BasicPI together and wonder if I should implement a minimal shell language based on Plain. I can regardless run a Plain appliction at start-up for configuration, but a shell language means that we are able to connect on a CLI console and write/execute scripts and commands ad-hoc…

Read the full article

China win again!

In my previous post I mentioned that I lacked doc – I notified the seller and a few hours later I got it – thank you. The doc was actually available on the net, but in 9 of 10 times I contact Asian sellers they actually respond quick and with care. Well done!

alStream

A MCU like STM32F405 have multiple serial devices and though their hardware is very different they perform the same job of sending/receiving ino. alStream is a base class for all components with a serial stream interface like USB, UART, CAN, SPI, I2C and even UDP/Ethernet. The objective is to provide a uniform messaging service where…

Read the full article

easyIPC SW Stack

This is the same as is on my previous entry, but I focus on easyIPC and Plain. easyIPC is a lot of modules to communicate with the rest of the system and while we easily can add user modules in C++, we can also add them in Plain. Plain is compiled code running in a…

Read the full article

BasicPI Firmware Stack

This illustrates the BasicPI Firmware Stack in progress. What I always do in embedded applications is to make a “standard” main.cpp as follows: void AppInit() {    // wire hardware } int main() {    AppInit();    // start OS } A team I worked in years ago agreed on this standard so we should…

Read the full article

XPortHub Rev 1.2 Annotated

  CAN CAN RS485 RS485 Terminal switch for CAN & RS485 USB Micro SD Card SPI Flash RTC Battery Power connector I2C SPI TTL UART RS232 RS232 Raspberry PI Connector STM32F405RG SWD Connector Changes from Rev 1.0 1 Corrected wrong SPI Flash package 2 Added resistors to SPI 1 to support Half-Duplex SPI 3 Replaced…

Read the full article

Sensor IO Hat Annotated

This is a 3D of my Sensor IO Hat Rev 1.0 that allow interfacing to 8 x Analogue/Digital sensors, 3 x I2C and 3 x SPI. STM32F405 have 16 x 12 bit ADC channels and each AD port have 2 IO pins that can be used . The Sensor IO Hat is about connecting to…

Read the full article

Linux Ethernet Switch/Router Hat

The most obvious Hat to use HLK-7688A on is a Ethernet Switch or Router with SPI backbone support. I have ordered a dev unit so I can test out this possibility. The Ethernet switch part is very straight forward, I also see a very decent SPI, but I need to dig a bit more into…

Read the full article