STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Hard fault caused by unaligned access

Hi, I have an issue when trying to copy a struct by direct assignment on STM32H743; The code:   void function(const structName_t *incomingStruct) { Signal_t sendSignal; sendSignal.desiredStruct = *incomingStruct; // <-- Causes unaligned access .....

RBrec.1 by Associate III
  • 6202 Views
  • 23 replies
  • 4 kudos

STM32U5 LL example ADC1 and ADC4

The example project does not provide information on ADC4 register configurations, ADC4 seems to be different then prior peripherals (e.g. compared to L4).  ...\NUCLEO-U575ZI-Q\Examples_LL\ADC\ADC_SingleConversion_TriggerSW_IT_InitSTM32CubeMX configur...

edw by Associate
  • 872 Views
  • 0 replies
  • 1 kudos

spi slave weird data on mid-high speeds ?!

I am having weird issue with STM32F767 (configured to run at 200mhz) that needs to be SPI slave .. I configured it with 0,1 (clock low, second edge), hardware cs.. when master sends data at 350kbps everything is ok, when master sends at higher speeds...

arhi by Associate III
  • 3109 Views
  • 24 replies
  • 1 kudos

Resolved! Weird Jitter when using DMA to generate PWM in GPIOs

So i was trying to generate pwm on all gpio pins of a stm32F103 for my application. I found followed this guide:https://www.hackster.io/javier-munoz-saez/all-pins-as-pwm-at-the-same-time-baremetal-stm32-1df86f the essence is using the function:      ...

Okbit_0-1702369391874.png Okbit_1-1702369391855.png Okbit_2-1702369391867.png
Okbit by Associate II
  • 1127 Views
  • 4 replies
  • 3 kudos

Resolved! Configure ADC sampling frequency STM32H723ZG

Hi All,I am using a STM32H723ZG Nucleo board. I am using the ADC in 8-bit mode. The clock is set to 96 MHz, and according to the application note it should use 6 cycles to sample and convert which would result in 16 Msps, but it seems to be between 8...

elso_0-1702459071410.png
elso by Associate III
  • 664 Views
  • 1 replies
  • 1 kudos

Resolved! can bus ack signal

I want to scan (acquire) data from a vehicle can bus.1. Is it possible to prevent the ACK bit from occurring in CAN communication in the MCU?2. If I set the ID to receive all data, won't an ack occur?

YPark.5 by Associate II
  • 1516 Views
  • 3 replies
  • 1 kudos