¿Tu aplicación sigue funcionando si le sacás el cristal? Porque la mía sí. 🕹🔧

En este video le arranco el cristal de cuarzo (HSE) a un STM32 en plena ejecución. Gracias al Clock Security System (CSS) y una rutina de recovery bien pensada, el micro detecta la falla, limpia las banderas y salta automáticamente al oscilador interno (HSI) sin quedarse colgado ni un solo segundo.

El cambio en el parpadeo del LED te indica que el sistema entró en modo seguro. En sistemas críticos, la robustez no es un lujo, es un requisito. El watchdog y la gestión de fallos del reloj son tu primera línea de defensa contra bloqueos inesperados.

¿Alguna vez te pasó que se te colgó el micro por un tema de clocks? ¡Contame! 👇

#CriticalSystems #FirmwareEngineering #STM32 #FaultRecovery #EmbeddedSystems

Took inspiration from my blue pill board that has its mcu tilted - it does give more space for the traces to run. Hope the board works!

#stm32

Yesterday I re-designed the board - first I moved the programming pins to be alongside the usb port for ease of access.

I pondered getting rid of the external 32khz crystal since I don't use it for anything. But decided to keep it, and also exposed the battery input pin.

Finally I re-arranged all the pins so that they are lined up numerically. To do this I had to run some very long traces.

...

I think I'm going to re-do this board again to minimize the trace length XD

#stm32

Мы не выравниваем железо — мы выравниваем реальность: как превратить любой лазерный гравер в прецизионный фотоплоттер

Если вы хоть раз пытались сделать печатную плату сложнее «мигалки на светодиоде», вы знаете цену «геометрического ада». ЛУТ (лазерно-утюжная технология) — это лотерея. Классический фотометод требует идеального шаблона, а профессиональный фотоплоттер стоит как подержанный автомобиль. Казалось бы, решение на поверхности: взять доступный китайский лазерный гравер за $100 и вперёд. Но тут начинается новый «ад»: оси изначально кривые, реальный шаг моторов живёт своей жизнью, а заготовка почти всегда лежит на столе с перекосом в пару градусов. Малейшее отклонение — и прецизионный Gerber превращается в бесполезный кусок текстолита. Я решил эту проблему иначе. Зачем часами юстировать механику, если можно переложить всё на математику и нейросети? Представляю LPP-Laser — флагманское направление открытой модульной платформы LPP (Linear Path Platform) . Система не требует от станка совершенства. Она просто «натягивает» ваш проект на реальность.

https://habr.com/ru/articles/1051624/

#LPP #STM32 #лазерный_гравер #фотоплоттер #компьютерное_зрение #печатные_платы #алгоритмы #DIY #Python #Gerber

Мы не выравниваем железо — мы выравниваем реальность: как превратить любой лазерный гравер в прецизионный фотоплоттер

Если вы хоть раз пытались сделать печатную плату сложнее «мигалки на светодиоде», вы знаете цену «геометрического ада». ЛУТ (лазерно-утюжная технология) — это лотерея. Классический фотометод требует...

Хабр
NeoEyes NE503 – A $1199 Edge AI Camera based on Hailo-15H 20 TOPS SoC

Camthink NeoEyes NE503 is a 4K Edge AI camera platform powered by the Hailo-15H quad-core Cortex-A53 SoC with a 20 TOPS AI accelerator, and paired with 8GB of LPDDR4 memory and a 64GB eMMC flash. The camera also features a Sony IMX678 4K sensor and an 8–32mm F1.6 AF auto-zoom lens for high-quality monitoring, low-light imaging, and long-range recognition. The camera directly handles high-resolution video input, local multi-model inference, containerized applications, and event-driven workflows on the device, without relying on the cloud or a local server. NeoEyes NE503 specifications: SoC - Hailo-15H CPU - Quad-core Arm Cortex-A53 @  1.3 GHz VPU - H.265/H.264 encoding ISP - Supports up to 12 MP resolution, 600 Mpixel/s pixel rate, HDR, and noise reduction AI performance - Up to 20 TOPS; < 50 ms target inference latency System Memory - 8GB LPDDR4 @ 4266 MT/s; 8.5 GB/s single-channel bandwidth Storage 64 GB eMMC flash 8

CNX Software - Embedded Systems News

Marlin 2.1.2.8 is a minor release patching a few reported bugs. Recommended for all users.

https://github.com/MarlinFirmware/Marlin/releases/tag/2.1.2.8

#RepRap #3DPrinting #OpenSource #Arduino #STM32 #DIY

itoa() doesn't hardfault! I can work with this. Next up is to design the carrier pcb.

#stm32

lol not expected sprintf to be a stopper right now. Hardfaults the mcu for some reason. Is it the rtos? Is it the dma? Blargh

#stm32

Ok this works with no fuss? I'll bet its gonna be a pain when I try to integrate it into the rtos. But thats a tomorrow thing.

#stm32

Zomg got the h5's adc to work in dma mode following this tutorial: https://www.youtube.com/watch?v=pb3SLFEw6iQ

Next is to get the oled panel working.

*happy purrs*

EDIT: Callback after the dma transfer is complete needs to be registered. Example code here: https://github.com/STMicroelectronics/STM32CubeH5/tree/main/Projects/NUCLEO-H563ZI/Examples/DMA/DMA_LinkedList

#stm32