Posted in January 2022

Capturing frames using SGPIO

One of the unique features that come with LPC43xx family is the SGPIO. One of the cool features is that one can use SGPIO to capture a stream of data using an external clock as qualifier. There are lots of pages out there explaining how it works and so on (see an interesting one here). … Continue reading

Capturing images on two cores

Last night I decided to start everything from scratch and change the logic: by moving the entire image capturing on the M0 core, implement a simple communication protocol between the M0 core and the M4 core using interrupts and messages, then use the M4 core to initialise the OV camera, blink the LEDs, display the … Continue reading

Going multicore…

Recently I managed to get the my code capturing data from a OV camera working using SGPIO working. Technically it works, however, the way it works is not really very practical for more than just capturing and just basic stuff. The timing is very sensitive. I am using the AN11343 paper from NXP to get … Continue reading

Generating a clock using SGPIO

Using the SDRAM on the board will limit some of the functionalities available, one of them is CLKOUT. When I designed my first board using SDRAM I missed to read that both CLK0 and CLK2 pins are no longer available, even if only one is used, in my case. I had to do some “corrections” … Continue reading

Streaming video on SPI LCD (updates)

I posted earlier a video and some details on this. I was not happy with the small LCD, limited resolution and limited viewing angles. I tied getting a IPS display but was very slow and could not get it working at anything above 2 Mhz. However, recently I found an amazing LCD from GeekPi (I … Continue reading

Simple tracking

The simplest way of tracking is using color segmentation. From there you and track one color, a set of colors, a set of blobs of same color or multiple blobs of different colours. The right way to do it is to track the color by going through all the pixels one by one, group them … Continue reading