DSP1 question

Discussion of hardware and software development for Super NES and Super Famicom.

Moderator: Moderators

Forum rules
  • For making cartridges of your Super NES games, see Reproduction.
qwertymodo
Posts: 775
Joined: Mon Jul 02, 2012 7:46 am

Re: DSP1 question

Post by qwertymodo »

nocash wrote:
qwertymodo wrote:Also, from the SNESCentral pics of the S-RTC board, that's just a run-of-the-mill 32.768KHz tuning fork. It gets fed into a 16-bit counter in order to get out millisecond clock ticks. So, mystery solved, you now have all of them.
The http://www.snescentral.com/pcbboards.ph ... VC-LJ3R-01 photo doesn't show a part number. Or are those tiny cylindrical oscillators always having 32.768kHz?
I think I have also came across circuits that used "32kHz" in the past... but maybe they did mean kilo=1024 in that circuits. And aside from the 32.xxxkHz range, theoretically it should be even possible to put something like a 20MHz quartz into that package.
Where do you have the info about the "16-bit counter" from? Do you have a matching Sharp datasheet?
My info about the 16-bit counter is just because "that's the way it's done", you take a 32.768kHz (often referred to in shorthand as 32kHz, but in the case of a RTC oscillator, it's going to be 32.768kHz, not 32.000kHz), and you feed that signal into a binary counter gives you a 1/2 frequency divider per (n-1) bits, so that the MSB of a 16-bit counter clocked at 32.768kHz switches from 1 to 0 and back again at a rate of exactly (omitting tolerances) 1s, which is used as the RTC clock source. I'm pretty sure that using a 1Hz oscillator directly would have pretty horrible drift in terms of tolerance vs doing it this way.

As to whether or not you can get MHz frequencies in the same package, yes you can. However, the fact that it is being used as a RTC basically means 99% certainty it's a 32.768kHz. If you REALLY want to confirm it, then you'll have to get better photos, or get your hands on one. But it's a pretty safe bet that I'm right

Edit: I forgot how to math... 32,768Hz * 2 ^ -15 = 1s, not 1ms
lidnariq
Posts: 10677
Joined: Sun Apr 13, 2008 11:12 am
Location: Seattle

Re: DSP1 question

Post by lidnariq »

qwertymodo wrote:As to whether or not you can get MHz frequencies in the same package, yes you can.
If you filter by diameter (< 0.1" diameter), I only see stuff below 160kHz.
qwertymodo
Posts: 775
Joined: Mon Jul 02, 2012 7:46 am

Re: DSP1 question

Post by qwertymodo »

lidnariq wrote:
qwertymodo wrote:As to whether or not you can get MHz frequencies in the same package, yes you can.
If you filter by diameter (< 0.1" diameter), I only see stuff below 160kHz.
It was more a matter of admitting that I couldn't definitively ID the part by the package alone, which my original post may have implied. Even finding "only stuff below 160kHz" still means that the crystal *could* be any of those frequency values, and that the radial can package isn't unique to the 32kHz crystals. But in this particular case, I'm still fairly confident that's what it is.
Overload
Posts: 47
Joined: Mon May 30, 2011 4:38 pm
Location: Australia
Contact:

Re: DSP1 question

Post by Overload »

nocash wrote: The http://www.snescentral.com/pcbboards.ph ... VC-LJ3R-01 photo doesn't show a part number.
KDS6F
Markfrizb
Posts: 540
Joined: Sun Dec 02, 2012 8:17 am
Location: East Texas

Re: DSP1 question

Post by Markfrizb »

Markfrizb wrote:http://www.mouser.com/Search/ProductDet ... 7M68G53-A0



This looks pretty close. Any reason why not?
I can confirm that this part works in Mario kart.

:)
Post Reply