TF CD32 Riser Revision 2 Design Complete

TF CD32 Riser

Moderators: terriblefire, Terriblefire Moderator

terriblefire
Admin sponsor
Admin sponsor
Posts: 5686
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

arkadiusz.makarenko wrote: 10 Jun 2020 19:58 @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: 1371
Joined: 19 Jun 2019 07:36
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

terriblefire wrote: 10 Jun 2020 20:25
arkadiusz.makarenko wrote: 10 Jun 2020 19:58 @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
Admin sponsor
Admin sponsor
Posts: 5686
Joined: 28 Aug 2017 22:56
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
Admin sponsor
Admin sponsor
Posts: 5686
Joined: 28 Aug 2017 22:56
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: 1371
Joined: 19 Jun 2019 07:36
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

terriblefire wrote: 21 Jun 2020 10:29 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
Admin sponsor
Admin sponsor
Posts: 5686
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

arkadiusz.makarenko wrote: 21 Jun 2020 11:23
terriblefire wrote: 21 Jun 2020 10:29 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: 1371
Joined: 19 Jun 2019 07:36
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
Admin sponsor
Admin sponsor
Posts: 5686
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

arkadiusz.makarenko wrote: 16 Jul 2020 20:44 @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: 238
Joined: 29 Nov 2019 19:20
Location: Greystones

Re: TF CD32 Riser Revision 2 Design Complete

Post by kulamario »

Welcome
Lads any chance for get gerber files ?
terriblefire
Admin sponsor
Admin sponsor
Posts: 5686
Joined: 28 Aug 2017 22:56
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."

Return to “TF CD32 Riser”

Who is online

Users browsing this forum: ClaudeBot and 14 guests