Other Parts Discussed in Thread: , , SN74LVC1G125
Hi All
I came across a weird one last week. I'm using the EVM software with a homebuilt interface (PL2303 to TTL and LV125 buffer) which work perfectly for up to 20 temperature sensors but not 21 or 22 ......
We'd instrumented a large module with plenty of cables and connectors so assumed issues with the wiring. If we took off the 21st sensor in the chain, it would all work, add the 21st and / or 22nd sensor and nothing at all. We also moved these last two sensors elsewhere in the chain and the same thing. With sensor 21 and or 22 in the chain it would not initialise. We had another chain of 26 sensors on the module which read fine and one of 17 which also read fine.
I naturally assumed there was some kind of current limitation or similar with my el cheapo PL2303 5V out but scoping the leads and signals shows everything as fine. I then made up another 21 boards / sensors at the weekend and hooked them up on the bench - same result.
Maybe an issue with the connectors / FPC I'm using ? Tried it with some old boards I'd made up with five sensors to a board. 5 sensors = ok, 10 sensors = ok, 15 = ok, 20 = ok, 21 = no go, 22 = no go, 23 = ok !
Hang on, so <=20 works fine >=23 works fine. I tested all the way up to 32 sensors without an issue.
I then used my own hardware / software to try it on a string of 21 sensors (CAN BUS -> PIC controller -> galvanic isolator -> buffer -> TMP107 string) and it worked with no issues with any number of sensors.
This might still be an issue with using the PL2303 TTL interface instead of maybe a FTDI but though I'd mention it in case there was a software issue (Dec 32 -> Hex 20 - just a thought ... ) or if it is just this particular setup that has caused an issue. I ran out of project time to debug any further.