Page 20 of 60
Re: TF CD32 Riser Revision 2 Design Complete
Posted: 10 Jun 2020 20:25
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
Re: TF CD32 Riser Revision 2 Design Complete
Posted: 10 Jun 2020 21:20
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?
Re: TF CD32 Riser Revision 2 Design Complete
Posted: 10 Jun 2020 22:35
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.
Re: TF CD32 Riser Revision 2 Design Complete
Posted: 21 Jun 2020 10:29
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.
Re: TF CD32 Riser Revision 2 Design Complete
Posted: 21 Jun 2020 11:23
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?
Re: TF CD32 Riser Revision 2 Design Complete
Posted: 21 Jun 2020 11:26
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.
Re: TF CD32 Riser Revision 2 Design Complete
Posted: 16 Jul 2020 20:44
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?
Re: TF CD32 Riser Revision 2 Design Complete
Posted: 16 Jul 2020 20:47
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
Re: TF CD32 Riser Revision 2 Design Complete
Posted: 19 Aug 2020 20:31
by kulamario
Welcome
Lads any chance for get gerber files ?
Re: TF CD32 Riser Revision 2 Design Complete
Posted: 19 Aug 2020 22:47
by terriblefire
Its all on github but it doesnt work yet.