-
Notifications
You must be signed in to change notification settings - Fork 0
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
Firmware #4
Firmware #4
Conversation
patricklatimer
commented
Oct 8, 2024
•
edited
Loading
edited
- Proper way to use events?
- Do we need any other control registers?
- WhoAmI?
- Best place for device.yml?
For bare-bones Harp communication, this looks good. Delegating the bulk of the work to core1 is clever in that you don't need to rewrite the SPI transactions to non-blocking (i.e: cooperative multitasking) to keep up Harp communication. I added a few in-line comments. Additionally, let's plan to add:
|
Actually, on second thought we might need to consider getting this to run on just one core for heat-output reasons. Let's do a temperature check with the current implementation. If the heat change is noticeably higher, we might need to do a rewrite to just use one core. |
Ooh, still need WhoAmI, shouldn't forget to add that. |
You can go ahead and use 1405 (I have registered it https://github.com/harp-tech/protocol/blob/41941a6f2dc4f49397946544d70aa5d9759a0ed8/whoami.yml#L173). Once you have a firmware you are happy with let me know and I can generate the bonsai interface and device.yml. Thanks! |
Okay, so I was going to finish some pyharp upgrades and python tests for this, but it sounds like I'm being pulled elsewhere and it isn't actually blocking the bonsai work so I'll call this ready for review and integration into bonsai if y'all approve. |
Ok overall, this looks great! Let's handle these in-line changes and go from there. Also: that's a rad way to quickly spin up a Harp class for this device on the Python side. It would be super awesome to get it into pyharp eventually. |
In case it's useful we are maintaining a parser for yml files here already https://github.com/harp-tech/harp-python/blob/main/harp/schema.py |
Alright, I believe everything should be addressed. The python driver probably won't work without the new pyharp driver that handles events (AllenNeuralDynamics/pyharp#4) though. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Woot-woot! Thanks for making all the tweaks!