STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! SPI1 initialization without HAL

Hello I am using nucleo G031K8 with STM32 cube ide and I am trying to initialize the SPI1 peripheral with registers.Here is my init code and the corresponding wrong registers. The RCC and GPIO registers are fine. Only SPI1 registers are wrongHow can ...

0693W00000WHm3KQAT.png
Tommino by Senior
  • 1156 Views
  • 5 replies
  • 0 kudos

Query on operation of SAI in asynchronous slave mode

Hi Team,I have a scenario where I am operating the SAI1_A peripheral in the Nucleo-L552ZEQ . The device is configured to be in asynchronous slave mode. The master device generates the SAI_FS, SAI_SCK and the SAI_SD signals. Could you please clarify o...

Jansunil by Associate II
  • 1563 Views
  • 10 replies
  • 0 kudos

SPI2 Problem STM32F303CC

Hello everbody, Im using a STM32F303 and want to communicate with a MAX31855.Im using the STM in full duplex master mode, under 1MBit/s data rate and standard settings. CS ist working fine, SCK is working fine (want to read 4 times 8 bit, 32 pulses),...

PP1 by Associate
  • 994 Views
  • 2 replies
  • 0 kudos

I have problem using uart on stm32f207ZG.

Hello, people.I have problem using uart on stm32f207ZG, for some reason my board only uses 4 uart and the others don't work. I set everything up as in the example, everything is assembled and flashed, but the UART is silent from 1 to 6 UART, except f...

DBezk.1 by Associate
  • 592 Views
  • 2 replies
  • 0 kudos

STM32f103 EXTI external interrupt problem.

For 3 days I have been increasing with the problem. I explain what's going on. I am trying to read using stm32f103 the width of the PWM pulses coming from the 4 channels of the RC receiver. I configured external EXTI interrupts, on 4 channels, edge t...

KSido.1 by Associate
  • 1519 Views
  • 2 replies
  • 0 kudos

Resolved! How accuracy is internal HSI RC clock

Try to use STM32G0 LQFP32 MCU do accuracy frequency measurement, but there is no HSE crystal interface, so internal HSI RC will be for system clock, the accuracy of the system clock will affect the frequency, how accuracy is internal HSI RC clock

New.Fish by Associate III
  • 992 Views
  • 3 replies
  • 0 kudos

Problem with slave SPI receiving

Hello, i've got trouble with receiving SPI in interrupt.Im running 2 SPI's on STM32F103RCT6; first is transmit only master, second is receive only slave, bus speed is 2MHz on both. SYSCLK is 64MHz.Transmitting works great (blocking mode), but HAL_SPI...

MMcAl.1 by Associate III
  • 480 Views
  • 1 replies
  • 0 kudos

Resolved! How can I program the microcontroller for multi-thread?

I want to disassemble the ADC function and BLE data transmission asynchronously.So, I want to program the microcontroller using multi-thread.When I coded BLE, It look already used multi-thread but I couldn't understand it exactly.Is there any example...

KKIM.6 by Senior II
  • 1952 Views
  • 5 replies
  • 0 kudos

Resolved! STM23f303-re vs STM32F303-ze virtual comm port

Hello,I have a project working on the F303-re Nucleo board. I want to run it now on the F303-ze Nucleo board. Apparently virtual com port doesn't work the same on the ZE as it does on the RE. I can take a new RE board, copy the binary file to th...

DPeki.1 by Associate II
  • 1031 Views
  • 4 replies
  • 0 kudos

Infinite SPI interrupt request

Our custom board is using the stm32u585. The MCU is the master, communicating with a accelerometer through SPI port 3.When reading the data from the accelerometer, using HAL_SPI_Receive_IT or HAL_SPI_Receive_DMA, the SPI 3 interrupt is constantly gen...

VPHAM.1 by Associate
  • 668 Views
  • 2 replies
  • 0 kudos