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

hi iam doing usb otg in stm32 f107 ,i had a reference code with me which is working good , iam able to do all USB operations properly wit that code ,but when am trying to understand the code USB DM,DP,USB_ID ,V-BUS are not defined in pin configuration.

void USB_OTG_BSP_Init(void) { GPIO_InitTypeDef GPIO_InitStructure; /* Select USBCLK source */ RCC_OTGFSCLKConfig(RCC_OTGFSCLKSource_PLLVCO_Div3);   /* Enable the USB clock */ RCC_AHBPeriphClockCmd(RCC_AHBPeriph_OTG_FS, ENABLE) ;   RCC...

Resolved! Timer trigger timer - example?

Hi! Im having trouble with setting timer2, when it overflows I want to add+1 to timer4 in slave mode =) to use timer2 as prescaler to timer4.​Can I ask for am example of this? Or some hints how to o this.​​Im trying to follow timer cookbook. Synchron...

oeliks by Senior
  • 918 Views
  • 5 replies
  • 0 kudos

Resolved! Fatfs DMA transfer skips the end

Hi,I'm having a very strange issue loading bytes from an SD card into an array in RAM, on a STM32F722RE.In general, it works nicely, but I have several files where the transfer skips some bytes, leaving zeroes in the destination array.In debug, I hav...

TGeof.1 by Associate
  • 640 Views
  • 2 replies
  • 0 kudos

NUCLEO-H743ZI2 and LWIP

Hi everyone,I'm new wotking with the H7 and I got stuck on a trivial issue. I generated some code for the NUCLEO-H743ZI2 together with freeRTOS and LWIP. As exercise, I extended only a bit the code just waiting for telnet connection to send a simple...

MViti.11 by Associate
  • 557 Views
  • 2 replies
  • 0 kudos

FOTA for SMT32 MCU

Hi,I am working on FOTA for STM32 MCU using external flash to store the downloaded FW from server.The process should be upon complete download the FW, reset MCU to bootloader mode. Then read FW from external flash and write to starting address of app...

STM32 I2S Audio Frequency Question

Hey guys, I just need some clarification on the I2S Fs real quick, on the STM32F4DISCOV1 board. The formula in the reference manual says, Fs = I2SxClk/((16*2)(2*I2SxDiv + ODD)) or Fs = I2SxClk/((32*2)(2*I2SxDiv + ODD)) for 16 and 32 bit respectively ...

CFran.1 by Associate II
  • 3642 Views
  • 6 replies
  • 0 kudos

How to add Touch on USB Host

I have HID keyboard running on HS and trying to add a touch screen on FSbut when it enumerates the touch screen has a pif->bInterfaceSubClass = 0 , causing a fail in USBH_FindInterface pif->bInterfaceSubClass is automatically populated by the Touch ...