Page 45 of 60

Re: TF CD32 Riser Revision 2 Design Complete

Posted: 17 Nov 2020 08:50
by terriblefire
makaron wrote: 16 Nov 2020 21:32
I built new card today.
I haven't ordered 100k resistors on video line (installed biggest I had 20k for now), but video is badly overexposed and colours do not match, video is very soft.
I will try with 100k in few days and will let you know.
I think the resistors need to be 75R but i'll check. those are pull down resistors to ground IIRC.

NOTE: never trust any values i put in schematics.. i never set the values until after i build it.

Re: TF CD32 Riser Revision 2 Design Complete

Posted: 17 Nov 2020 10:26
by makaron
terriblefire wrote: 17 Nov 2020 08:50
makaron wrote: 16 Nov 2020 21:32
I built new card today.
I haven't ordered 100k resistors on video line (installed biggest I had 20k for now), but video is badly overexposed and colours do not match, video is very soft.
I will try with 100k in few days and will let you know.
I think the resistors need to be 75R but i'll check. those are pull down resistors to ground IIRC.

NOTE: never trust any values i put in schematics.. i never set the values until after i build it.
I did suspect that this might be the case. (datasheet has 75R)

PS
I need to order smd resistor set, it starts to annoy me that I never have right values and need to wait ages for delivery..

Re: TF CD32 Riser Revision 2 Design Complete

Posted: 17 Nov 2020 10:38
by terriblefire
makaron wrote: 17 Nov 2020 10:26
terriblefire wrote: 17 Nov 2020 08:50

I think the resistors need to be 75R but i'll check. those are pull down resistors to ground IIRC.

NOTE: never trust any values i put in schematics.. i never set the values until after i build it.
I did suspect that this might be the case. (datasheet has 75R)

PS
I need to order smd resistor set, it starts to annoy me that I never have right values and need to wait ages for delivery..
I get the £9 assorted sets with 20 of every value

Somthing like this

https://www.ebay.co.uk/itm/2000pcs-0-oh ... SwW2RdMYAx

Re: TF CD32 Riser Revision 2 Design Complete

Posted: 17 Nov 2020 14:17
by makaron
@terriblefire
I did find few resistors 68R
There are some small differences but maybe resistor values migh need to be better adjusted if someone is looking for perfection? Anyway it is good enough for me.

Unbuffered
20201117_140942.jpg
Buffered with 68R
20201117_141034.jpg

And I fuc**ed up order. I ordered wrong usb stacked connectors (usb 3.0), and destroyed my other one when I tried to desolder it from old board. Another few days wait for parts now :D

Re: TF CD32 Riser Revision 2 Design Complete

Posted: 17 Nov 2020 19:09
by makaron
I am not too patient. I trimmed "spare" legs on stacked USB which I got, and it works both HS and FS.
I need to update firmware to changes in pin wiring.

I don't have any spare 1220 batteries at home, ordered some today. Need to complete and test RTC support.

Re: TF CD32 Riser Revision 2 Design Complete

Posted: 17 Nov 2020 21:55
by makaron
Managed to start it. :)
I had some hiccup with RTC LSE, it needs different config to start. Using default values it was unstable - which caused hangs for some reason, when values were written to RTC registers. (RTC init was in constant never ending loop).
Waiting for battery to make sure that time is kept even in power off mode.

Re: TF CD32 Riser Revision 2 Design Complete

Posted: 19 Nov 2020 00:12
by arkadiusz.makarenko
Another few elements working (keyboard).
Few minor bugfixes with managing registers have been added.
Unfortunately still don't know why cd32 pad is not being detected correctly.
I am setting up cross compiler to modify ATK to show me what exactly is being read and why it doesn't pass detection. ... but setting up compiler is painful and takes ages!

Re: TF CD32 Riser Revision 2 Design Complete

Posted: 19 Nov 2020 08:30
by terriblefire
arkadiusz.makarenko wrote: 19 Nov 2020 00:12 Another few elements working (keyboard).
Few minor bugfixes with managing registers have been added.
Unfortunately still don't know why cd32 pad is not being detected correctly.
I am setting up cross compiler to modify ATK to show me what exactly is being read and why it doesn't pass detection. ... but setting up compiler is painful and takes ages!
IIRC the ATK can be built on a generic compiler that you can apt-get install.

Re: TF CD32 Riser Revision 2 Design Complete

Posted: 19 Nov 2020 13:19
by arkadiusz.makarenko
My opinion on compiling cross compilers from source...
table.png

Re: TF CD32 Riser Revision 2 Design Complete

Posted: 19 Nov 2020 13:31
by terriblefire
arkadiusz.makarenko wrote: 19 Nov 2020 13:19 My opinion on compiling cross compilers from source...

table.png
Or you can use the prebuilt docker container. :)