HAL_UART_Receive_DMA(&huart1,... and HAL_UART_Receive_DMA(&huart2,.... Usually work well but not if I use in the same program TIM2 with the following instruction HAL_TIM_Base_Start_IT(&htim2)....
The timer TIM2 keep working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-10 5:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-10 5:40 AM
Please don't put the entire question in the title/summary.
​
Identify the model of STM32 and make/model of board you are working with.
​
I​s TIM2 interrupting at some excessively high rate? ie more than few hundred KHz
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-10 7:57 AM
Inctease the stack size a bit, put all non systick interrupts at same level and check if tim and usart are sharing the same intweeupt vector, or that your code is stuck in interrupt. Debug witg stlink to nail down what is wrong.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-10 8:32 AM
Paste your code so we can better see what could be the issue.
TimerCallback tutorial! | UART and DMA Idle with multiple UART instances tutorial!
If you find my solution useful, please click the Accept as Solution so others see the solution.
