STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! What causes HAL_FLASH_OB_Unlock() to call HardFaultHandler()? It calls WRITE_REG(FLASH->OPTKEYR, FLASH_OPTKEY1); and jumps directly to HardFaultHandler().

The HAL_FLASH documentation is especially poor. There in no overview of what you have to do. You would think (because of lack of anything saying different) you have to HAL_FLASH_OB_Unlock()HAL_FLASH_Program(...)HAL_FLASH_OB_Lock()The first command H...

KiptonM by Lead
  • 7326 Views
  • 38 replies
  • 0 kudos

Resolved! STM32F042C6U6 ADC DMA Read Multi Channel

Hello,I made a Motor Driver Circuit and I want to read the ADC via DMA, but it has different settings compared to other microcontrollers such as F4, G4, F0. How can I do it or is there a code or video that can be an example?  STM32F042C6U6 SettingsOt...

f042 settings.png f042 settings 2.png other mcu settings 2.png other mcu settings.png
Sergen by Associate III
  • 325 Views
  • 1 replies
  • 0 kudos

STM32H750 + USB3300 ULPI deadlock

Working on an audio device using STM32H750 with USB3300, using TinyUSB stack.Either it works perfectly, or there is no ULPI communication.In the latter state, STP, DIR and NXT are all solid high and nothing moves. I can unlock it by pausing the progr...

BRP by Associate II
  • 298 Views
  • 2 replies
  • 0 kudos

Resolved! STM32H573 USBX CDC ACM(DEVICE)

Hello,I am working on device USBX cdc acm with stm32h573i-dk. I am progressing my work from the example in the attachment below.After creating the project as in this example, I ran the software and no Com Port appeared on my computer. Also no error_h...

Eakyo.1 by Associate III
  • 3896 Views
  • 11 replies
  • 3 kudos

Resolved! Bad Range using RFM95 and STM32L476RG

How can I achieve optimal range for LoRa node-to-node communication? I'm using the RFM95 module at a frequency of 932 MHz but experiencing very poor range—data transmission cuts out at only 4 feet. I have a compatible antenna, which is properly solde...