-
Notifications
You must be signed in to change notification settings - Fork 787
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
Added support for Adafruit NRF52832 Feather #640
base: master
Are you sure you want to change the base?
Conversation
Used this pr as a reference: felis#614
Looks good. Can you also add it to the list of supported boards: https://github.com/felis/USB_Host_Shield_2.0#boards and the CI: https://github.com/felis/USB_Host_Shield_2.0/blob/master/.github/workflows/main.yml#L48? |
Would the CI be like this?
How do I test this? |
Simply add it to the other NRF52 board i.e: pio ci --lib="." --board=adafruit_feather_nrf52840 --board=adafruit_feather_nrf52832 --project-option="build_flags=-Wno-sign-compare -Wno-unused-function -Wno-unused-variable" Then commit and push it and the CI will trigger and build it automatically. |
It working was a false positive. I ran the board_qc sketch and I get this.
I have the duinofun mini board and have the SPI connected correctly after checking the pins with the MAX3421E datasheet. Do I need to connect the Reset pin in the MAX3421E Edit: I believe my host shield is defective. I ordered one of the same type and another one of a different type. I'll update you when I receive and test them. |
Do I need to modify my setup with any pull down resistors?
Don't mind the mess, but here is a visual of the current setup. (If you need a diagram lmk). In addition to the before example 00 is also returned by both sometimes with board_qc.
Both of them come up with the same result with XBOXONE example:
or
but no input is detected and no white light indicator on the xbox controller. The xbox controller does vibrate indicating that power was received. |
If you still get unreliable operation, there's two things that can cause this that many people do not realize. |
Used this pr as a reference:
#614
I successfully flashed it and it went through USB.Init without error.
Will report back when I have tested it with my original xbox controller. If anyone would like to test it in the mean time, feel free to do so.