• The wonders of hindsight

    EtchedPixels09/07/2019 at 16:38 0 comments

    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.

  • It works.. with a couple of blue wires

    EtchedPixels09/02/2019 at 13:24 0 comments

    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.