AnsweredAssumed Answered

Can the MC9S08QE32 (please don't suggest other MCUs) be used to bit-bang USB to be an input device (i.e., a keyboard)?  Is there a library available?

Question asked by Andrew Martignoni III on Jan 2, 2015
Latest reply on Feb 12, 2015 by Andrew Martignoni III

I've used TrinketKeyboard with an ATtiny85 to pretend to be a USB keyboard.  Is it possible to do this with the MC9S08QE32?  My project has no control over which MCU I use unless I add another one.  Since the ATtiny85 already works, suggesting another MCU would not be helpful.  I can reduce part count if the MC9S08QE32 can be used to do the same trick.  The ATtiny85 has a 16 MHz clock, while the MC9S08QE32 can run at 48 MHz, so I assume it is at least possible.  Could anyone suggest a library that does this?  I assume it requires hand-optimized assembler routines to get the timing right, so it isn't something I want to write myself.

Outcomes