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! How to perform a system reset by software?

I'm programming a L432KC Nucleo using STM32CubeMx. When a certain condition is given in my program I want the controller to reset itself instead of pushing the external reset button. For example,if ( x == 5){ \\reset the controller }Is there a way of...

xpp07 by Senior
  • 1285 Views
  • 1 replies
  • 1 kudos

Not able to initialize bxCAN controller of STM32F042K6

Hi,I tried to use the ST driver function HAL_CAN_Init(CAN_HandleTypeDef* hcan) to initialize the CAN controller. Here is the code:HAL_StatusTypeDef HAL_CAN_Init(CAN_HandleTypeDef* hcan){ uint32_t status = CAN_INITSTATUS_FAILED; /* Default init status...

ZDu by Associate
  • 482 Views
  • 0 replies
  • 0 kudos

The Ultimate Capacitive Touch Sensor StackUp Guide

As capacitive sensing undergoing such a rapid growth and penetrating more and more industries, it attracts the interest of many engineers with little to none experience with it.That’s why, we have created this guide and we would like to share it wit...

PAram by Associate II
  • 1979 Views
  • 2 replies
  • 0 kudos

__libc_init_array and STM32Cube hardfault

Posted on May 18, 2016 at 17:18Hello, I'm using an STM32F373C-EVAL and both the Atollic and AC6 IDE tool. When I try to import a project from the STM32CubeF3 V1.4.0 into both the IDE, I get a hardfault error during the __libc_init_array branch instr...

eddiemat by Associate II
  • 1441 Views
  • 3 replies
  • 0 kudos

Cause of STM32 internal flash memory wear

Hello, I would like some clarification on the internal flash memory wear of a stm32f722ret, which is rated at a minimal 10000 P/E cycles. An example:Suppose there is a flash block/page/sector with two bytes, A and B. Byte A gets programmed (for examp...

AOver by Associate
  • 678 Views
  • 1 replies
  • 0 kudos

Resolved! STM32F072 USART3 interrupt error

recently I used the STM32F072 USRT3 to communicate with my peripheral, the configuration of USART3 is follow:static void USART3_Init( void ){ GPIO_InitTypeDef GPIO_InitStructure; USART_InitTypeDef USART_InitStructure; NVIC_InitTypeDef NVIC_InitStruct...

User.152 by Associate II
  • 1413 Views
  • 6 replies
  • 0 kudos

ADC INJECTED Wrong values reading

Posted on June 28, 2018 at 22:18Hello everyonei have a question, i am using 3 Ranks ADC injected mode for reading potential resistors..the problem is when ever i change one value it affects the other channel reading.examplechannel 1 reading is 1.3vc...

How can I send interrupt command via CDC in STM32?

Posted on February 12, 2018 at 08:18CDC has 3 endpoints (IN, OUT and Interrupt). I have no problem with sending messages via IN and OUT (bulks), but there is a problem when I try use interrupt endpoint (0x82).  I created similar method to USBD_CDC_T...