You will not be able to post if you are still using Microsoft email addresses such as Hotmail etc
See here for more information viewtopic.php?f=20&t=7296
Check if your IP is banned
viewtopic.php?t=7286

TF CD32 Riser Revision 2 Design Complete

TF CD32 Riser

Moderators: terriblefire, Terriblefire Moderator

terriblefire
Admin sponsor
Admin sponsor
Posts: 5637
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

Yes except the address is just one pin between the CPLD and ARM. One pin for Mouse, One pin for Joypad1 and another for joypad2. Thats it unless we want to try and inplement flashfloppy.

The reason we dont always make it decode these is incase someone wants to put a real mouse or joypad in the machine.

EDIT: Keyboard will work without the CPLD at all. Keyboard is wired direct to the arm on rev1.
———
"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: 5637
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

I pulled the latest code from the repo and i get a hardfault every time? Needs the cap?
———
"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: 1356
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

@terriblefire
Hi Yes add the cap (I added 10uF as I didn't have 4.7uF), or change this in main
__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE3);
to this
__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);


or comment it out altogether.

I was playing with power settings and forgot to change it back.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
terriblefire
Admin sponsor
Admin sponsor
Posts: 5637
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

Added the cap and now i have working USB keyboard :)

right so you need a way to override individual memory locations?
———
"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: 1356
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

terriblefire wrote: Sat Jun 06, 2020 5:18 pm Added the cap and now i have working USB keyboard :)

right so you need a way to override individual memory locations?
Only those required for mouse and gamepad?
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
terriblefire
Admin sponsor
Admin sponsor
Posts: 5637
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: Sat Jun 06, 2020 6:06 pm
terriblefire wrote: Sat Jun 06, 2020 5:18 pm Added the cap and now i have working USB keyboard :)

right so you need a way to override individual memory locations?
Only those required for mouse and gamepad?
can i ask for one thing first.. explicitly set every unused pin to high Z.
———
"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: 1356
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

terriblefire wrote: Sat Jun 06, 2020 6:19 pm
arkadiusz.makarenko wrote: Sat Jun 06, 2020 6:06 pm

Only those required for mouse and gamepad?
can i ask for one thing first.. explicitly set every unused pin to high Z.
Are those lines 5V or 3.3V?
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
terriblefire
Admin sponsor
Admin sponsor
Posts: 5637
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: Sat Jun 06, 2020 6:29 pm
terriblefire wrote: Sat Jun 06, 2020 6:19 pm

can i ask for one thing first.. explicitly set every unused pin to high Z.
Are those lines 5V or 3.3V?
All the amiga lines are 5v. The ones that are INTSIG are 3.3v
———
"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: 1356
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

@terriblefire

I've set up all pins (sorry don't know exactly which ones are not in use - will tidy this up later) to GPIO_Input no-pull-up no-pull-down. Which should be high impeadance.

I have still usart5 on PD2 - RX and PC12 - TX ? should this be changed as well?
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
terriblefire
Admin sponsor
Admin sponsor
Posts: 5637
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

no those are fine. Just things on the Amiga bus really.
———
"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”