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

Resolved! STM32L4+ USART RX+Interrupt Not working

Hello,I am trying to configure USART1 on Nucleo-32 board using HAL. Code is suppose to first it receive the message and then it transmits the same message.My problem is RDR is showing reading garbage value. Can someone point out was is wrong?(Please ...

STM32F4 USB resistor confusion

Posted on October 12, 2012 at 09:47The datasheet of the STM32F405, appendix A.3 shows example application circuit for USB peripheral, it does not show any resistors.But, the schematic for the STM32F4Discovery shows two 22 ohm resistors on the DP and...

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
  • 3625 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
  • 734 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
  • 1482 Views
  • 2 replies
  • 0 kudos