Here are some logic analyzer pics of the 65816 CPU interface to the S-SMP (the first 8 signals) and the primary control signals on the S-DSP (the last 7 signals). The logic analyzer was set to internal sampling at 250MHz. The duty cycle and period measurements shown below are not going to be exact but they will be within +/- 4ns. The logic analyzer was set to trigger when a CPU read of $2140 returned the value $AA after the SNES was reset. The trigger point was set to the 10% position. I only captured 32K samples but I can capture more than that. The game running is SMW, probably doesn't make much of a difference though.
High-Level View (shows all samples)
Medium-Level View (shows zoomed in selection of samples)
CPUK Duty Cycle
CPUK Period
PD3 Duty
PD3 Period
CE0x Duty (Edit1=Added, Edit2=Ignore)
CE0x Period (Edit1=Added, Edit2=Ignore)
SNES Schematic (for reference)
Some interesting things to note:
- The CPUK frequency is 2.048MHz as I stated in a previous post regarding CPUK. But here is the proof if anyone wanted it. I could get some o-scope screenshots too, but there's really no need at this point.
- It seems quite clear to me that PD3 is the "clock-enable" signal to the SMP. The PD3 signal is high on every other rising edge of CPUK, making the SMP's effective clock frequency 1.024MHz.
- I'm still trying to figure out what PD2 is. It would seem to me that PD2 must be the read/write strobe to the DSP so that the DSP chip can know whether the SMP is reading/writing to SRAM (so that the SRAM WEx/OEx signals can be driven appropriately). However, if you look at the WEx and OEx signals they seem to be perfectly periodic, as if they were clocks. I think this must just be something that I don't understand yet about how the SNES audio works. (I have only just started looking at this stuff). Any insights?
- Looking at the high-level image the CE0x strobe is also another perfectly periodic signal. Any insights?
--
EDIT1: Added CE0x measurements.
EDIT2: Ignore CE0x measurements as the signal shown as CE0x/CE1x/OEx/WEx are actually different signals.
High-Level View (shows all samples)
Medium-Level View (shows zoomed in selection of samples)
CPUK Duty Cycle
CPUK Period
PD3 Duty
PD3 Period
CE0x Duty (Edit1=Added, Edit2=Ignore)
CE0x Period (Edit1=Added, Edit2=Ignore)
SNES Schematic (for reference)
Some interesting things to note:
- The CPUK frequency is 2.048MHz as I stated in a previous post regarding CPUK. But here is the proof if anyone wanted it. I could get some o-scope screenshots too, but there's really no need at this point.
- It seems quite clear to me that PD3 is the "clock-enable" signal to the SMP. The PD3 signal is high on every other rising edge of CPUK, making the SMP's effective clock frequency 1.024MHz.
- I'm still trying to figure out what PD2 is. It would seem to me that PD2 must be the read/write strobe to the DSP so that the DSP chip can know whether the SMP is reading/writing to SRAM (so that the SRAM WEx/OEx signals can be driven appropriately). However, if you look at the WEx and OEx signals they seem to be perfectly periodic, as if they were clocks. I think this must just be something that I don't understand yet about how the SNES audio works. (I have only just started looking at this stuff). Any insights?
- Looking at the high-level image the CE0x strobe is also another perfectly periodic signal. Any insights?
--
EDIT1: Added CE0x measurements.
EDIT2: Ignore CE0x measurements as the signal shown as CE0x/CE1x/OEx/WEx are actually different signals.