User Activity

Hi all,I have two pins where I want to read in the voltage with ADC: PA5 and PA7.Reading in each at its own with polling works fine.Now I want to read them in both and continously. I understand that the right way to go is DMA, contonious mode and sca...
Hi all,I am using a PWM timer. That is initialized and works fine.Code for init below:static void MX_TIM2_Init(void) {   /* USER CODE BEGIN TIM2_Init 0 */   /* USER CODE END TIM2_Init 0 */   TIM_ClockConfigTypeDef sClockSourceConfig = {0}; TI...
Dear all,I have a SPI Master, that sends out a "hello word" message working. The signals are correct and my scope can decode them.However, I can't, for the love of god get a slave working. Not DMA, not IT and not evenblocking mode.Here is my code for...
I am experimenting with timers... I have a list of time values that I want to use to replay a digital signal.What I try to do is to wait for the interrupt of the base timer, then set a new period value, then wait for the next interrupt.But it seems I...
Hi,I want to measure time between two events. The events come in as ext- interrupts. I set up a timer like this:TIM_MasterConfigTypeDef sMasterConfig = {0};   /* USER CODE BEGIN TIM6_Init 1 */   /* USER CODE END TIM6_Init 1 */ htim6.Instance = ...