Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switchable in/outs and pmod ports #7

Open
DoctorMikeReddy opened this issue Dec 29, 2020 · 6 comments
Open

Switchable in/outs and pmod ports #7

DoctorMikeReddy opened this issue Dec 29, 2020 · 6 comments

Comments

@DoctorMikeReddy
Copy link

As you’ve hard wired some of the outputs to be inputs - mentioned in #6 - do you need to have a template in the firmware to stop the FPGA trying to output on those lines? Presumably, you need to replace the stock firmware? Also, why are there only 7 pmod ports, when there are 8 hub75 outputs? What’s is the eighth one used for? Could one be used, with replacement buffer chips - from a thread on chubby75 - to allow switchable IO ports? So, all the ports could be selectable in/out ports?

Apologies for all the questions

@cyber-murmel
Copy link
Owner

The modification turns output-only ports into IO ports - i.e. input and output are both possible.

The HUB75 connectors share some signals. There are only 56 individual signals in total. This results in the 7 Pmod connectors.

The chubby hat currently doesn't enable replacing the stock gateware (micro controllers have firmware; FPGAs have gateware).
When uploading gateware via JTAG, it's placed in the volatile configuration registers of the FPGA. If then power is turned off and on again, the FPGA automatically loads the stock gateware from the on-board SPI flash.

As mentioned here it's suggested to replace the unidirectional buffers with SN74CBT3245APW 8bit bidirectional FET switches

Which pin is used as in or output will be determined by the gateware.

I hope this answers your questions, If something still remains unclear, feel free to follow up :-)

@DoctorMikeReddy
Copy link
Author

DoctorMikeReddy commented Dec 31, 2020 via email

@DoctorMikeReddy
Copy link
Author

Wasn’t aware the base FW and microprocessor hadn’t been hacked yet. I’ll have a look at this

@cyber-murmel
Copy link
Owner

There is no microprocessor on the colorlight. Only an FPGA, configuration flash, Ethernet PHYs and RAM.

Or are you referring to the original gateware that implements a kind of microprocessor on the FPGA?

@cyber-murmel
Copy link
Owner

For later reference
image

@cyber-murmel
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants