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

Resolved! 8bit data transfer on a SPI's 32bit DR register

Using STM32F767 Nucleo board and STMCubeIDE I am trying to transmit SPI data with data size of 8bit per transaction while I have setup my SPI2 in Full Duplex mode.Problem is that although I am able to transmit from MCU and receive on slave side the d...

A Maq by Senior
  • 2118 Views
  • 2 replies
  • 0 kudos

DMA and USART error during transmission

Hello,Here is my DMA and USART configuration:(BaudRate=2250000)DMA_InitTypeDef DMA_InitStructure; NVIC_InitTypeDef NVIC_InitStructure; RCC_AHBPeriphClockCmd(RCC_AHBPeriph_DMA1, ENABLE); NVIC_PriorityGroupConfig(NVIC_PriorityGroup_2); NVIC_In...

JJohn.3 by Associate II
  • 491 Views
  • 2 replies
  • 0 kudos

About Starting ADC

Hello.​I am using the STM32L4 series.I want to send the ADC converted sensor value to the PC via UART communication.​I started ADC in /* USER CODE BEGIN 2 */ zone of "main.c" output from CubeIDE, but it failed.When the start instruction is given twic...

Mmee by Associate II
  • 1839 Views
  • 8 replies
  • 0 kudos

Function : __HAL_TIM_SET_COMPARE(&htim2,TIM_CHANNEL_3,(duty_c)*400); is disturbing my 16x2 LCD routine which demands a delay to receive and display data on the screen.

Hi, I have a code in which I am controlling a PWM output in Center Aligned Mode using Timer 2 Channels 2 (inverted polarity) and 3, both having their duty cycles changed by the functions:__HAL_TIM_SET_COMPARE(&htim2,TIM_CHANNEL_2,(duty_c-0.05)*400);_...

FAleg.1 by Associate II
  • 15152 Views
  • 11 replies
  • 0 kudos