STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

ERROR Transmitting data over USB.

Hi, I generated the code using cubeMX I'm trying to transmit the data over USB continuously, but i'm getting USBD_busy ERROR so to avoid this error I was checking the TxState value to transmit the next data. But still im missing some data. How do I s...

MR.11 by Associate II
  • 422 Views
  • 1 replies
  • 0 kudos

Resolved! STM32H7 Ethernet RMII reference clock can be input?

I have a board where STM32H743 is connected to a Microchip KSZ8873 for the PHY.In CubeMX generated code and examples, pin PA1 (RMII_REF_CLK) is configured as alt. function GPIO_AF11_ETH, mode GPIO_MODE_AF_PP.This works fine on eval. boards with a nor...

Pavel A. by Evangelist III
  • 3007 Views
  • 1 replies
  • 0 kudos

STM32H7 rev V vs Y DFU UART GO command issue

We have deployed quite a few of our products using STM32H753(ZIT6) rev Y and all was OK. All recent ones that we have around are rev V and they have issues with DFU bootloader over the UART. None of the issues that we have are listed in ERRATA notes ...

Resolved! BUGS: HAL_NOR_ProgramBuffer() is riddled with them.

The HAL_NOR_ProgramBuffer() function in stm32h7xx_hal_nor.c has a few defects. It's untested code because it couldn't possibly work as it is. I'm not complaining about the defects. What bothers me is I can't find a way to register the defects with...

DOsbo by Senior
  • 697 Views
  • 3 replies
  • 0 kudos

How to enter stop mode and how to wake up ?

Hi list,I'm using stm32f103 and stm32cude ide. And I'm also using FreeRTOS.This is my stop mode code.This code is called in TimerCallback which is created from FreeRTOS.HAL_SuspendTick(); __HAL_RCC_PWR_CLK_ENABLE(); //HAL_PWR_EnterSTOPMode(PWR_MAINRE...

Clee.4 by Associate II
  • 1159 Views
  • 2 replies
  • 0 kudos

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
  • 905 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
  • 629 Views
  • 2 replies
  • 0 kudos