Ask questions, find answers, and share insights on STM32 products and their technical features.
Hello Everyone,I am trying to establish communication between SPI1 and SPI2 on the STM32F303 Discovery board.I have configured SPI1 as Master and SPI2 as Slave. I am receiving 0xFF when a Receive interrupt is fired in SPI2.SPI1 Master module is confi...
Hello everyone,I am using the Nucleo l476rg and trying to use the same general purpose timer (TimX X=2 to 5) to develope both the following functions:1)send several DMA request (let's say 1000) to transfer data from memory to SPI Data register with a...
Hello, I'm using RTC Wakeup to periodically kick WDG while system is in a sleep mode.I have setup RTC wakeup as following:/* RTC init function */ void MX_RTC_Init(void) { /** Initialize RTC Only */ hrtc.Instance = RTC; hrtc.Init.HourFormat ...
Hi everyone, I'm trying to use the Timer2 CH2 PWM Mode 1 to generate a 1 Hz signal with 50% Duty Cycle out of my PA0 pin but i can't get anything. Here's my code:#include"stm32f3xx.h" void TIM_PWM(void); int main(void){ TIM_PWM(); while(1){ } }...
HelloI'm using CubeIDE.I want to get list file which is containing OP code from "Startup_stm32f427zgtx.s" as a output of assembler.I heard that I could use -Wa, -al option here and there on the Webs, but I couldn't get the list file of the assembler....
Hey,I'm working with STM32F303RET6.I'm having trouble transmitting data with SPI3 (PB3, PB4, PB5 and PA15).Before I'll post my code here, I want to say that I am also working with SPI2 (PB12, PB13, PB14 and PB15) with the exact same configuration on ...
I'm trying to use DMA to handle my incoming Rx data and, ideally, I'd like to just increment the index to keep track of the incoming data, essentially like this:#define uartsize 2000 #define dma_buffer_interrupt_size 1 uint8_t UART_in_Buffer[uarts...
Microcontroller newbie here. I currently use an STM32F411 MCU.For every cycle of 500μs, I need to: 1-perform ADC conversion for 200μs at a high sampling rate (obtaining at least 300-400 samples in that timeframe); and 2-Transfer the ADC data to a com...