I have a DOUT board connected to a Core32 board along with a DIN board and I’m getting some weird behaviour.
Basically, the only way I can get the DOUT LEDs to work is by physically touching the pin of DOUT IC1 which connects to DOUT J1:S0 (I can even do it by hovering my finger close to said pin). When I do this, all connected LEDs light up, but still do not respond to the MIOS32 PinSet function. Sometimes, during startup, all connected LEDs will turn on for a few seconds and then all off.
What have I missed? I’ve tried a couple of DOUT boards, checked for shorts on both, popped IC1 out and then put it back in, and made up a new ribbon cable connecting J8 and DOUT:J1 - no luck
I found that I had R31 SIL resistors fitted the wrong way round in the core32, check that the spot on R31 aligns with the marking on the board.
Make sure that the ribbon cable is correct at the DOUT end, if you are using a SmashTV board then the connections are on the inner (that is closest to the first shift register) edge of the connector J1. The DIN chain connects to the outer edge of DIN J1 on the SmashTV boards.
I found that things worked better when the DOUT chain was terminated as recommended by TK. I think this info should be in the documentation somewhere.
Also make sure that the DOUT cable is in J8 and the 5V0 jumper is set on J8.
The termination is (normaly) only required if multiple DIN/DOUT SRs are chained in mixed order like I did for MBSEQ (today I wouldn’t do it this way anymore)
It shouldn’t be required if DIN and DOUT modules are connected in separate chains.
Important: the cables should be as short as possible, between Core and the first DIN/DOUT module not longer than 30 cm!
If this doesn’t help, it’s definitely related to the pull-up resistors. The 220 Ohm array has to be used! (neither 1k nor 10k)
Make sure that the ribbon cable is correct at the DOUT end, if you are using a SmashTV board then the connections are on the inner (that is closest to the first shift register) edge of the connector J1. The DIN chain connects to the outer edge of DIN J1 on the SmashTV boards.
Thanks Tim, I had previously had it connected similar to my DIN boards as that was the only way I was getting any LED activity (not a very good troubleshooting method, I’ll admit ).
Do you know that DOUT Pin #0 is assigned to the leftmost output pin of the MBHP_DOUT_DINX4 module (J4:D7), and not to J4:D0?
Thanks TK! When I read that, I remembered skimming across something about that on the DOUT pin table wiki page. Seems to be working OK, haven’t done much testing though. Thanks again!