-
-
Notifications
You must be signed in to change notification settings - Fork 40.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SPLIT_KEYBARD F_CPU = 8000000 #14951
Comments
You're using serial for the communication, correct? And this is the atmega32u4 controller? If so, it may be that it's very sensitive to timing, and may need to be adjusted to fix that. Also, the serial drivers for split uses interrupt, which may be art of the issue. |
Yes this is a atmega32u4 running at 8mzh. I can get it to work as one side without an issue. Soon as I add SPLIT_KEYBOARD = yes, and re-flash the controller, the USB device is no longer detected. So there is something up with the code for SPLIT_KEYBOARD. I was guessing it was maybe with the timing...but wasn't sure where to find that code and make some changes. My wiring is using a TRRS for I2C. Based on the Redox Handwire. https://hackaday.io/project/160610-redox-keyboard/log/151316-redox-handwire. I was just wiring directly to SCL and SDA with VCC and Ground between the controllers. I thought I would try the Pterodactyl keyboard definition, since it uses a Feather(very much like the Itsy Bitsy, but it uses an IO expander. https://marcyoung.us/post/pterodactyl/ Since I don't have an IO expander, it never recognizes it. Any help and guidance is much appreciated how to change the code so SPLIT_KEYBOARD will work at 8mzh. |
You have |
Yes in the /keymaps/default/config.h The keyboard(left side) boots ok and puts out keystrokes when I have the SPLIT_KEYBOARD commented out. Soon as I change it use in the rules.mk and recompile/reflash the controller is when the USB device is no longer recognized. |
Do you have the same issue if you remove the |
USE_SERIAL worked and the HID was detected. But nothing was coming from the right side. I moved the SOFT_SERIAL_PIN to D2 to see if that was the issue and it wasn't. I eventually figured it out that I needed #define SPLIT_USB_DETECT. |
This is an issue for me, too! |
SERIAL vs. I2C issues might be related to #15217 |
This issue has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed in the next 30 days unless it is tagged properly or other activity occurs. |
This issue has been automatically closed because it has not had activity in the last 30 days. If this issue is still valid, re-open the issue and let us know. |
When using itsy bitsy 3v the CPU must be set to 8mzh. When I set split keyboard, after flashing to the board, the USB device is no longer recognized. When I remove split keyboard, the USB device is working. Something is up with the split keyboard code.
The text was updated successfully, but these errors were encountered: