2011-03-19 06:51 AM
STM32 USB Library - USB_DELAY from any source other than SysTick??
2011-05-17 05:28 AM
Couldn't you just spin on the core's DWT cycle counter?
CycleStart = *DWT_CYCCNT; while((*DWT_CYCCNT - CycleStart) < DelayCycles); [DEAD LINK /public/STe2ecommunities/mcu/Lists/ARM%20CortexM3%20STM32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/ARM CortexM3 STM32/No definition for DWT in Core_cm3.h&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000626BE2B829C32145B9EB5739142DC17E¤tviews=158]See Here I'd also recommend you initialize things, and get the clock frequencies once rather than reading them every time you want a delay.