STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 3677 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
  • 4805 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
  • 1550 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
  • 1006 Views
  • 4 replies
  • 0 kudos

Possible DMA reading problem from ADCx_CDR

Dear All,I am trying to develop a code for STM32H742VGT revision V. ADC1 and ADC2 work in regular simultaneous mode and they are set to convert 6 channels. All the settings are exactly same to have same sampling and conversion time. Of course, ADC1 a...

0693W00000Y9gWIQAZ.png
TA1 by Associate III
  • 574 Views
  • 0 replies
  • 0 kudos

Resolved! SPI interface issues on STM32U575VGT

I´m using the SPI1 via the alternative pins PB3-PB5 and I'm experiencing various issues. I have previously used the STM32F722 with somehow same CubeIDE setup and code and that works perfectly.I have made a simple test application that only sends one ...

MJens.2 by Associate II
  • 1080 Views
  • 5 replies
  • 0 kudos

STMod+ on H757I-EVAL Board

Hey Folks.So, I have the H757I-Eval Board that I got as a gift, and given that I'd like to try some stuff and even follow some tutorials, I miss the exposition of the PINs. Reading TN1238 which talks about a fan-out expansion board, it says "The prin...

0693W00000Y9g1jQAB.jpg
nnoK by Associate
  • 391 Views
  • 1 replies
  • 0 kudos