Forum Posts
STM32F446 crashing when calling xSemaphoreGiveFromISR from within USB ISR (CDC_Receive_FS)
I have a stm32f446 setup with a virtual com port. I using a task with FREE RTOS. The task is blocked by waiting on a semaphore (xSemsphoreTake). In my CDC_Receive_FS routine I am simply calling xSemaphoreGiveFromISR when ever this function is called....
OTG USB differences between CPUs
Looking at stm32 USB library for USB device (not host)( particularly for 32F769) I noticed in source code, different approaches between core ID 300A and core ID 310A. However I found no documentation that explains that versions. Does someone know wha...
How to Test for Brownout?
I have a USB HID product based on the STM32F205. We've built thousands of them. However, recent builds have shown about a 5% failure rate where the device fails to enumerate (some of this 5% might fail 50% of the time when power cycling, some 90%+). ...
Resolved! Hardware IPv4 checksum on an STM32F407 is not working, though all the proper settings are set. (Works on rare occasions, oddly)
I'm debugging a legacy application on an STM32F407 that uses the std peripheral libraries and LwIP 1.4.1, and except on rare occasions, hardware IPv4 checksums don't work; they all get sent out as zeroes. When I disable hardware checksums in lwipopts...
I am using a NucleoG071-RB board for writing my own custom bootloader, i modified the option bits for making MCU go in boot mode from System Memory but when i try to program, it is showing errors:
Before programming when i connect the board with UART bootloader:After clicking on download option, it is showing following errors:
Resolved! STM32H745: Freeing a semaphore does not trigger an interrupt
There is very little information on the internet, let alone any example that I could look at. My problem is that freeing a semaphore does not trigger an interrupt. I need this feature to allow one core to notify the other in case a certain condition ...
UM2319 Documentation Error UM2319 Rev 2 page 95/2202
I decided to try to use the __HAL_ADC_ENABLE_IT() macro. UM2319 page 95/2202 Rev 2It says the first argument is the ADC handle. ADC_HandleTypeDef hadc1; is the handle. This macro wants the ADC handle pointer which is &hadc1 not hadc1. Looks like the...
How to activate bootloader on STM32G030J6 in SO8 package?
Hello, I made a board with STM32G030J6 in SO8 package. There is not much pins so I need to use UART bootloader. Problem is that BOOT0 is on the same pin as USART.I have USB-3V3_UART so I connect BOOT0 to 3V3 first, start the power supply, then I reco...