gamepad not working after SuperCIC mod

Discussion of hardware and software development for Super NES and Super Famicom. See the SNESdev wiki for more information.

Moderator: Moderators

Forum rules
  • For making cartridges of your Super NES games, see Reproduction.
Post Reply
eadmaster
Posts: 4
Joined: Sun Jul 30, 2017 8:27 pm
Contact:

gamepad not working after SuperCIC mod

Post by eadmaster »

hi, i have this PAL SNES SNSP-CPU-02 board with the SuperCIC installed (see the attachment).
Games boot fine and region-forcing with the reset button seems to work fine as well.
The only problem is the P1 controller is not working!
I've double-checked the connections to the front panel with a multimeter.
I've also checked the P1 controller port: the 5V pin is fine, while on the Clock pin i get around 50-60Hz with no controller attached (same as the Latch pin).
Attachments
motherboard front
motherboard front
lidnariq
Posts: 11432
Joined: Sun Apr 13, 2008 11:12 am

Re: gamepad not working after SuperCIC mod

Post by lidnariq »

Try testing continuity to a controller, not just to the jack.

If you have a 'scope or logic analyzer, the various control signals should look like:

Code: Select all

OUT  __'__________________ ... [repeat every 16/20ms]
CLK  ____''''''''''''''''_ ...
D0   __ʎ=XXXXXXXXXXXλ_____ ... (only with standard controller plugged in)
eadmaster
Posts: 4
Joined: Sun Jul 30, 2017 8:27 pm
Contact:

Re: gamepad not working after SuperCIC mod

Post by eadmaster »

I've checked continuity with a controller and it seems fine.
Unfortunately i don't have a logic analyzer, but i do have a multimeter with a frequency measure mode.

So i've checked the S-CLK chip which i had some issues while soldering.
All frequencies matches the nocash specs, except pins 1 and 2... do you know if these are related to the controller clock?
lidnariq
Posts: 11432
Joined: Sun Apr 13, 2008 11:12 am

Re: gamepad not working after SuperCIC mod

Post by lidnariq »

Pins 1 and 2 are analog signals from the actual crystal driver. As such, they won't reach full CMOS voltages. But the very presence of 21.28MHz means that it's working.

Apparently it was easier to use a 4×PAL crystal and a custom-made extra IC that both multiplies 17.7MHz by 6/5 (to generate the master clock) and divides it by 4 (to generate the colorburst clock); in contrast the NTSC deck instead starts with a 6×NTSC crystal to generate the master clock and S-PPU2 divides that by 6 to generate the colorburst clock.
eadmaster
Posts: 4
Joined: Sun Jul 30, 2017 8:27 pm
Contact:

Re: gamepad not working after SuperCIC mod

Post by eadmaster »

what frequency should i read on the P1 controller Clock pin?

do you think there may be some bridges i should check?

(the P1 controller was working correctly before the mod)
lidnariq
Posts: 11432
Joined: Sun Apr 13, 2008 11:12 am

Re: gamepad not working after SuperCIC mod

Post by lidnariq »

Clock pin is active every 16/20ms (depending on region) but when it's active, it specifically goes high 16 times with supersonic spacing. Trivial to see on an oscilloscope or logic analyzer, but I don't think any other hardware is really up to the task.
Post Reply