REMINDER - Stay logged in for at least 2 hours a week to get whitelisted.
Also it helps build a picture where our "good traffic" is coming from for detection scripts.
:o)

TF CD32 Riser Revision 2 Design Complete

TF CD32 Riser

Moderators: terriblefire, Terriblefire Moderator

User avatar
PhilC
Moderator
Moderator
Posts: 7493
Joined: 23 Mar 2018 20:22

Re: TF CD32 Riser Revision 2 Design Complete

Post by PhilC »

terriblefire wrote: 09 May 2020 10:22 Been a crazy week but we've proved that this riser will pass through FMV video.

@arkadiusz.makarenko Sorry i've not been keeping up with your progress this week.
Well done guys. Makes me want to get a CD32
If it ain't broke, test it to Destruction.
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 »

OK.

After some struggle with implementation of microsecond blocking delay I managed to get following.
I hope it is good enough for Amiga. At this point it is from USB to Amiga. If this will work as expected I will have a look at sending reports back to USB keyboard (led light controls).
You do not have the required permissions to view the files attached to this post.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
terriblefire
Admin sponsor
Admin sponsor
Posts: 5687
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

arkadiusz.makarenko wrote: 10 May 2020 09:49 OK.

After some struggle with implementation of microsecond blocking delay I managed to get following.
I hope it is good enough for Amiga. At this point it is from USB to Amiga. If this will work as expected I will have a look at sending reports back to USB keyboard (led light controls).
Yeah dont think the delays need to be perfect. anywhere between 1/2 a microsecond and 2 microseconds will do i recon. Its a clocked signal after all.

EDIT: If you upload this to github i'll try and see if it works later
———
"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 May 2020 09:51
arkadiusz.makarenko wrote: 10 May 2020 09:49 OK.

After some struggle with implementation of microsecond blocking delay I managed to get following.
I hope it is good enough for Amiga. At this point it is from USB to Amiga. If this will work as expected I will have a look at sending reports back to USB keyboard (led light controls).
Yeah dont think the delays need to be perfect. anywhere between 1/2 a microsecond and 2 microseconds will do i recon. Its a clocked signal after all.

EDIT: If you upload this to github i'll try and see if it works later

I have pushed changes.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
terriblefire
Admin sponsor
Admin sponsor
Posts: 5687
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

arkadiusz.makarenko wrote: 10 May 2020 10:27 I have pushed changes.
Thanks ... have you assembled up the riser for the CD32 yet or just testing on the bench?
———
"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 May 2020 10:36
arkadiusz.makarenko wrote: 10 May 2020 10:27 I have pushed changes.
Thanks ... have you assembled up the riser for the CD32 yet or just testing on the bench?
It was on bench. Now I am trying to make it work on CD32, but it is not too successful. I managed to make it work at some point, but keys were very sticky. But most of the time it seems that stm32 is hanging or crashing.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
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 »

Now I can't connect to the chip. It says Disable read out protection and try again...
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
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 »

OK All back to normal. I just reprogrammed chip. I assume there are anti-tampering features which may be turn on by default? Don't know.

Anyway. Keyboard seems very sticky, but I know why it is. At this moment data is sent only when value on keyboard is changed, which should work fine for mouse and gamepads, but not for this keyboard implementation. So for example if you hold button it will be recorded only once. I will need to move some processing from main to different place.

And I have updated initial config, as it was holding Amiga in reset until you connected keyboard and pressed button. Now it should be ok.
Not too bad for first try.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
terriblefire
Admin sponsor
Admin sponsor
Posts: 5687
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

arkadiusz.makarenko wrote: 10 May 2020 12:09 OK All back to normal. I just reprogrammed chip. I assume there are anti-tampering features which may be turn on by default? Don't know.

Anyway. Keyboard seems very sticky, but I know why it is. At this moment data is sent only when value on keyboard is changed, which should work fine for mouse and gamepads, but not for this keyboard implementation. So for example if you hold button it will be recorded only once. I will need to move some processing from main to different place.

And I have updated initial config, as it was holding Amiga in reset until you connected keyboard and pressed button. Now it should be ok.
Not too bad for first try.
For the CD32 its v important just to do the keyboard reset once even if you change keyboards... keyboard reset is system reset on CD32.
———
"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 »

I have played a little with it, and I changed us delay implementation. Now it is marginally better than it was, but still far from perfect.

Edit:
New udelay is bad. DWT_Delay is actually much better (Measured on my cheap logic analyser).

But no luck, I start suspecting my CD32...
Do not trust people. They are capable of greatness.
~ Stanislaw Lem

Return to “TF CD32 Riser”

Who is online

Users browsing this forum: ClaudeBot and 1 guest