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

Implement something like the TOFE "virtual EEPROM" #12

Open
mithro opened this issue Sep 9, 2017 · 1 comment
Open

Implement something like the TOFE "virtual EEPROM" #12

mithro opened this issue Sep 9, 2017 · 1 comment

Comments

@mithro
Copy link

mithro commented Sep 9, 2017

It would be good to enable the FPGA to interact with the PIC to do things like read the analog values.

On the TOFE LowSpeedIO board I did this through the PIC appearing as a I2C EEPROM via the code here -> https://github.com/timvideos/HDMI2USB-TOFE-LowSpeedIO/blob/firmware/firmware/virtual-i2c-eeprom.c#L416-L483 and https://github.com/timvideos/HDMI2USB-TOFE-LowSpeedIO/blob/firmware/firmware/virtual-i2c-eeprom.c#L84-L278

It probably makes more sense for the PIC to do something like a SPI device or something?

Questions:

  • Which pins to use to talk to the PIC? The SPI lines are connected to the PIC and the SPI flash but the SPI flash will only respond when the chip select line is low.
  • Can any of the PROG/INIT_B/DONE pins be repurposed?
  • Maybe something using / with the UART?
@mithro
Copy link
Author

mithro commented Sep 9, 2017

image

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

1 participant