SPI expander and fixer for SC126
To make the experience fit your profile, pick a username and tell us what interests you.
We found and based on your interests.
spi126.zipGerbersZip Archive - 76.34 kB - 04/06/2020 at 15:12 |
|
|
SC126Mux.kicad_pcbPCB design - this has the small mistake in the ones I produced fixed but hasn't been tested as I just added a couple of wires to fix it.x-kicad-pcb - 184.74 kB - 09/02/2019 at 13:12 |
|
|
SC126Mux.schPCB design - this has the small mistake in the ones I produced fixed but hasn't been testedx-kicad-schematic - 9.31 kB - 09/02/2019 at 13:12 |
|
|
SC126Mux.pdfSchematic as a PDFAdobe Portable Document Format - 22.44 kB - 09/02/2019 at 13:12 |
|
|
I really should have added a 3v3 regulator and 3v3 pins to the breakout. A lot of SPI stuff is 5v tolerant/3v3 supply and it would have been a sensible place to put it. I guess a new version is needed.
Version one worked but I hadn't realised how much crappy SPI stuff there is that doesn't properly get off the MISO line when not selected.
This version seems to work although I managed to end up with two unconnected power nets and some upside down chip labels. With those fixed and tested with wires I've uploaded the corrected Kicad schematic and PCB files but not yet tested the changes.
The theory is fairly simple. The two original CS lines go into both the 74HCT138 and the 74HCT153. The 74HCT138 in turn sets one of the four CS lines low. Ports 1 and 2 correspond to the original intended ports, whilst port 0 and 3 are extras. There is no 'not connected' so you need a device that doesn't mind being used as a 'parking' chip select on Port 3 (or leave it empty).
The 74HCT153 handles the MISO line the same way but in reverse, it multiplexes the four MISO lines from the devices onto the MISO line to the mainboard.
Create an account to leave a comment. Already have an account? Log In.
Become a member to follow this project and never miss any updates
WORKS GREAT!!!
CM