This repository has been archived by the owner on Jan 29, 2023. It is now read-only.
Possible issue between Adafruit TinyUSB MSC and Timerinterrupt libraries. #25
Unanswered
bluegrassrules
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Without the correct info, such as
I think I only can use my cloudy crystal ball to guesstimate that it's possibly there is some interrupt conflict and you can try to change the interrupt and test. For example, if nRF52840, change from
I'm not aware of any conflict between TimerInterrupt_Generic library and Adafruit TinyUSB library. Anyway, I don't have If you still can not solve the issue yourself, I suggest you post the issue on Good Luck, |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Not sure if this is the right place to ask my questions – start a discussion. First off, your timerinterrupt library is fantastic! Thanks for sharing it with everyone. Second, a little background. I’m using your library on an Adafruit nRF52840 Feather Express along with an Adalogger RTC with SD card. The SD card is used by the Adafruit to read and write files from external EEPROMs. Then Adafruit TinyUSB’s library (v1.7.1) is used to have the SD card act as a mass storage device on a computer. That is, the SD card appears as an USB flash drive on the computer. I’m using your library (v1.7.0) to blink and flicker 6 LEDs in the system. I have this working perfectly on 16 systems. My problem is I have one, number 17, that is working except for having a problem where the interrupt timers used by the LEDs don’t work when the SD card is mounted on the computer. System 17 has the exact same hardware and software as the other working 16. They all have the same bootloader, v0.62. I’ve checked and the interrupt service routine that toggles the LED’s digital pin is not being called until I unmount the flash drive or I never initialize the MSC usb_msc.begin(). If I call ISR_Timer.isEnabled() for the timer that should be blinking the LED, it returns true.
I guess my question is, do you know of any issues between your library and the Adafruit TinyUSB mass storage class? Any suggestions on how to debug your library to try and determine what the issue is for this one specific system?
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions