How to get multiple I/O port outputs like 0x80, 0x81, 0x82, 0x83 #4
-
Hello. So, I'm doing some tinkering with a ryzen motherboard (Asrock X370 Killer Sli A/C with a ryzen 3200g) |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 10 replies
-
changing the 0x80 to either of the other ports 'works' but I've no idea how to get all of it working that way, |
Beta Was this translation helpful? Give feedback.
-
Hi, As you already know, the implementation allows you to use only one port at a time. There are several approaches to achieving this. (ish..)
check out the #4 (comment)
I think that's all I can say. Good luck. |
Beta Was this translation helpful? Give feedback.
-
I put the working code on this branch. This is the log output
on Linux
serial output :
serial output : |
Beta Was this translation helpful? Give feedback.
-
Our testing platform has a 4-digit 7 segment LED display for displaying the post code. The first two digits are from port 81, and the last two digits are from port 80. Using this github (git clone https://github.com/MrGreensWorkshop/RasPiPicoSDK-PicoBiosPostCodeReader.git), we were able to capture the last two digits (port 80). Can you help us capture all four digits, including port 81? |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
I put the working code on this branch.
This is the log output
on Linux
serial output :
data: 92 18 00 20
92 -> 0x92 data
18-> 0x81 address (swapped nibbles)
serial output :
data: 12 08 00 20
12 -> 0x12 data
08-> 0x80 address (swapped nibbles)