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
  • 1430 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
  • 1836 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
  • 1596 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
  • 564 Views
  • 2 replies
  • 0 kudos