riftlab / RTD2660_PCB800099

RTD2660 RTD2662 Firmware pack [just as-is]
MIT License
95 stars 48 forks source link

PCB800852 FIRMWARE ? #3

Open RavelwareRND opened 2 years ago

RavelwareRND commented 2 years ago

how about this board? do you have any idea how to develop a firmware for this board?

https://ae01.alicdn.com/kf/S601617b6ba85423580d4ebbea6135bbb5.jpg

aodxxl commented 1 year ago

Any ideea how to force 1024x600 resolution on this board? Aparently it doesnt recognise my xyx-7di hqx 7 inch display and oupts in a distorted 800x480

MikeyJayy commented 1 year ago

Any ideea how to force 1024x600 resolution on this board? Aparently it doesnt recognise my xyx-7di hqx 7 inch display and oupts in a distorted 800x480

any updates? I'm running with the same issue

Invader007 commented 3 months ago

i have a stock image with a 1024x600 resolution for that board. I can upload it, if you still need it.

If you want to flash it: I couldn't find a easy access to SDA/SCL Pins so I soldered two wires to the tiny resistors (R57 and R?7 (i think ? is a "6") next to the IC-pins (right side sixth and seventh from top) and you have to add the following Flash-ID to Rova-Tool's Flash-Devices.xml:

`

ZB25VQ40ATIG
<Signature>0x5E126013</Signature>
<Size>0x40000</Size>

`

tianyulangtong commented 2 months ago

发邮箱给我 tuanyuzhang3096@gmail.com,还有液晶屏的型号,我发给你 Send me an email tuanyuzhang3096@gmail.com, and the model number of the LCD screen, and I will send it to you.

wxorx commented 2 months ago

i have a stock image with a 1024x600 resolution for that board. I can upload it, if you still need it.

If you want to flash it: I couldn't find a easy access to SDA/SCL Pins so I soldered two wires to the tiny resistors (R57 and R?7 (i think ? is a "6") next to the IC-pins (right side sixth and seventh from top) and you have to add the following Flash-ID to Rova-Tool's Flash-Devices.xml:

<FlashDevice> <Description>ZB25VQ40ATIG</Description> <Signature>0x5E126013</Signature> <Size>0x40000</Size> </FlashDevice>

You can actually use DDC over HDMI for programming and reading, and this software: https://github.com/static-void/rtd266x_programmer.git

My setup is just a Linux laptop (Thinkpad X230/ArchLinux), mini-DP to HDMI adapter

First check what i2c busses do you have:

[ipdown@x230 rtd266x_programmer]$ i2cdetect -l
i2c-0   i2c         i915 gmbus ssc                      I2C adapter
i2c-1   i2c         i915 gmbus vga                      I2C adapter
i2c-2   i2c         i915 gmbus panel                    I2C adapter
i2c-3   i2c         i915 gmbus dpc                      I2C adapter
i2c-4   i2c         i915 gmbus dpb                      I2C adapter
i2c-5   i2c         i915 gmbus dpd                      I2C adapter
i2c-6   i2c         AUX B/DP B                          I2C adapter
i2c-7   i2c         AUX C/DP C                          I2C adapter
i2c-8   i2c         AUX D/DP D                          I2C adapter
i2c-9   smbus       SMBus I801 adapter at efa0          SMBus adapter

Then probe all the display ports, in my case the board responded on i2c-4, dpb:

[ipdown@x230 rtd266x_programmer]$ ./rtd_prog -d 4
I2C ready
Attempting to read chip ID... 

JEDEC ID: 0x5e6013
Manufacturer Unknown
Chip: 25VQ040
Size: 512KB
Flash status register: 0x1c
[ipdown@x230 rtd266x_programmer]$

Then backup or write, as you wish. It works over VGA too, on the PCB800099 boards. Huge thanks to the author of this very versatile and great piece of software.

wxorx commented 2 months ago

I have both 1024x600 and 800x480 dumps from PCB800852 board, attached here: PCB800852.zip

[ipdown@x230 rtd266x_programmer]$ ls -alh 1024x600-PCB800852.bin 800x480-PCB800852.bin 
-rw-r--r-- 1 ipdown ipdown 512K  2 май 22:34 1024x600-PCB800852.bin
-rw-r--r-- 1 ipdown ipdown 512K  2 май 22:30 800x480-PCB800852.bin
[ipdown@x230 rtd266x_programmer]$ 
[ipdown@x230 rtd266x_programmer]$ md5sum 1024x600-PCB800852.bin 800x480-PCB800852.bin 
a2b6d4cb1f71830910b41c094cc4c85c  1024x600-PCB800852.bin
f874e05e2a0959505e9237bb5c2f45f5  800x480-PCB800852.bin
[ipdown@x230 rtd266x_programmer]$
CurlyWirly commented 1 month ago

Is it possible to switch the PCB800852 to composite input and solder an AV lead to AV1 and GND? Would like to use this to go from composite on my retro PC to the attached 10.1" LCD. LCD is FT101DD348HD-50P

Invader007 commented 1 month ago

Is it possible to switch the PCB800852 to composite input and solder an AV lead to AV1 and GND? Would like to use this to go from composite on my retro PC to the attached 10.1" LCD. LCD is FT101DD348HD-50P

it will be much easier if you use a cheap composit2hdmi adapter or switch to PCB800099 (many firmwares, you can desolder the unused ports)

tianyulangtong commented 1 month ago

PCB800852, due to hardware reasons, AV IN is not supported

Invader007 @.***> 于2024年5月5日周日 23:54写道:

Is it possible to switch the PCB800852 to composite input and solder an AV lead to AV1 and GND? Would like to use this to go from composite on my retro PC to the attached 10.1" LCD. LCD is FT101DD348HD-50P

it will be much easier if you use a cheap composit2hdmi adapter or switch to PCB800099 (many firmwares, you can desolder the unused ports)

— Reply to this email directly, view it on GitHub https://github.com/riftlab/RTD2660_PCB800099/issues/3#issuecomment-2094858749, or unsubscribe https://github.com/notifications/unsubscribe-auth/BICU4RJXXEI4EZ3BVHNRXU3ZAZIZRAVCNFSM52SVKMIKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBZGQ4DKOBXGQ4Q . You are receiving this because you commented.Message ID: @.***>

tianyulangtong commented 1 month ago

The hardware is being updated recently, the first one is PCB800851, OK

LANGTONG TIANYU @.***> 于2024年5月5日周日 23:57写道:

PCB800852, due to hardware reasons, AV IN is not supported

Invader007 @.***> 于2024年5月5日周日 23:54写道:

Is it possible to switch the PCB800852 to composite input and solder an AV lead to AV1 and GND? Would like to use this to go from composite on my retro PC to the attached 10.1" LCD. LCD is FT101DD348HD-50P

it will be much easier if you use a cheap composit2hdmi adapter or switch to PCB800099 (many firmwares, you can desolder the unused ports)

— Reply to this email directly, view it on GitHub https://github.com/riftlab/RTD2660_PCB800099/issues/3#issuecomment-2094858749, or unsubscribe https://github.com/notifications/unsubscribe-auth/BICU4RJXXEI4EZ3BVHNRXU3ZAZIZRAVCNFSM52SVKMIKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBZGQ4DKOBXGQ4Q . You are receiving this because you commented.Message ID: @.***>

tianyulangtong commented 1 month ago

Only PCB800099 can be selected

LANGTONG TIANYU @.***> 于2024年5月5日周日 23:58写道:

The hardware is being updated recently, the first one is PCB800851, OK

LANGTONG TIANYU @.***> 于2024年5月5日周日 23:57写道:

PCB800852, due to hardware reasons, AV IN is not supported

Invader007 @.***> 于2024年5月5日周日 23:54写道:

Is it possible to switch the PCB800852 to composite input and solder an AV lead to AV1 and GND? Would like to use this to go from composite on my retro PC to the attached 10.1" LCD. LCD is FT101DD348HD-50P

it will be much easier if you use a cheap composit2hdmi adapter or switch to PCB800099 (many firmwares, you can desolder the unused ports)

— Reply to this email directly, view it on GitHub https://github.com/riftlab/RTD2660_PCB800099/issues/3#issuecomment-2094858749, or unsubscribe https://github.com/notifications/unsubscribe-auth/BICU4RJXXEI4EZ3BVHNRXU3ZAZIZRAVCNFSM52SVKMIKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBZGQ4DKOBXGQ4Q . You are receiving this because you commented.Message ID: @.***>

tianyulangtong commented 1 month ago

WWW.AIRDISP.COM

LANGTONG TIANYU @.***> 于2024年5月5日周日 23:59写道:

Only PCB800099 can be selected

LANGTONG TIANYU @.***> 于2024年5月5日周日 23:58写道:

The hardware is being updated recently, the first one is PCB800851, OK

LANGTONG TIANYU @.***> 于2024年5月5日周日 23:57写道:

PCB800852, due to hardware reasons, AV IN is not supported

Invader007 @.***> 于2024年5月5日周日 23:54写道:

Is it possible to switch the PCB800852 to composite input and solder an AV lead to AV1 and GND? Would like to use this to go from composite on my retro PC to the attached 10.1" LCD. LCD is FT101DD348HD-50P

it will be much easier if you use a cheap composit2hdmi adapter or switch to PCB800099 (many firmwares, you can desolder the unused ports)

— Reply to this email directly, view it on GitHub https://github.com/riftlab/RTD2660_PCB800099/issues/3#issuecomment-2094858749, or unsubscribe https://github.com/notifications/unsubscribe-auth/BICU4RJXXEI4EZ3BVHNRXU3ZAZIZRAVCNFSM52SVKMIKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBZGQ4DKOBXGQ4Q . You are receiving this because you commented.Message ID: @.***>

wxorx commented 1 month ago

Any ideea how to force 1024x600 resolution on this board? Aparently it doesnt recognise my xyx-7di hqx 7 inch display and oupts in a distorted 800x480

I planned to try this, hoping that the firmware will switch automatically to the AV1 over HDMI when it detects composite video signal

wxorx commented 1 month ago

PCB800852, due to hardware reasons, AV IN is not supported Invader007 @.> 于2024年5月5日周日 23:54写道: Is it possible to switch the PCB800852 to composite input and solder an AV lead to AV1 and GND? Would like to use this to go from composite on my retro PC to the attached 10.1" LCD. LCD is FT101DD348HD-50P it will be much easier if you use a cheap composit2hdmi adapter or switch to PCB800099 (many firmwares, you can desolder the unused ports) — Reply to this email directly, view it on GitHub <#3 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BICU4RJXXEI4EZ3BVHNRXU3ZAZIZRAVCNFSM52SVKMIKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBZGQ4DKOBXGQ4Q . You are receiving this because you commented.Message ID: @.>

Could you elaborate? I haven't traced where the AV1 goes routed on the PCB, but found somewhere a comment that this input is unused

tianyulangtong commented 1 month ago

NO AV ONLY HDMI

wxorx @.***> 于2024年5月6日周一 00:07写道:

PCB800852, due to hardware reasons, AV IN is not supported Invader007 @.

> 于2024年5月5日周日 23:54写道: … <#m9091614618114776528> Is it possible to switch the PCB800852 to composite input and solder an AV lead to AV1 and GND? Would like to use this to go from composite on my retro PC to the attached 10.1" LCD. LCD is FT101DD348HD-50P it will be much easier if you use a cheap composit2hdmi adapter or switch to PCB800099 (many firmwares, you can desolder the unused ports) — Reply to this email directly, view it on GitHub <#3 (comment) https://github.com/riftlab/RTD2660_PCB800099/issues/3#issuecomment-2094858749>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BICU4RJXXEI4EZ3BVHNRXU3ZAZIZRAVCNFSM52SVKMIKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBZGQ4DKOBXGQ4Q https://github.com/notifications/unsubscribe-auth/BICU4RJXXEI4EZ3BVHNRXU3ZAZIZRAVCNFSM52SVKMIKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBZGQ4DKOBXGQ4Q . You are receiving this because you commented.Message ID: @.>

Could you elaborate? I haven't traced where the AV1 goes routed on the PCB, but found somewhere a comment that this input is unused

— Reply to this email directly, view it on GitHub https://github.com/riftlab/RTD2660_PCB800099/issues/3#issuecomment-2094862900, or unsubscribe https://github.com/notifications/unsubscribe-auth/BICU4RJFAWHIAR2WNBIYQ6TZAZKNDAVCNFSM52SVKMIKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBZGQ4DMMRZGAYA . You are receiving this because you commented.Message ID: @.***>

tianyulangtong commented 1 month ago

TTL 50PIN 1024X600

LANGTONG TIANYU @.***> 于2024年5月6日周一 00:10写道:

NO AV ONLY HDMI

wxorx @.***> 于2024年5月6日周一 00:07写道:

PCB800852, due to hardware reasons, AV IN is not supported Invader007 @ .

> 于2024年5月5日周日 23:54写道: … <#m_7522758305339354919_m9091614618114776528> Is it possible to switch the PCB800852 to composite input and solder an AV lead to AV1 and GND? Would like to use this to go from composite on my retro PC to the attached 10.1" LCD. LCD is FT101DD348HD-50P it will be much easier if you use a cheap composit2hdmi adapter or switch to PCB800099 (many firmwares, you can desolder the unused ports) — Reply to this email directly, view it on GitHub <#3 (comment) https://github.com/riftlab/RTD2660_PCB800099/issues/3#issuecomment-2094858749>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BICU4RJXXEI4EZ3BVHNRXU3ZAZIZRAVCNFSM52SVKMIKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBZGQ4DKOBXGQ4Q https://github.com/notifications/unsubscribe-auth/BICU4RJXXEI4EZ3BVHNRXU3ZAZIZRAVCNFSM52SVKMIKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBZGQ4DKOBXGQ4Q . You are receiving this because you commented.Message ID: @.>

Could you elaborate? I haven't traced where the AV1 goes routed on the PCB, but found somewhere a comment that this input is unused

— Reply to this email directly, view it on GitHub https://github.com/riftlab/RTD2660_PCB800099/issues/3#issuecomment-2094862900, or unsubscribe https://github.com/notifications/unsubscribe-auth/BICU4RJFAWHIAR2WNBIYQ6TZAZKNDAVCNFSM52SVKMIKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBZGQ4DMMRZGAYA . You are receiving this because you commented.Message ID: @.***>

wxorx commented 1 month ago

Tianyulangtong, yes, I understand, but is this because the firmware does not support it, or the input is lacking something on the hardware level? Some firmwares for the PCB800099 supports this, so if AV is routed the same, it is a matter of firmware support

tianyulangtong commented 1 month ago

NEW PCB800851 OK, NEW PCB800852, ABOUT 2024-08

LANGTONG TIANYU @.***> 于2024年5月6日周一 00:13写道:

TTL 50PIN 1024X600

LANGTONG TIANYU @.***> 于2024年5月6日周一 00:10写道:

NO AV ONLY HDMI

wxorx @.***> 于2024年5月6日周一 00:07写道:

PCB800852, due to hardware reasons, AV IN is not supported Invader007 @.

> 于2024年5月5日周日 23:54写道: … <#m_1135549544521137346_m_7522758305339354919_m9091614618114776528> Is it possible to switch the PCB800852 to composite input and solder an AV lead to AV1 and GND? Would like to use this to go from composite on my retro PC to the attached 10.1" LCD. LCD is FT101DD348HD-50P it will be much easier if you use a cheap composit2hdmi adapter or switch to PCB800099 (many firmwares, you can desolder the unused ports) — Reply to this email directly, view it on GitHub <#3 (comment) https://github.com/riftlab/RTD2660_PCB800099/issues/3#issuecomment-2094858749>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BICU4RJXXEI4EZ3BVHNRXU3ZAZIZRAVCNFSM52SVKMIKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBZGQ4DKOBXGQ4Q https://github.com/notifications/unsubscribe-auth/BICU4RJXXEI4EZ3BVHNRXU3ZAZIZRAVCNFSM52SVKMIKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBZGQ4DKOBXGQ4Q . You are receiving this because you commented.Message ID: @.>

Could you elaborate? I haven't traced where the AV1 goes routed on the PCB, but found somewhere a comment that this input is unused

— Reply to this email directly, view it on GitHub https://github.com/riftlab/RTD2660_PCB800099/issues/3#issuecomment-2094862900, or unsubscribe https://github.com/notifications/unsubscribe-auth/BICU4RJFAWHIAR2WNBIYQ6TZAZKNDAVCNFSM52SVKMIKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBZGQ4DMMRZGAYA . You are receiving this because you commented.Message ID: @.***>

wxorx commented 1 month ago

What is PCB800851, do you have a link, or a picture? PCB80085 - you mean there will be new revision? Hardware, or firmware changes, or both?

wxorx commented 1 month ago

Tianyu, post some links, please. Thank you!

tianyulangtong commented 1 month ago

Hardware,

wxorx @.***> 于2024年5月6日周一 00:20写道:

Tianyu, post some links, please. Thank you!

— Reply to this email directly, view it on GitHub https://github.com/riftlab/RTD2660_PCB800099/issues/3#issuecomment-2094866345, or unsubscribe https://github.com/notifications/unsubscribe-auth/BICU4RMTGIP3RDGQKNXBBXLZAZL4BAVCNFSM52SVKMIKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBZGQ4DMNRTGQ2Q . You are receiving this because you commented.Message ID: @.***>

tianyulangtong commented 1 month ago

LANGTONG TIANYU @.***> 于2024年5月6日周一 00:21写道:

Hardware,

wxorx @.***> 于2024年5月6日周一 00:20写道:

Tianyu, post some links, please. Thank you!

— Reply to this email directly, view it on GitHub https://github.com/riftlab/RTD2660_PCB800099/issues/3#issuecomment-2094866345, or unsubscribe https://github.com/notifications/unsubscribe-auth/BICU4RMTGIP3RDGQKNXBBXLZAZL4BAVCNFSM52SVKMIKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBZGQ4DMNRTGQ2Q . You are receiving this because you commented.Message ID: @.***>

CurlyWirly commented 1 month ago

Is it possible to switch the PCB800852 to composite input and solder an AV lead to AV1 and GND? Would like to use this to go from composite on my retro PC to the attached 10.1" LCD. LCD is FT101DD348HD-50P

it will be much easier if you use a cheap composit2hdmi adapter or switch to PCB800099 (many firmwares, you can desolder the unused ports)

Thanks for your advice. I am getting a PCB800099 and work from there 😀 If anyone gets it working for the PCB800852 then I would shift back as it seems smaller and would more easily fit in my case.

wxorx commented 1 month ago

Tianyu, thank you. I will trace where AVis connected in respect to the PCB800099 board, to try to understand the difference

wxorx commented 1 month ago

Somewhere at https://www.mattmillman.com/info/lcd/pcb800099/ there was/is a link to a supposedly compileable leaked source repo for these chips, that is targeted to the Keil's MCS51 toolchain, which I have. I can give it a try, and if it works, I can try to port it to the open source SDCC.

tianyulangtong commented 1 month ago

ok

wxorx @.***>於 2024年5月6日 週一,03:33寫道:

Somewhere at https://www.mattmillman.com/info/lcd/pcb800099/ there was/is a link to a supposedly compileable leaked source repo for these chips, that is targeted to the Keil's MCS51 toolchain, which I have. I can give it a try, and if it works, I can try to port it to the open source SDCC.

— Reply to this email directly, view it on GitHub https://github.com/riftlab/RTD2660_PCB800099/issues/3#issuecomment-2094922904, or unsubscribe https://github.com/notifications/unsubscribe-auth/BICU4RI6CRZRWL4PPNGUAZLZA2CSLAVCNFSM52SVKMIKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBZGQ4TEMRZGA2A . You are receiving this because you commented.Message ID: @.***>

CurlyWirly commented 1 month ago

PCB800852, due to hardware reasons, AV IN is not supported Invader007 @. _> 于2024年5月5日周日 23:54写道: Is it possible to switch the PCB800852 to composite input and solder an AV lead to AV1 and GND? Would like to use this to go from composite on my retro PC to the attached 10.1" LCD. LCD is FT101DD348HD-50P it will be much easier if you use a cheap composit2hdmi adapter or switch to PCB800099 (many firmwares, you can desolder the unused ports) — Reply to this email directly, view it on GitHub <#3 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BICU4RJXXEI4EZ3BVHNRXU3ZAZIZRAVCNFSM52SVKMIKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBZGQ4DKOBXGQ4Q . You are receiving this because you commented. Message ID: _@_._>

Could you elaborate? I haven't traced where the AV1 goes routed on the PCB, but found somewhere a comment that this input is unused

Sorry I was only hoping this was possible, the back of my PCB800852 board says 1HDMI + 1AV. There is also an AV1 solder point with the USB power points. But it's possible it's not 'electrically' wired up like the PCB800099 is for a composite input. I was hoping it was electrically connected and only needed to have the input switched using a 'jumper' or maybe a firmware change for example.

CurlyWirly commented 1 month ago

I completed a visual trace using photos with my mobile phone. It appears AV1 is electrically connected and appears to have all of the components on the board to support a composite video input on the PCB800852 board using an RTD2660H. It is connected to pins 43 & 44 and is wired similar to the below with the same components for the AV connection. https://w.electrodragon.com/w/images/e/ee/Rtd2660.pdf However the above is using pins 45 & 46

So it is likely that board PCB800852 'could' accept a composite video in with the right firmware. Or if it has a firmware supporting AV1 then how to switch inputs??

CurlyWirly commented 1 month ago

PCB800852 AV1 connection

Hopefully this uploads, shows where the AV1 terminates to the RTD2660H on the PCB800852 board. The link from AV1 to the components is on the other side of the board.

wxorx commented 1 month ago

Great, thanks a lot for that. Definitely, looks like it needs proper firmware support for AV.

Does anyone knows what for is the R77?

tianyulangtong commented 1 month ago

R77 NO USE

wxorx @.***> 于2024年5月7日周二 11:57写道:

Great, thanks a lot for that. Definitely, looks like it needs proper firmware support for AV.

Does anyone knows what for is the R77?

— Reply to this email directly, view it on GitHub https://github.com/riftlab/RTD2660_PCB800099/issues/3#issuecomment-2097398775, or unsubscribe https://github.com/notifications/unsubscribe-auth/BICU4RIYBYSLDXTQ6FJDNPDZBBGMLAVCNFSM52SVKMIKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBZG4ZTSOBXG42Q . You are receiving this because you commented.Message ID: @.***>

wxorx commented 1 month ago

OK, R77 is maybe not used by the current firmware, but it is some option anyway that could be used, in future firmware versions. The R77 itself is a 0 ohm resistor, or basically a solder jumper. It grounds the pulled-up to 3v3, through 10K resistor, the 54 pin (A-ADC4/GPIO)