Author: Jan

Dealing With Performance

Early morning planning! Whenever dealing with applications that will be depending on high performance it is wise to check out bottlenecks asap. This apply to all risk scenarios based on assumptions, simply check them out first because they might force your next step. I have three checkpoints coming up: (1) Speed of SPI with a Hat…

Read the full article

Cypress 5LP

Cypress released a Cortex M3 MCU some time ago that caught my interest. I ordered two devkits costing 10.- USD each and all in all their concept actually impresses me. Cypress have for years released MCU’s that are referred to as “PSoC” (Programmable System on Chip). The difference is that a 5LP includes a ARM MCU,…

Read the full article

10 Mhz Logic Analyzer

One of my interests  for some time have been how to create a MSO (Mixed Signal Oscilloscope). I have several scopes, but I lack a Logic Analyzer on any of them. My first thought was to bit-bang the GPIO of Raspberry PI directly, but as I looked into this I realized that I would not get…

Read the full article

User HMI Applications

The drawing above illustrate the different components used to achieve a complete application with HMI. We have briefly discussed the internals of the Hat (left) consisting of hardware interfaces or communication drivers, a IO configuration and the SPI driver communicating with Raspberry PI. RPI have the master SPI driver and two new components that are…

Read the full article

Zero Running

Just moved a MicroSD card from a Raspberry PI 3 over to Zero and it just works. The only challenge I have is cables for keyboard/mouse + I use a HDMI adapter cable that is a bit unstable. Nice to know because the easiest way to develope for the Zero is probably just to use…

Read the full article

Raspberry PI Zero

Wow, I actually got a Zero in my hands. I have been holding back production of new Hat’s because I wanted to check with zero drilling holes. I am not sure where I got my dimensions from, but I was actually 1 mm off.

HMI Solution

Dealing with embedded solutions you also need to deal with HMI. A majority of HMI will always be on displays so having the Raspberry PI as base is quite nice. It is very capable of supporting our GUI needs, but how do we program it? A friend of mine uses Python with various libraries. I…

Read the full article

XML Parser

It’s some years ago I wrote my first XML parser. The story was that I was doing a communication interface and discovered that the interface sent XML messages. In two days I wrapped up a small XML parser as a library and got the task done.The technique I used was a classic recursive descent parser.…

Read the full article

8 bit AVR

Alf & Vegard’s RISC processor was created while they where students at NTH in Trondheim, Norway back in 1996. It has since become one of the most popular MCU’s worldwide. It’s foremost competition was Microchip’s PIC series, so it’s ironic that it’s now Microchip that own Atmel (and AVR). Even more ironic that while Atmel…

Read the full article