User Activity

Hi everyone, I'm experimenting the DAC features with my STM32F303RE and I have a dubt. .RM says: "If the software trigger is selected, the conversion starts once the SWTRIG bit is set".Now, if I only set the DAC_DHRx and the EN bit, the DAC works pro...
Hi, I'm trying to calibrate the ADC3 on my STM32F303RE microcontroller. In according to the REF MANUAL, I enabled the ADC voltage regulator and then started the calibration but code get stuck in the while loop forever (ADCAL is always 1). I put the f...
Hi, i'm struggling with this piece of code here:int main(void){ UART2_Tx_init(); ADC_interrupt_init();     while(1){   }   }   /***********ADC***********/   void ADC_interrupt_init(void){ RCC->AHB1ENR |= (1U<<0); //GPIOA clock enable GPIOA->MOD...
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){ } }...