STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Bug in USB CDC code generator [Solved]

Hi, today I found an pretty unusual bug while doing some projects with the USB CDC, my code, out of the blue, showed hundreds of errors, after some diggins, me and a friend, found out that in the usbd_def.h, the TypeDef of "USBD_StatusTypeDef" was ch...

0693W00000aIs4WQAS.png 0693W00000aIs5AQAS.png
Cde M.1 by Associate II
  • 1149 Views
  • 6 replies
  • 0 kudos

Resolved! How To Using FMC Write?

I encountered a problem when trying to send more than 5 bytes of data using the FMC. // impossible example -- #define SD_DATA (*(volatile unsigned char *)0x60000001) SD_DATA = 0x01; SD_DATA = 0x02; SD_DATA = 0x03;   Using this method, data i...

Dlak by Associate II
  • 1280 Views
  • 13 replies
  • 1 kudos

HTTP over USB...?

Hi,part of the project I am working on, I have been asked to add an external device to a vending machine. It is an age-recognition system that would interface with the main controller via USB. But apparently uses HTTP protocol over USB if I understan...

Ricko by Senior II
  • 950 Views
  • 8 replies
  • 4 kudos

Can't get correct values from HCSR-04 sensor

I have been trying to get values from an HCSR-04 sensor, but I only get garbage values. I debugged it and saw that my code doesn't clear the UIF flag of the TIM2 SR register. Could this be the cause of the garbage values? I tried the sensor with an A...

xode by Associate
  • 383 Views
  • 2 replies
  • 0 kudos

stm32u575 FreeRTOS

Hi,I have started my hand-on experiments of FreeRTOS using stm32u575 uc with stm32u575zi-q nucleo board as non secure.I have created 2 task and their handler. With the help of seial viewer, printed some messages.While executing the code,it does nothi...

Kajol30 by Associate
  • 762 Views
  • 6 replies
  • 5 kudos

Resolved! "self downloading" firmware via USB

Hellois it possible for the microcontroller with USB OTG to download the program memory from the USB stick itself?In other words, change the firmware simply by connecting a USB stick with a .bin file and perhaps by resetting the component.So far I ha...

PNova.2 by Associate II
  • 523 Views
  • 2 replies
  • 1 kudos