Hi,
I currently have a project which triggers a series of SAADC readings from the Timer0 interrupt handler. This part of my program works as expected, however, to add more functionality I've looked to integrate the USB CDC ACM example as a means of transporting data to a UI.
I have removed the logger and cli components from the build as I'm not intending on logging via these means in my application; I have compiled and downloaded the modified program and it works as expected. Now what becomes interesting is when I bring the project across it fails to detect a USB power event?
Now I have experienced some quirks whilst using the atomic library which I believe was down to disabling and re-enabling the interrupts, could I be seeing a similar problem here? Or is there some sort of shared resource I'm unaware of?
Any help would be greatly appreciated!