Blog

Bit-Banding - fast and safe bit manipulation

Sunday, Aug 21, 2016 by Martin Hubáček

This is short text summary of my Advanced ARM Tips video In your code, sometimes you need to flip a single bit in your flag variable to signal that for example the doors are open or the output LED should be turned on. In this situation you can use typical way of setting a bit with OR command which looks like this: // Set the first bit (1 << 1) in flag variable flag |= 0x02; This can work well but at some circumstances it can cause issues.

Continue Reading
post-image

Improved STM32 WS2812B DMA library

Monday, Jan 25, 2016 by Martin Hubáček ARM, WS2812B

I needed to drive WS2812B RGB LED or NeoPixel strips from my MCU. I quite like and use STM32 so at first I looked around for existing solutions. There are a few ways to driver LEDs. Since I’m familiar and experienced with DMA I prefered solutions which would lower the CPU load. I will write about pros and cons of different approcaches based on my own needs.

Continue Reading

LVDS LCD Hacking with FPGA

Friday, Apr 24, 2015 by Martin Hubáček fpga

For first serious FPGA project I had to wait a while for laptop LCD. I scored quite good LCD panel which had enormous resolution for my first try. It took many hours just to turn the display on with white screen.

Continue Reading

ESP8266 MQTT example

Saturday, Apr 4, 2015 by Martin Hubáček AVR

This example is using ESP8266 chip with special espduino_bridge firmware and espduino Arduino library on AVR MCU.

Continue Reading

LwIP MQTT client library

Monday, May 26, 2014 by Martin Hubáček lib, mqtt, lwIP

Some time ago I needed simple plain C MQTT library for my TIVA LM3S6965 board (former Stellaris, former LuminaryMicro). I started rewriting library from Fan Yilun who written nice C++ library for MBed.

Continue Reading
post-image

microCmd

Thursday, Feb 2, 2012 by Martin Hubáček lib

MicroCmd is a small battery-operated pocket device. This is the first time I used ARM LM3S5632 chip in my construction - there’s nothing to be afraid of as I figured out:)

Continue Reading

Uzebox

Saturday, Aug 20, 2011 by Martin Hubáček AVR

After half year of prepairing and sourcing necessary parts I’ve started to design hardware clone of Uzebox game platform.

Continue Reading
We uses cookies to provide necessary site functionality and improve your experience. By browsing our website, you consent to our use of cookies.