STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 352 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
  • 1655 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
  • 1187 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
  • 542 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
  • 1214 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...

Timer3 runs 2x faster than expected

Posted on August 04, 2016 at 17:11Timer3 runs 2x faster than expectedI know what many readers are thinking but read onI set my STM32F746 (DISCOVERY PCB) for SysClk=216 MHzAHB Prescaler set to �1 thus HCLK = 216 MHzAPB1 prescaler set to �4 thus PCLK1...

picguy2 by Associate II
  • 1950 Views
  • 6 replies
  • 0 kudos