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

Resolved! STM32F1 TIM and DMA Normal Mode?

Hello. I'm trying to play a music file using PWM with STM32F1. For this, I saved the sound data in flash memory with appropriate resolution. Using Timer 2 and DMA, I transfer the data to TIM2-> CCR1 register. Sampling Frequency 8 Khz. DMA Circular M...

FYOL.1 by Associate II
  • 1473 Views
  • 3 replies
  • 0 kudos

STM32 application split up

I'm working on an STM32L432KCU microcontroller. I want to develop two applications on the same MCU:An "OTA" app. This would load first. It uses a cellular modem to check for, and download firmware updates, and overwrite the existing application. Othe...

Trap NULL pointer dereference

Hi,We are using STM32H750 for the new product development. The IDE is IAR Embedded Workbench and the RTOS is uC/OS-II.We found that it is OK to dereference NULL pointer on STM32H750. Any way to trap NULL pointer dereference to generate an access vio...

ckw089 by Associate II
  • 1590 Views
  • 4 replies
  • 0 kudos

While configuring CAN FDCAN1 Tx and FDCAN1 Rx for NUCLEO-G474RE , the loopback mode is working but while connecting with Canoe Analyzer in Normal Mode, I am receiving frame error(Frame format : "FD mode without Bitrate Switching" ).

The CAN transceiver IC, i am using : TJA1057GT/3 , and I am seeing the some data waveform on oscilloscope but decoding is not happening. the baud rate varies for the CAN FD is from ~300kbps to 1Mbps(large fluctuation).  Clock Divider : Divide kernel ...

VSing.21 by Associate
  • 1297 Views
  • 3 replies
  • 0 kudos

Resolved! Can I turn off the FMC prefetcher without turning off the cache?

I was struggling for a while to do a deep dissect of the cache behavior of my STM32F7508-DK device.Especially, when accessing SDRAM connected to FMC, the performance behavior was weird(some was much better than the others while the code looked semant...

KMaen by Associate III
  • 827 Views
  • 2 replies
  • 0 kudos

I2C LL

I have some questions about how to start I2C on LL.Firstly, I rewrote the HAL code in LL and was a little surprisedWhy does it take so much code to read the data? virtual Status::statusType ReadByteArray(uint8* buffer, uint32 size) override { if (...

Resolved! HAL_I2C_Mem_Write is not working properly

Hello all,Must use I/O expander (PCA9534PW) with STM32F334K8T6.Code:HAL_I2C_Mem_Write(&hi2c1, 0x20<<1, 0x03, I2C_MEMADD_SIZE_8BIT, 0x00, 1, 15000);All code (CubeMX generated): https://pastebin.com/GKNxHSut The usual HAL_I2C_Transmit is not suitable, ...

Glebiys by Associate
  • 2181 Views
  • 1 replies
  • 0 kudos