My main project for 2026 (and onward if it goes well):
The PlumeN6 HD:
- STM32N6 MCU
- MIPI-CSI interface
- MJPEG and H.264 encoder
- USB-HS
- 1000Base-T1 Eth.
- ESP32-C5 (maybe)
Planned to be used first in either a custom small drone (Andorinha) or a MobED style robot (Lince).
Started working on a UI to visualize and control my fully DIY drone, in #Godot and C#. Very early stage and the style will change.
Using LLMs to assist (not vibe-code) in this is quite fun and I'm learning a lot! I know #Unity better (although I haven't used in it years).
Finally I can get and use the full TCM memory space of the STM32N6, full 256KB of ITCM and DTCM each! Massive to accelerate all the math heavy tasks! Preliminary tests show over 50% faster under certain conditions when executing from ITCM vs XIP!
Now that I have mostly stable 1080p >20fps vision stack, I'm looking to add two more image paths to it. One for full resolution snapshots and another for low resolution to route to future CV models running on the NPU.
The STM32N6 is exactly prepared for this!
According to STM, the limit should be 1080p 20fps due to memory bottlenecks on the PSRAM (seems to be able to be overcome partially):
https://t.co/fsD9L2IMAt
Update on the vision side of the #PlumaN6 project:
After a LOT of testing, tuning, and experimenting, I can get over 20fps at 1080p video encoding in H264, full chain from camera to USB-UVC! I would love 30fps but I will settle for a stable 24/25fps!
Wrote my own drivers and API wrappers (without HAL, only LL) and they are in my GitHub as part of my robotics/drone controller firmware I'm working on:
https://t.co/mzsX8Gqn18
@alexklimaj@ST_World How/where can we see which specific SKU (or family/series) is manufactured in which FAB? I tried to find out for some other MCU from them...
@roman_koshchei For the arms I'm considering using at least carbon rods, but for the body I'll stick with 3D printed to get the 3D shape and not sandwich plate structure.
I'll switch to ASA as well over time
Working on the cabling/wiring of my Andorinha Drone.
The messy wire harness is a temporary solution until I design a centralized power distribution board.
Also, connectors to BLDC driver and cables (AWG28) are not ideal but should be sufficient for first tests.
OK now based on the errata findings I can reset the MCU! What a achievement (\s)
But this is CRUCIAL to enable/allocate the full ITCM/DTCM memory space of 256KB each.
Which is INSANE to me still, when I started my embedded journey the MCUs I used had less FLASH then that!
AND the software reset ALSO has an errata! The clocks of certain peripherals are not reset properly.
Normally not an issue BUT when one of those clocks is to the external Flash from which the MCU boots then YES!! Which is of course the case!
So I just found my favorite (\s) errata in ANY datasheet ever! This for the #STM32N6. It has a errata for the NRST pin! For the RESET pin! How can that be...
Well at least it seems to have a workaround but still.... I consider that one of the CORE features that should work
Working on a test stand for my drone.
Using a ball joint for cameras and a tripod. Seems to be a perfect for this!
Also has magnetic pogo pins to route out telemetry over wire.
First full iteration of the Andorinha Drone frame. Many things I want to change now that I have parts in my hand and not on the PC screen 😂
Fully self designed for my also fully self designed electronics (PlumaN6) and firmware (Instinct).
BIG update:
Dual camera now working on the STM32N6, in #PlumaN6 project:
- Full HD 1080p from MIPI + H264 encoding @ ~18FPS (PSRAM limit)
- 256x256 30FPS over DCMI for optical flow
Having both MIPI+VENC and DCMI was challenging, had to drop DCMI PCLK to 32M to not drop frames.
Vision stack performance:
- MIPI to PSRAM @ 1080p & H264 ENC: Working at ~18FPS, STM says best case is 20fps due to memory bottlenecks.
- DCMI to SRAM @ 256x256: Target is 37 FPS but I get a LOT of dropped frames.... Without MIPI runs at 37 FPS.
My guess is AXI "overloaded"
#PlumaN6 Updates:
- Working 1080p video from OV5645 streaming to PSRAM and H264 encoding, custom drivers. But only getting ~18fps
- Simultaneous low-res capture from DCMI is also suffering HIGH frame drops
Time to investigate more the STNoC architecture and caching and I/DTCM!
Let's go! Who has also ordered theirs? Excited to get it, will be amazing for my Home-lab, to help debugging high speed stuff on my #PlumaN6 project! Got it with the extra tiny test probes and the ADC module to test.
#PlumaN6 Updates:
- Working 1080p video from OV5645 streaming to PSRAM and H264 encoding, custom drivers. But only getting ~18fps
- Simultaneous low-res capture from DCMI is also suffering HIGH frame drops
Time to investigate more the STNoC architecture and caching and I/DTCM!
I think I fixed the issue, it was a cross covariance issue in the update step using gravity/accelerometer that coupled into position data which it should not. Also made a fun side effect that if I rotated the board it made a circle in the position estimate around (0,0)
So current issue is, while stationary after about 20-30min the estimator (EKF) output starts oscillating and crashes... The plot shows this moment.
I think it is yaw integration and covariance going to high (yaw without MAG has no real correction).
Time to debug and fix this!
So current issue is, while stationary after about 20-30min the estimator (EKF) output starts oscillating and crashes... The plot shows this moment.
I think it is yaw integration and covariance going to high (yaw without MAG has no real correction).
Time to debug and fix this!
Major updates to the robotics/drone controller firmware I'm working on for my #PlumaN6 board:
- Reading IMU, Baro, etc
- Fusing them with Invariant EKF
- Publish Mavlink msgs for QGroundControl
The Invariant EKF filter is not yet very stable but a good starting point is reached!