STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Encoder read error

Hi there!i start to work with a rotary encoder, i configurate a timer 3:in this way and i enable the interrupt . for read the encoder inside the timer interrupt i write nuber= (TIM3->CNT)>>2;so when i read the varible the first time i see 0 - 1- 2- 3...

0693W00000Y93vJQAR.png
SGian.1 by Senior
  • 739 Views
  • 3 replies
  • 0 kudos

Resolved! SDIO/EMMC version of STM32 versus EMMC IC version

Hi I want to use an EMMC( INSIGNIS NSEC53K) with STM32F405 SDIO interface. STM32F405 manual says: "Full compliance wit MhultiMediaCard System Specification Version 4.2."the EMMCwe have chosen: INSIGNIS NSEC53K. Its datasheet says:"Compliant with eMMC...

MK..1 by Associate III
  • 872 Views
  • 3 replies
  • 0 kudos

How to send 10-bit message using HAL_SPI_TRANSMIT

I am trying to interface with an AD8400 single channel digital potentiometer. It communicates over SPI and requires 2 address bits and 8 data bits to set its resistance. I am having trouble figuring out how to send a 10-bit message.I have set the dat...

0693W00000Y9hW9QAJ.png 0693W00000Y9hW4QAJ.png
PMalh.1 by Associate II
  • 3666 Views
  • 9 replies
  • 0 kudos

ADC reading on STM32H7B0 CPUs

Hi!I am having problems reading accurate values using the STM32H7B0 CPU. I have identical boards with STM32H7A3 and STM32H7B0 CPUs and the results from the B0 boards are off by a lot. I have also tried to run the ADC in 12 vs 16 bit mode and the scal...

Resolved! How to Trigger DMA from a TIM with HAL

Hi,I am trying to have a DMA move one unit of data every time the timer finishes it's counting period. The DMA would be circular so it would continually do this. I am going to be moving from a buffer to the CCR register of a pwm output. I saw a HA...

FKopp.1 by Associate II
  • 4780 Views
  • 2 replies
  • 0 kudos

Resolved! Which LSE Crystal to use on Discovery Board

I have an STM32L100C-DISCO board (MB110B Rev. B) and I want to install the LSE crystal, which is not populated by default. I consulted the schematic in the UM1656 "user manual for the 32L100CDISCOVERY discovery kit". Crystal X3 has a part number of...

LHuxl.1 by Associate II
  • 1537 Views
  • 8 replies
  • 1 kudos

STM32H7 CPU runs too slowly occasionally

test code as below:#include <rtthread.h> #include <rthw.h>   #define CPU_USAGE_CALC_TICK 100 #define CPU_USAGE_LOOP 100   static rt_uint8_t cpu_usage_major = 0, cpu_usage_minor= 0; static rt_uint32_t total_count = 0; static rt_uint32_t _c...

0693W00000Y9b8LQAR.png 0693W00000Y9b9TQAR.png
zhuij.1 by Associate II
  • 999 Views
  • 4 replies
  • 0 kudos