Can all registered uses please login, even just for a few minutes..
It helps build a picture where our "good traffic" is coming from..
Thanks :)
It helps build a picture where our "good traffic" is coming from..
Thanks :)
TF CD32 Riser Revision 2 Design Complete
Moderators: terriblefire, Terriblefire Moderator
- arkadiusz.makarenko
- Moderator Team

- Posts: 1371
- Joined: Wed Jun 19, 2019 7:36 am
- Location: Edinburgh
Re: TF CD32 Riser Revision 2 Design Complete
I couldn't make it any faster than 48Mhz for some reason. Annoyingly don't understand why.
By trial and error I managed to get this : https://github.com/arkadiuszmakarenko/T ... v2F722.git
I found another bug in USB HS HID Clock initialization. It does two init one by one, second overrides some settings from first one, as a consequence USB HS stops working at all. Commenting out one line fixes the issue.
Anyway If this would be working stable for you then we have base project.
By trial and error I managed to get this : https://github.com/arkadiuszmakarenko/T ... v2F722.git
I found another bug in USB HS HID Clock initialization. It does two init one by one, second overrides some settings from first one, as a consequence USB HS stops working at all. Commenting out one line fixes the issue.
Anyway If this would be working stable for you then we have base project.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
~ Stanislaw Lem
- arkadiusz.makarenko
- Moderator Team

- Posts: 1371
- Joined: Wed Jun 19, 2019 7:36 am
- Location: Edinburgh
Re: TF CD32 Riser Revision 2 Design Complete
I managed to register a mouse which did not work on f105. So there is a hope for my knock off SNES crappy controller.
I will try to port my library to this hopefully over next few days.
I will try to port my library to this hopefully over next few days.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
~ Stanislaw Lem
-
terriblefire
- Admin sponsor

- Posts: 5687
- Joined: Mon Aug 28, 2017 10:56 pm
- Location: Glasgow, UK
Re: TF CD32 Riser Revision 2 Design Complete
I think i have one of those controllers too. Certainly sounds the same. I'll try and fire this up later.arkadiusz.makarenko wrote: Mon Apr 20, 2020 8:35 am I managed to register a mouse which did not work on f105. So there is a hope for my knock off SNES crappy controller.
I will try to port my library to this hopefully over next few days.
———
"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."
"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

- Posts: 5687
- Joined: Mon Aug 28, 2017 10:56 pm
- Location: Glasgow, UK
Re: TF CD32 Riser Revision 2 Design Complete
is 48Mhz fast enough? The Chinese may have put on crappy linear regulators on my board... is that repeatable between the HID2AMI and TF?
———
"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."
"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."
- arkadiusz.makarenko
- Moderator Team

- Posts: 1371
- Joined: Wed Jun 19, 2019 7:36 am
- Location: Edinburgh
Re: TF CD32 Riser Revision 2 Design Complete
Don't know, I should have one decent regulator left, will swap it and check.terriblefire wrote: Mon Apr 20, 2020 11:41 am is 48Mhz fast enough? The Chinese may have put on crappy linear regulators on my board... is that repeatable between the HID2AMI and TF?
Even with 48mhz I can start working on firmware, if I get to bottom of this issue , I can update clock setting and speed it up.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
~ Stanislaw Lem
- arkadiusz.makarenko
- Moderator Team

- Posts: 1371
- Joined: Wed Jun 19, 2019 7:36 am
- Location: Edinburgh
Re: TF CD32 Riser Revision 2 Design Complete
YEY! Got it.
I think it was power configuration issue. I need to read more about those features in this chip.
In RCC->RCC Parameter Settings->Power Parameters
If you change to Power Regulator Voltage Scale 1 then my chip is stable after this at 96Mhz.
If this was not enough then we would need 25Mhz crystal and we could squeeze 216Mhz from it. ( am not certain about it 100%)
Arek
I think it was power configuration issue. I need to read more about those features in this chip.
In RCC->RCC Parameter Settings->Power Parameters
If you change to Power Regulator Voltage Scale 1 then my chip is stable after this at 96Mhz.
If this was not enough then we would need 25Mhz crystal and we could squeeze 216Mhz from it. ( am not certain about it 100%)
Arek
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
~ Stanislaw Lem
-
terriblefire
- Admin sponsor

- Posts: 5687
- Joined: Mon Aug 28, 2017 10:56 pm
- Location: Glasgow, UK
Re: TF CD32 Riser Revision 2 Design Complete
Does this fix everything by itself or do you also need the clock config changes.arkadiusz.makarenko wrote: Mon Apr 20, 2020 7:15 pm I think it was power configuration issue. I need to read more about those features in this chip.
In RCC->RCC Parameter Settings->Power Parameters
If you change to Power Regulator Voltage Scale 1 then my chip is stable after this at 96Mhz.
———
"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."
"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."
- arkadiusz.makarenko
- Moderator Team

- Posts: 1371
- Joined: Wed Jun 19, 2019 7:36 am
- Location: Edinburgh
Re: TF CD32 Riser Revision 2 Design Complete
By itself.terriblefire wrote: Mon Apr 20, 2020 7:28 pmDoes this fix everything by itself or do you also need the clock config changes.arkadiusz.makarenko wrote: Mon Apr 20, 2020 7:15 pm I think it was power configuration issue. I need to read more about those features in this chip.
In RCC->RCC Parameter Settings->Power Parameters
If you change to Power Regulator Voltage Scale 1 then my chip is stable after this at 96Mhz.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
~ Stanislaw Lem
- arkadiusz.makarenko
- Moderator Team

- Posts: 1371
- Joined: Wed Jun 19, 2019 7:36 am
- Location: Edinburgh
Re: TF CD32 Riser Revision 2 Design Complete
Yup.terriblefire wrote: Mon Apr 20, 2020 8:51 amI think i have one of those controllers too. Certainly sounds the same. I'll try and fire this up later.arkadiusz.makarenko wrote: Mon Apr 20, 2020 8:35 am I managed to register a mouse which did not work on f105. So there is a hope for my knock off SNES crappy controller.
I will try to port my library to this hopefully over next few days.
I managed to start it. This chip definitely has improved USB circuit compared to f105, as either my mouse and this controller couldn't communicate reliably.
I am waiting for dual controllers, it may take a while to get to me.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
~ Stanislaw Lem
-
terriblefire
- Admin sponsor

- Posts: 5687
- Joined: Mon Aug 28, 2017 10:56 pm
- Location: Glasgow, UK
Re: TF CD32 Riser Revision 2 Design Complete
OK in the meantime i'll try and get the integration with the Amiga working.
Please check with me before soldering on the DB23 connector. There are resistors to sort out that are epic to deal with if the DB23 is already on.
Please check with me before soldering on the DB23 connector. There are resistors to sort out that are epic to deal with if the DB23 is already on.
———
"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."
"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."