STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

I am using the nucleoH743ZI with Free RTOS. Try to send data via UART from each TASK.In Round robin scheduling, First task sends the data via UART, then context switch Second task tried to send the data via UART, handle of the UART was in Busy always.

In "prioritized preemptive scheduling", able to send the data to UART from each task.For the round robin, I set the time slice of 200 ms.Have the doubt like how much time taken to change the state of UART handle from "Busy" to "Ready"?.

Vel by Associate III
  • 933 Views
  • 7 replies
  • 0 kudos

How to make microsecond delay using timer?

Im using F030F4P6 controller. Here's TIM16 configuration:Here's clock configuration:main.c: /* USER CODE BEGIN WHILE */ while (1) {   toggleAll(); delayUs(1000);   /* USER CODE END WHILE */...delayUs function:void delayUs(uint32_t delay) {   us...

0690X000009akJnQAI.png 0690X000009akJiQAI.png
BBart.16 by Associate II
  • 1721 Views
  • 5 replies
  • 0 kudos

unable to start STM32F103CBU6 ADC

Hi,I started working on stm32f103cbu6 uC recently. Whenever i try to enable ADC1/ ADC2 , debugging terminates abruptly insideADC_Cmd(ADC1, ENABLE); at ADCx->CR2 |= CR2_ADON_Set;The same code works with stm32f103cbt6. I tried with example code in st ...

BAyya by Associate
  • 289 Views
  • 0 replies
  • 0 kudos

Resolved! STM32F429, external interrupt errata?

External interrupt errata?I have setup EXTI_Line12 and EXTI_Line14 to generate en interrupt.But the EXTI15_10_IRQHandler() fails to execute a second interrupt if it happens too close to the first interrupt.But it seems only happen when I use bit-band...

MSipo by Senior II
  • 549 Views
  • 3 replies
  • 0 kudos

Resolved! Simple ADC example

I'm having trouble getting the ADC on a STM32L476VGT6 discovery board to work. If I run by configuration code then click the ADSTART bit in the debugger, everything works fine. If I set the ADSTART bit in code in real time, the conversion never fin...

AWolf.8 by Associate III
  • 836 Views
  • 5 replies
  • 0 kudos

STM32F446 silicon revision 3?

In the STM32F446xC/E datasheet, DocID027107 Rev 6, footnote under Table 11. Alternate function says:1. The DCMI_VSYNC alternate function on PG9 is only available on silicon revision 3.However, neither DBGMCU_IDCODE description in RM0390 Rev 4, nor ST...