STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

how many USB end Points Possible on STM32F767?

I am trying to make composit USB example with MSC and 2 CDC.Can anyone suggest if its possible with STM32F767VIHx ?I am using FreeRTOS as well.I have already started to 5 interface but they seems to be not reliable. I can send messages from one port ...

APate.8 by Associate II
  • 665 Views
  • 2 replies
  • 0 kudos

Resolved! STM32F4 Change USB PID at boot time

Hello, I have a product that connects to a computer via USB. I also have a test application that can be run on the computer as well. The test application on the PC can look for a default PID or one can type in a different PID and the application wi...

0693W00000AOPsVQAX.png
JBlackann by Associate III
  • 2454 Views
  • 2 replies
  • 1 kudos

How to not compile USB device ?

Hi ,I have added usb functionality in my code using stm32cubemx.Now i don't want to compile it using #if or #ifdefHow to do it ?I tried following:I used #if to remove usb initializing function and not used usb in any code , but when i saw .map file s...

SA.17 by Associate III
  • 572 Views
  • 1 replies
  • 0 kudos

USB device and eeprom writing

I am using a STM32F4 on a custom board that is connected to PC software through USB (configured as custom HID device). I have this problem: when the PC send data to the board, the data has to be written in the eeprom memory (one byte at each transmis...

VCapu by Associate III
  • 1975 Views
  • 5 replies
  • 0 kudos

external event interrupt in freertos

I want to use external event interrupt in freertos v2. I found when I set one pin with external event interrupt with freertos enable in stm32cubemax, I will miss exti1_handler() global interrupt function.right? is it possible to enable it in freertos...

yang hong by Associate III
  • 706 Views
  • 3 replies
  • 0 kudos

default application examples of the netconn and socket server because of the random selection of the udp/tcp port

Hello,the default application examples of the netconn and socket server based on lwip doens't work because the udp and tcp port which are selected randomly (LWIP_RAND() ) could be ouside the autorized ranges (UDP_ENSURE_LOCAL_PORT_RANGE)hw id: nucleo...

MThom.16 by Associate
  • 844 Views
  • 2 replies
  • 0 kudos

I'm doing ADC readings with DMA into a regular (non-circular) buffer but I always get the overrun bit set in the ADC status register even though I stop the DMA immediately in HAL_ADC_ConvCpltCallback.

I want to read ADC values with DMA at specific times (I have an analog multiplexer that needs to switch and I want to synchronize the ADC readings with the mux switching). I have the ADC triggered by a timer and stop the ADC immediately using HAL_AD...

EMarq.1 by Associate II
  • 923 Views
  • 2 replies
  • 0 kudos