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

Evalkit-robot-1 Modbus

Not getting expected responses from motor according to ST manual. @Enrico Poli maybe you knowIs there something wrong with our Modbus packets or is what we are seeing correct and the manual is wrong?  The answers here seem OFF TOPIC and cause confusi...

sdownsee_0-1687983105808.png sdownsee_1-1687983105814.png
sdownsee by Associate II
  • 524 Views
  • 0 replies
  • 0 kudos

Rust, STM32L451, entering Stop Mode

Hi, I have a problem entering Stop Mode 2 with STM32L451CCU6. My current consumption is around 600 uA, while expected should be much lower. What can cause this problem? Here is the code:  use cortex_m::asm; use cortex_m_rt::entry; use stm32l4xx_hal::...

rbb by Associate
  • 422 Views
  • 0 replies
  • 0 kudos

Resolved! ADC Reading Consistency

I am feeding 1.75V into an ADC input on a STM32F407 and see the voltage source is clean and consistent on a scope.  I continuously read the value every 20ms.  I see the ADC value change between 2108 to 2130.  How consistent should the value be?  I'm ...

LMorr.3 by Senior II
  • 1520 Views
  • 5 replies
  • 2 kudos

What is the purpose of OSC32 in STM32

I am designing my first PCB. I am working on the project that needs low power consumption. For this we chose STM32L031G6U6 microcontroller. After collecting some measurements, the CPU will be put into sleep mode and wake up every minute or so for a f...

LPetr.1 by Senior II
  • 5119 Views
  • 2 replies
  • 0 kudos

Clear SPI Rx buffer using DMA and resume receiving.

Hello. Two NUCLEO-G431RBs are used for SPI communication.One is used as SPI master and one as SPI slave, and the pins of SCK and MOSI are connected to each other using jumper cables. Communication works fine most of the time.However, when the other p...

TKawa.9 by Associate II
  • 1327 Views
  • 1 replies
  • 0 kudos

Reading RPM from Motor using hall encoder

I am trying to implement a code that can read the velocity of a DC motor with built in encoder. I am using STM32 F446RE and a CQrobot motor equipped with an Hall encoder.. specifications below:http://www.cqrobot.wiki/index.php/DC_Gearmotor_SKU:_CQR37...

totino5 by Associate
  • 900 Views
  • 0 replies
  • 0 kudos

Resolved! DMA access on M7 Device

I'm using a STM32H745 MCU, with two processors, one of which is an M7. With the M7 I have problems with the DMA, I have seen that it is a very discussed topic on the internet, where there are many solutions, but I still have some doubts: I would like...

FMass.1 by Associate III
  • 848 Views
  • 1 replies
  • 0 kudos

CANBUS Working on Loopback but not in normal

I am trying to set up a CANBUS connection between two STM32L4 Microcontrollers and while having has been setup correctly and none of the microcontrollers are sending error messages I cannot seem to get a Receive message from either CAN transceiver.Th...