STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

New possibilities for the ultra-low power segment!

STM32U0 is the first Cortex-M0+ with a static consumption of only 160 nA in standby mode with RTC (Real-Time Clock) and 16 nA in shutdown. It also achieves 118 points in CoreMark and targets SESIP level 3 and PSA level 1 focusing on firmware code pro...

gif-stm32u0.gif

Resolved! Updating password stored on MCU flash

Hi All,​I have a situation where I would like to allow STM32H7 based embedded web server users to update the password which is originally hardcoded in the code using const keyword. Which effectively means password is placed in internal flash memory o...

A Maq by Senior
  • 709 Views
  • 3 replies
  • 0 kudos

How to use SPI for CD4094BE shift register

Hi Experts, I have a project like below. I am trying to send the data using SPI but the LEDS are not glowing in sending pattern. I am new to STM32. Could anyone please let me know if SPI can be used in this scenario OR not. STM3...

Bkris.2 by Associate II
  • 823 Views
  • 5 replies
  • 0 kudos

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
  • 1814 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
  • 591 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
  • 1095 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
  • 4355 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
  • 455 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
  • 348 Views
  • 2 replies
  • 0 kudos