STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! STM32L072 USB

Hi all,A USB device should pull up DP when it detects VBUS power only. This is described in the USB standards and ST AN4879 factsheet. Question 1. Is there any other (smarter) way with the STM32L072 than to monitor VBUS power on a GPIO yourself (via ...

JanAtze by Associate II
  • 3336 Views
  • 7 replies
  • 0 kudos

Resolved! what does the status codes mean, how do you read them ?

here are the functions:/*** @brief Return the OSPI error code.* @PAram hospi : OSPI handle* @retval OSPI Error Code*/uint32_t HAL_OSPI_GetError(const OSPI_HandleTypeDef *hospi){return hospi->ErrorCode;}/*** @brief Return the OSPI handle state.* @PAra...

MNapi by Senior III
  • 2033 Views
  • 2 replies
  • 2 kudos

Resolved! stm32h747 GETCHAR_PROTOTYPE strangeness

Hi Guys,This is driving me mad!So this works perfectly echoing characters via uart8:  int ch = 'A'; while (1) { HAL_UART_Transmit(&huart8, (uint8_t *)&ch, 1, 0xFFFF); HAL_UART_Receive(&huart8, (uint8_t *)&ch, 1, 0xFFFF); }  Now if I have getchar ...

ACapo.1 by Senior
  • 3311 Views
  • 4 replies
  • 4 kudos

Resolved! STM32F1 DFP problem

Keil MDK Device DatabaseIf no parameter, it needs to look like thisSo, MDK can not setting "Option for target-debug" correctly 

Shiina_1-1711786767072.png Shiina_3-1711787043912.png Shiina_2-1711786921695.png
Shiina by Associate III
  • 2244 Views
  • 1 replies
  • 0 kudos

STM32 Printf UART does not wait for transmission to complete

Hi, I am trying to implement printf with UART using DMA. The problem is when i use consecutive printf's in my code, transmission of the first data is not being waited. I implemented a control block to check if the transmission is completed but it doe...

ÇSerp.1 by Associate II
  • 3097 Views
  • 3 replies
  • 3 kudos

Resolved! 3.3V power supply for NucleoF103

Hello,I need to power the NucleoF103 development board using an external 3.3V power supply. I have read in the NucleoF103 manual that this is possible by removing SB2 (to disconnect the voltage regulator output) and SB12 (to disconnect NRST). I also ...

Resolved! Erasing memory corresponding to segment 0: Erasing internal memory sectors [0 150] Error: failed to erase memory

Hi. I am using STM32L010C6tx processor. I drew the circuit myself. I did SYS-> debug serial wire. I was able to install without any problem. But sometimes "Memory Programming...Opening and parsing file: ST-LINK_GDB_server_a14408.srec File : ST-LINK_G...

ZKURT.1 by Senior
  • 16001 Views
  • 10 replies
  • 0 kudos

Putting STM32L452 Sleep Mode

I'm developing a board with an STM32L452 and would like to find out if I can low the power consumption.The current draining is 35mA, my goal is lower it to 20mA or less to achieve a requirement.I've tried putting the device to sleep putting SLEEP MOD...

jkfc95 by Associate
  • 987 Views
  • 1 replies
  • 0 kudos