Question
STM32F4DISCOVERY, USB USE_ACCURATE_TIME
Posted on February 25, 2013 at 21:49
Hi,
I use a STM32F4DISCOVERY, and I would like to begin to understant how the USB HOST/OTG works... ands it's not easy, there is a lot of files and lines of code. I saw in ST examples, that in stm32f4xx.c there is
void
TIM2_IRQHandler(
void
)
{
USB_OTG_BSP_TimerIRQ();
}
and then I saw that in usb_bsc.c it corresponds to the use of ''USE_ACCURATE_TIME''. I would like to know what's are the consequences if I removeUSE_ACCURATE_TIME and thus don't use the interrupt of TIM2. What is the purpose of the mecanismUSE_ACCURATE_TIME? I tried and it seems it still works, but is it less stable or reliable ?
In addition if you have some tips to learn how usb host/otg on stm32f4 works, I'll take it ! :)
Thank you !