-
Notifications
You must be signed in to change notification settings - Fork 36
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
tang nano20k nes gamepad #49
Conversation
- Clean NESGamepad.v
- Use resistor-based LVCMOS3V3 to TTL5V signal converter - Use resistor-based TTL5V to LVCMOS3V3 signal converter - Latch signal pulled to low before 12uS needed - Gamepad not responding with bits - Wrong timing, change 60Hz clock to 12uS clock - Use 60Hz clock to sample @16,6mS - Add formal verification using SymbiYosis
- Fix Verilator FSM
- Clean code
Well done! Just curious, have you tested without the level shifter? Sometimes replica controllers work with both voltage levels. |
I was going to, didn't have the time. Would be awesome not needing it, so we can wire it directly, will update the schematic if it works |
- Add gamepad#2
Tested directly to LVCMOS3V3 IOs and it's working, at least for 8BitDo N30 2.4g wireless gamepad for original NES
|
|
0617a75
to
ad72d2e
Compare
Everything re-tested and working :) |
Great! I'll merge this. |
Add NES Gamepad support for NESTang (tang nano 20k)
⚠Only gamepad1 was added for nowToDo:
- Add gamepad2