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

STM32L4 I2C_EV Interrupt without any interrupt flag

Sometimes I'm getting a I2C_EV interrupt called and none of the possible flags which can cause an interrupt are set. Only flags that are set are BUSY and TXE (ISR is 0x00008001), both of which shouldn't cause an interrupt.void I2C1_EV_IRQHandler(void...

Flash erase error on STM32L151CB-A

I am trying to store configuration data in flash on the STM32L151CB-A using the HAL libraries. I reserved the last page in flash for this. However, I see that already at the beginning of main the OPTVERR bit is set. (FLASH->SR: 0x80C) I never program...

URaic by Associate II
  • 611 Views
  • 2 replies
  • 0 kudos

HAL_I2C_Mem_Read reads only correct if the parameter is wrong

Posted on September 24, 2014 at 13:18Hi,I have a STMCube generated project wirh I2C memory 24LC512 with following problem. The line:Status = HAL_I2C_Mem_Read(&hi2c1, IIC_ADDRESS+1, 0, I2C_MEMADD_SIZE_8BIT, pNVRawData, NVRawDataLen, 1000);is correct ...

Osto by Senior
  • 3357 Views
  • 11 replies
  • 0 kudos

where do I find libraries and support to connect touch tft

I see a lot tft on ebay and aliexpess which come with libraries and support for arduino and raspberry.I do not see anything for STM32. I am trying to get working 320 x 480. On arduino I had it working the next day, tons of sample programs and librar...

MNapi by Senior III
  • 438 Views
  • 2 replies
  • 0 kudos

Resolved! How to initialize external SRAM in system_stm32l4xx.c

I am trying to initialize my external SRAM before the main loop runs. Using the STCubeMX it generated the code for me to have me FMC controller initialized after Hal_init() and Hal_GPIO_Init() in Main.c. However, I need the SRAM to be initialized bef...

NUCLEO-F303RE ADC interrupt issue?

Hello everyone,could someone please help with the following, I am trying to use ADC with interrupts. Doing the same thing with STM32F103C8T6 it works without issues, but using nucleo board it doesn't.Could someone please have a glance on the code ? (...

Resolved! Issue with PLL of the STM32F302

Hello, we're using the microcontroller STM32F302C8 and we have a problem with the PLL.The problem is when we enables the PLL the microcontroller is reset. We have made several tests using HSI and HSE, but always the same result, a reset after to enab...

GYacc by Associate II
  • 1429 Views
  • 4 replies
  • 0 kudos