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

Unable to reinitialize SAI peripheral

Hi,I'm working with self designed board (STM32F765 MCU) and currently able to initialize SAI2 peripheral to work with codec in DMA mode.At some point in my code, I need to change the sample rate of my codec (through MCLK).The sequence of operations i...

pborto by Associate II
  • 1774 Views
  • 4 replies
  • 2 kudos

Resolved! what's the __COMPILER_BARRIER?

hi, everyone! May you have a nice day! In en.stm32cubeg4_v1-5-0\STM32Cube_FW_G4_V1.5.0\Projects, core_cm4.h file. I encounter the following codes: __STATIC_INLINE void __NVIC_EnableIRQ(IRQn_Type IRQn){  if ((int32_t)(IRQn) >= 0)  { ...

Matt.Dash by Associate II
  • 4023 Views
  • 4 replies
  • 0 kudos

combining example and cubemx projekt

Hii'm working on a projekt where we want to use the LoRaWAN capability's of the B-L072Z-LRWAN1 borde as well as it's adc's and dac's to do this we set up the adc/dac with cubemx but also use the example projekt from the I-CUBE-LRWAN "expansion" packs...

thejsm by Associate
  • 1150 Views
  • 3 replies
  • 0 kudos

OCTOSPI: NCS stays high on STM32U5A9

I am trying to access a NOR flash via OctoSPI1. CLK is connected to PF4, NCS is connected to PI5. While I can see clock cycles on PF4, PI5 stays high all the time.Does anyone have an idea, what could be wrong?Trust zone is disabled. The register sett...

Meixner by Associate III
  • 1478 Views
  • 3 replies
  • 0 kudos

STM32G0B1 Composite USB

Hello I'm using a STM32G0B1. I programm it with CubeIDE 1.13.2. I used the CubeMX to define the hardware and I also use the HAL together with FreeRTOS.I want to configure the MCU as a composite USB device. It should provide HID and VPC (Uart) for con...

Katagia by Associate II
  • 1651 Views
  • 1 replies
  • 0 kudos

STM32F205ZET + USB3320 (USB HS Host MSC)

Hello everyone,I'm working on a new project that needs USB communication between two controllers. My initial design was based on the STM32L552, but due to market availability, I had to switch back to the STM32F205Z. So, everything has changed includi...

0693W00000UnRODQA3.png
Zaher by Senior II
  • 1494 Views
  • 1 replies
  • 0 kudos

RTC Issue with STM32LCVT6TR

I am very new to STM32 platform and this is our first project on STM32. We are facing issues with STM32LCVT6TR RTC.This RTC has Alarm A and Alarm B set at predefined times and go into the shutdown mode and they should wake up on predefined alarms A a...

UART Interrupt problem with STM32L412KB

 I am encountering an issue with UART receiving interrupt, where it intermittently stops receiving data after a series of AT commands have been sent to a GSM modem. The UART communication is configured to use DMA for data transfer, and we have assign...