Page 6 of 10

Re: A new riser?

Posted: 20 Dec 2019 23:25
by terriblefire
arkadiusz.makarenko wrote: 20 Dec 2019 22:45 Is there firmware for this stm32f10x chip?
Maybe it should be stm32f7x0 (fake chip issue and more power?) And port the code?
I imported this project

https://github.com/EmberHeavyIndustries/HID2AMI

So i expect that whatever the thing actually says it will have the same pinout as this project.

Re: A new riser?

Posted: 20 Dec 2019 23:53
by arkadiusz.makarenko
terriblefire wrote: 20 Dec 2019 23:25
arkadiusz.makarenko wrote: 20 Dec 2019 22:45 Is there firmware for this stm32f10x chip?
Maybe it should be stm32f7x0 (fake chip issue and more power?) And port the code?
I imported this project

https://github.com/EmberHeavyIndustries/HID2AMI

So i expect that whatever the thing actually says it will have the same pinout as this project.
Damn. No full source code. (Or I had too much wine) I guess it has to be f103 then. Good news is that Chinese clones are getting pretty good.

Re: A new riser?

Posted: 21 Dec 2019 00:07
by terriblefire
arkadiusz.makarenko wrote: 20 Dec 2019 23:53
terriblefire wrote: 20 Dec 2019 23:25

I imported this project

https://github.com/EmberHeavyIndustries/HID2AMI

So i expect that whatever the thing actually says it will have the same pinout as this project.
Damn. No full source code. (Or I had too much wine) I guess it has to be f103 then. Good news is that Chinese clones are getting pretty good.
Well you get good ones if you buy em from RS like i do.

Maybe we can change it to something else but really i wanted to put something i the mix that was a starting point.

Re: A new riser?

Posted: 21 Dec 2019 11:21
by terriblefire
The amazing thing with doing a refactor like this is that you can see what can be removed.

50% of the HID2AMI can go. There is no need for those transistors with the approach i'm taking.

Basically what we end up with is ...

ARM talks to HID devices and maintains updates etc.

ARM can pump Keyboard data directly into the CD32 with the keyboard data lines.

when the CD32 talks to the joyport/mouse ports it is actually talking to the ARM
- IF a HID device is plugged in, otherwise no override happens and standard joyport/mouse is used.

How this works is the ARM will signal the CPLD if it can provide data for a port. If the CPLD gets this signal then it asserts PUNT when an access to the joystick/mouse port happens and signals the ARM "hey put your data on the bus now".

The CPLD handles the control side of things. ARM handles the data/usb side of things.

Might not work but we'll see.

Re: A new riser?

Posted: 26 Dec 2019 21:45
by arkadiusz.makarenko
terriblefire wrote: 21 Dec 2019 11:21
ARM can pump Keyboard data directly into the CD32 with the keyboard data lines.
Are we talking here about normal Amiga keyboard protocol. Kb_data and kb_clock, plus kb_reset?

Re: A new riser?

Posted: 27 Dec 2019 18:22
by terriblefire
For keyboard yeah

Re: A new riser?

Posted: 27 Dec 2019 18:41
by arkadiusz.makarenko
terriblefire wrote: 27 Dec 2019 18:22 For keyboard yeah
Could you tell me which legs are used for those?

Re: A new riser?

Posted: 27 Dec 2019 21:15
by terriblefire
No idea yet

Re: A new riser?

Posted: 30 Dec 2019 19:01
by terriblefire
Pretty sure you could use one of the SPI channels MOSI + SCK for the keyboard. Not tried it though.

Re: A new riser?

Posted: 31 Dec 2019 03:40
by matt020
Is an RTC anywhere in mind for this new riser design?

Cheers.