STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

HAL I2C Slave

Posted on April 24, 2018 at 12:08I'm trying to make I2C Slave using examples from Cube.The wizard can write the register, but when reading the HAL_I2C_ListenCpltCallback  is called only once.Can someone share their working code with me?  I don't und...

Resolved! F767ZI issue using IAP with Dual Bank Flash

Posted on February 10, 2018 at 00:46 Im Using STM32F767ZI Nucleo Board which has 2Mbytes of flash for code storage. It also allows for the flash to be evenly divided between two banks. This gives bank 1 one Mbyte of data, and bank 2 one Mbyte of ...

0690X00000609f7QAA.png 0690X00000609fCQAQ.png
ayarema by Associate II
  • 4003 Views
  • 12 replies
  • 0 kudos

One Pulse and HAL_SPI_Receive

I am using soft pulse triggering via "__HAL_TIM_ENABLE(&htim1)" but have a problem with the code shown below.HAL_TIM_OnePulse_Start(&htim1, TIM_CHANNEL_1);volatile uint16_t array [300];HAL_Delay(1000);      // let ADC power up      while(1)       {  ...

SSmit.0 by Associate II
  • 833 Views
  • 3 replies
  • 0 kudos

STM32F4 I2S clock configuration for stereo PDM

Hi guys,I have an STM32F412 discovery board and am attempting to find the best solution for connecting 8xPDM microphones in 4xStereo pairs and writing the resulting WAV to USB. The method I'm currently attempting is:Use 4xI2S peripherals, each with 2...

0690X000006CDC5QAO.jpg 0690X000006CDCKQA4.jpg
sully by Associate II
  • 1747 Views
  • 2 replies
  • 0 kudos

Resolved! STM32F103C8T6 TIM1 interrupt not occuring

I would like to have an interrupt every second on my TIM1 I use a STM32F103C8T6Here is my timer init:  static void MX_TIM1_Init(void) {   TIM_ClockConfigTypeDef sClockSourceConfig; TIM_MasterConfigTypeDef sMasterConfig;   htim1.Instance = TIM1...

paul sauv by Associate III
  • 766 Views
  • 1 replies
  • 0 kudos