We recently built a Bumblebee Transformer Magic Wheelchair using Teensy 3.6 and the Audio Shield, and now we are sharing our knowledge with another Magic Wheelchair build. We have a problem that arose during the Bumblebee build and are now encountering with the new build.
We are using a USB presentation remote which is an HID keyboard device. We are then triggering audio playback from the Teensy 3.6 SD card from those key press events.
When the Teensy receives rapid key press events resulting in audio playback, the Teensy will emit a specific tone, and then hard lock. Power must be cycled to resume use of the Teensy.
In order to duplicate the issue with minimal code, I blended the USB Host "Test" with the Audio Tutorial "Playing Music". We've verified this happens on multiple Teensy setups and with a standard USB keyboard as well as the presentation remote. Triggering with buttons connected to pins does not cause this behavior.
Note that the behavior differs if we switch from using the Teensy 3.6 SD Card to the Audio Shield SD Card (playback is interrupted, but it does not lock)
I'm open to any ideas on how to test & resolve this...
View attachment audio_locking.ino
We are using a USB presentation remote which is an HID keyboard device. We are then triggering audio playback from the Teensy 3.6 SD card from those key press events.
When the Teensy receives rapid key press events resulting in audio playback, the Teensy will emit a specific tone, and then hard lock. Power must be cycled to resume use of the Teensy.
In order to duplicate the issue with minimal code, I blended the USB Host "Test" with the Audio Tutorial "Playing Music". We've verified this happens on multiple Teensy setups and with a standard USB keyboard as well as the presentation remote. Triggering with buttons connected to pins does not cause this behavior.
Note that the behavior differs if we switch from using the Teensy 3.6 SD Card to the Audio Shield SD Card (playback is interrupted, but it does not lock)
I'm open to any ideas on how to test & resolve this...
View attachment audio_locking.ino