stm32f042 + tickless + usb
Posted: Wed Oct 17, 2018 3:46 pm
I've had a small problem with an stm32f042 device using tickless, usb (plus CRS) -- it works fine after booting, but after sitting idle for several minutes the a new libusb connection causes it to reset. When I changed CH_CFG_ST_TIMEDELTA to 0, (i.e. not use tickless mode), i've had no further issues. I'm using timer 2, tick frequency = 10000.
In my application, not using tickless is fine, so this isn't a huge priority. But, if there's something I can do to help isolate the root cause, I'd be happy to try.
Geoffrey
In my application, not using tickless is fine, so this isn't a huge priority. But, if there's something I can do to help isolate the root cause, I'd be happy to try.
Geoffrey