STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

ART Accelerator allowing 0-wait state execution

On an 'F4, I was working on a lengthy piece of floating-point calculation, and had to benchmark it, so I thought I'd share some of the results. Basically, this is a linear calculation with moderate amount of constants and quite liberal amount of sinf...

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
  • 858 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
  • 1015 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
  • 1991 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
  • 722 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
  • 1293 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
  • 4480 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
  • 568 Views
  • 5 replies
  • 0 kudos