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! I am using STM32F070F6P6 Help me about modbus/SPI

i want to build continuous potentiometer with dma which is sensing wind direction . I have to use modbus because send data on an another STM32F070F6P6 microcontroller, but in the reference manual pdf(page 22) it says we can't work modbus communicati...

Hhope.1 by Associate
  • 2405 Views
  • 3 replies
  • 0 kudos

I am trying to optimize my code on a STM32F303, because it seems to be abnormally slow. Is it possible the CPU is running at a lower clock speed?

I've got a function that's literally only a switch statement, which is compiling to a compare, a branch, and a TBB instruction. Yet it's taking 48 cycles (as measured by TIM2->CNT before and after). How can this be? This is insanely slow. I've found ...

JBell.5 by Associate
  • 920 Views
  • 5 replies
  • 0 kudos

Resolved! Using HAL_Delay inside the DMA callback

Hi everyone, I'm new to MCUs and programming in general and currently trying to calculate the average of the plateaus from 3 ADC input channels. I'm using Exponential Smoothing to reduce the noise and an algorithm to detect the plateau. Even tho my s...

0693W00000FBjUwQAL.png
AMahm.1 by Associate II
  • 1716 Views
  • 4 replies
  • 0 kudos

Resolved! OctoSPI HYPERBUS PSRAM Memory Mapped - STM32H7B3I-EVAL

I am trying to use the OCTOSPI2 (connector MB1242) in dev kit STM32H7B3I-EVAL with the Hypebus PSRAM IS66WVH8M8ALL-100.I successfully configured the memory to write and read in memory map mode, however this can only be done if the write is immediatel...

DReis.2 by Associate II
  • 4824 Views
  • 2 replies
  • 0 kudos

Resolved! Why is this not working ??

Hi guysI have a real strange issuetrying to move two 8bits values in to one 16bit variable,can someone please tell me why this does not workIt should OR the lsb to the msb      Sensor_Flow = I2C1_DATA[0] ;      Sensor_Flow = Sensor_Flow << 8;      Se...

JHERI by Senior
  • 786 Views
  • 5 replies
  • 0 kudos

there any solution to erase one page of sector, without erasing whole sector? and write a data this page without affecting whole sector. i use stm32f410rb nucleo board

i am using stm32f410RB Nucleo board i want to write and read some data in flash. In stm32f410RB 128 kbyte of flash and five sector, i want to write last sector this sector is 64k byte , but i want use only one page 2k byte,  how can I erase one page...

Lkhod.1 by Associate II
  • 596 Views
  • 2 replies
  • 0 kudos

Resolved! SPI with DMA only transmit and receive one byte of data?

Hello Comunity,I am trying to receive data with stm32h745 from stm32f407. In polling mode and IT mode no issue of getting multiple bytes of data. But with the DMA I can only receive and transmit one byte of data and nothing more. DMA is configured in...

EOzde.1 by Associate III
  • 677 Views
  • 2 replies
  • 1 kudos