Help needed connecting Smash's SID to Mike's CORE

Okay, in isolation everything is working.  And everything works as long as the core and sid are only connected by vs and vd.  The pins don’t match on the 2 boards so I don’t know what to put where as it doesn’t work 1:1.

Any ideas?  I’m on the home stretch!!!  :slight_smile:

Cheers,

Martin

Hi,

have a look at Smash´s homepage for the pinning.

yeah, that’s already printed on the pcb but still doesn’t match Mike’s core…

What’s CLK?  What am I meant to connect that to?  And why doesn’t Smash’s SID have an MD pin?

yeah, that’s already printed on the pcb but still doesn’t match Mike’s core…

What’s CLK?  What am I meant to connect that to?  And why doesn’t Smash’s SID have an MD pin?

CLK is Clock, it is a connection to the clock pin of the PIC. It is not located in J10 of the core. Please see the SID (maybe the old SID_V2 board info) board interconnection info on uCapps.

Don’t know about MD.

Could CLK connect to PWM (which in turn is connected to pin 17 of core IC1)?

If I see it right, you have to connect the clock to the PWM.

PWM stands for puls wide modulation, with the pwm output from the core you clock the sid chip. On the old sid bord was an crystal which did that, but there were some problems. So TK clocked it with the core to fix this hardware bug. Read about the old schematic like NorthernLightX writes, so you´ll understand it better.

Greetings

Markus

Okay, currently I have MD (of mike’s core) connected to the “blank” pin on Smash’s SID.

All I get is black squares on the top line of my lcd…

You should connect MD from core to SC of sid board.

done that… still nothing

by process of elimination I have discovered the “problem” connections to be:

MD  -  SC

MU  -  MU

If I disconnect either of these two, the lcd displays the usual bootup copyright, etc…

If either is connected I just get black bars…

Any ideas what the problem might be?

Have you connected all pins like that?

Core:              Sid:

  Rc                Rc

  Vd                Vc

  Vs                Vs

  Md                Sc

  PWM              Clk

  So                So

  Mu                Mu

yes

So please post a photo of your sid modul, sounds like an soldering problem.

But I will check the pinning tomorrow again, that we 100% know that its right. ???

Greetings

Markus

Have you added the 2 isolated cables on the bottomside of the pic module? Without the one between J10 PWM and core the sid will not be clocked!

Yes.  And the lcd still works with PWM connected to CLK.

The problem appears to be with:

MD - SC

MU - MU

Also, with one of those connections the black bar started as 1 and a half black lines, then went back to just one after a second or so…?

That makes sense, because MD and MU are also connected to the J15 port which goes to the lcd. So you should check the sid board, especially IC2 and IC3.

Cheers mate.

Will do.

Okay, I have it working now.

BUT I have another problem…

There’s seems to be an issue with my bourns encoder (only 1 - step A cs).

It’s doesn’t quite want to scroll properly.  Sometimes it jumps a few numbers, sometimes it goes back a couple, sometimes it stays on the same one, sometimes the sound cuts out and a “noise” is introduced.

Any ideas?  I have an aluminium panel - heard some people had bother with that.  Maybe it’s to do with the “detent” setting in the .asm?

Cheers,

Martin

Hello,

where was the problem with the sid and lcd?

The problem with the encoder could be a wrong pinning or the wrong detented mode.

I think I saw this in mios_tables.inc ? There you should set the detent or non detent mode. But I have no experience with that.

See also http://www.midibox.org/dokuwiki/doku.php?id=encoder_specifications

for encoder details.

Greetings

Markus

If you are using the Bourns PEC11 encoders from SmashTV (same for voti encoders), you don’t need to change the encoder settings in setup_*.asm - they are already configured for the DETENTED2 type.

But check the pinning - there are three possibilities, two lead to a wrong behaviour (yes, one error effect is, that values are decremented and/or jumping). So, if the pinout description in the wiki doesn’t help, just try the three possibiities until it works :slight_smile:

Best Regards, Thorsten.