TF CD32 Riser Revision 2 Design Complete

TF CD32 Riser

Moderators: terriblefire, Terriblefire Moderator

terriblefire
Moderator Team
Moderator Team
Posts: 5389
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

arkadiusz.makarenko wrote: Wed Jun 10, 2020 7:58 pm @terriblefire

I have some issues.
Firmware with 32 cycle release I do get interrupt, but each time I try to even reprogram GPIO for output PushPull or even set 0 as open drain, CD32 crashes.
For any other firmware I even don't register interrupt.

EDIT:
INTSIG1 and INTSIG2 should allways be 1...?

EDIT2:
I pushed changes.
INTSIG1/2 should be inputs.

INTSIG1 = 0 = JOYDAT0
INTSIG2 = 0 = JOYDAT1

Safest thing is to set everything to input except INTSIG8
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1208
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

terriblefire wrote: Wed Jun 10, 2020 8:25 pm
arkadiusz.makarenko wrote: Wed Jun 10, 2020 7:58 pm @terriblefire

I have some issues.
Firmware with 32 cycle release I do get interrupt, but each time I try to even reprogram GPIO for output PushPull or even set 0 as open drain, CD32 crashes.
For any other firmware I even don't register interrupt.

EDIT:
INTSIG1 and INTSIG2 should allways be 1...?

EDIT2:
I pushed changes.
INTSIG1/2 should be inputs.

INTSIG1 = 0 = JOYDAT0
INTSIG2 = 0 = JOYDAT1

Safest thing is to set everything to input except INTSIG8
When I set up interrupt on falling edge of intsig1 then when I read busint as 1 (not the other way round), but when I try to reconfigure D0-D7 to allow write to pin any data on bus I got CD32 crash. I assume Amiga is already doing something else (?) Maybe 32 cycles have passed already and I mess up data bus?
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
terriblefire
Moderator Team
Moderator Team
Posts: 5389
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

Ok let me read over the code.

I'd thought EXTI was setup for BUS_INT (pin 61) possibly it can both.

I am expecting 32 cycles to take 2000uS but you can go back to the older one that locks up. Just flash the cpld after boot.
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
terriblefire
Moderator Team
Moderator Team
Posts: 5389
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

OK i've not had a minute to look at this. I'm tempted to fall back to the SPI transfer mechanism we had in revision 1.
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1208
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

terriblefire wrote: Sun Jun 21, 2020 10:29 am OK i've not had a minute to look at this. I'm tempted to fall back to the SPI transfer mechanism we had in revision 1.
Would it be easier?
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
terriblefire
Moderator Team
Moderator Team
Posts: 5389
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

arkadiusz.makarenko wrote: Sun Jun 21, 2020 11:23 am
terriblefire wrote: Sun Jun 21, 2020 10:29 am OK i've not had a minute to look at this. I'm tempted to fall back to the SPI transfer mechanism we had in revision 1.
Would it be easier?
Much. But being able to put the ARM on the bus is going to be needed for the CD32 buttons.
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1208
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

@terriblefire

Do you think you could share current Rev 2 eagle by any chance.

I was thinking of scaling down this to Minimum Usable Product? So replacing obsolete PS2 to USB HID keyboard and video out?
Do you think there would be value in this?
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
terriblefire
Moderator Team
Moderator Team
Posts: 5389
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

arkadiusz.makarenko wrote: Thu Jul 16, 2020 8:44 pm @terriblefire

Do you think you could share current Rev 2 eagle by any chance.

I was thinking of scaling down this to Minimum Usable Product? So replacing obsolete PS2 to USB HID keyboard and video out?
Do you think there would be value in this?
Give me a day or two and i'll see if its on my laptop
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
User avatar
kulamario
Posts: 237
Joined: Fri Nov 29, 2019 7:20 pm
Location: Greystones

Re: TF CD32 Riser Revision 2 Design Complete

Post by kulamario »

Welcome
Lads any chance for get gerber files ?
terriblefire
Moderator Team
Moderator Team
Posts: 5389
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

Its all on github but it doesnt work yet.
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
Post Reply

Return to “TF CD32 Riser”