You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.
(this is currently being worked on on the dev-board branch) (merged into master)
I no longer have a way to test this crate, so I want to build a development PCB with a bunch of SPI Flash and EEPROM chips on it that can also be used for hardware-in-the-loop testing. The PCB should have the following features:
USB interface via a USB-to-SPI chip, to make development easy (no #![no_std] requirement since everything runs on a normal PC).
A Raspberry Pi header as an alternative interface, bypassing the USB chip (this makes it easy to set up a very compact CI bot that runs against real hardware).
Contain Flash and EEPROM chips (if applicable) of all chip families we want to support, that is, 24, 25, and 45 (are there others we want to support?). If possible, from different vendors.
This sort of setup is perhaps a bit overkill for a crate like this, but it seems like a very good starting point regarding HIL-testing that I can hopefully later transfer to Rubble, which is way more complex to test.
Current progress and notes:
Plugging in USB while the PCB is mounted on a Pi is potentially dangerous, it would be nice to make this safe. This means we need power supply switchover, and some sort of mux for switching the SPI mastering between Pi and the USB chip. The circuit should switch everything over to USB once it's connected. Connecting the grounds together should be safe, as long as an isolated power supply is used (isolation is required by regulations; and even the cheapest USB wall warts are isolated).
Reset lines should be software-controllable The chips can't be reset (some only have a \HOLD pin that just pauses transfers), need to switch off their power supply I guess.
Decide on specific parts (mostly passives, etc.)
Need to be obtainable from a supplier that sells to private persons
Actually design the board
Order
Assemble
Electric Bringup
Test power switch
Test chip selects
Test bus release/ack mechanism
Test/Fix polarity of Master LEDs
Test chip power control
Write a library for talking to the USB chip (should be straightforward; the docs are pretty good, and libusb-rs should work fine; needs to impl embedded-hals SPI traits of course)
(this is currently being worked on on the(merged into master)dev-board
branch)I no longer have a way to test this crate, so I want to build a development PCB with a bunch of SPI Flash and EEPROM chips on it that can also be used for hardware-in-the-loop testing. The PCB should have the following features:
#![no_std]
requirement since everything runs on a normal PC).This sort of setup is perhaps a bit overkill for a crate like this, but it seems like a very good starting point regarding HIL-testing that I can hopefully later transfer to Rubble, which is way more complex to test.
Current progress and notes:
Work left to do:
Reset lines should be software-controllableThe chips can't be reset (some only have a\HOLD
pin that just pauses transfers), need to switch off their power supply I guess.embedded-hal
s SPI traits of course)linux-embedded-hal
orrppal
The text was updated successfully, but these errors were encountered: