User Activity

I'm trying to get ADC values from multiple channels of ADC1 of STM32F103C8T6 using DMA where conversion is triggered by TIM3 every 1ms. However, I'm not seeing the right values. I tried the polling mode and that worked fine. Here is the main function...
Hi,I'm trying my hand at bare metal programming on the F4 Discovery board. I've been loosely following this code to get the RCC configuration sequence right to set the main sys clock to 168MHz but with my adaptations. I'm able to see 16MHz on MCO1 (P...
I have a Pi that sends data to the MCU via SPI. I have the SPI running in DMA circular buffer mode on the MCU. In the TxRx callback, the data from the Pi is processed, and then the motors are turned ON/OFF, etc. This works, however, each time the Pi ...
I am wondering which is a faster way to stop PWM generation. Would it be through HAL_TIM_PWM_Stop or by setting __HAL_TIM_SET_COMPARE to zero? I'm getting SPI commands via a raspberry pi and then based on those values, I start or stop the motors. The...
I have both TX and RX on SPI1 on a F407 running in DMA circular mode. In the HAL_SPI_TxRxCpltCallback I parse the data that I receive from the Pi (since the Pi and the STM32 communicate over SPI1). Does the TxRx callback get called when BOTH, TX and ...
Kudos from