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

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
  • 1399 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
  • 2532 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
  • 1028 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
  • 1978 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
  • 5041 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
  • 883 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
  • 686 Views
  • 2 replies
  • 0 kudos