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

Allow TPIC and Wifi module to use SPI pins at the same time. #56

Open
NathanJesudason opened this issue Dec 13, 2022 · 2 comments
Open
Assignees

Comments

@NathanJesudason
Copy link
Collaborator

Describe the feature you'd like
The question is whether we can disable interrupts during times that we write to the shift register so that the wifi module is buffered.

AC:

  • Make a separate branch for testing this and DO NOT MERGE, since it's highly experimental/theorectical
@NathanJesudason NathanJesudason added enhancement New feature or request help wanted Extra attention is needed hardware Actively Working On labels Dec 13, 2022
@NathanJesudason NathanJesudason self-assigned this Dec 13, 2022
@NathanJesudason
Copy link
Collaborator Author

Wifi module has a chip select pin, so we should be able to use that so that the wifi module and shift register https://learn.adafruit.com/assets/110927

@NathanJesudason
Copy link
Collaborator Author

NathanJesudason commented Jan 19, 2023

for writing to shift register, disable interrupts, Keep CS pin high until we write, then we set it low, write to it then set CS pin high and re-enable interrupts for shift register.

We just need some chip select (GPIO 9, pin 21), SCK, MOSI, MISO

@NathanJesudason NathanJesudason removed the help wanted Extra attention is needed label Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant