@iterare said in Duex5 hardwares interface with the Duet 2 hardware:
Tackling this detection issue led me to the DueXn.cpp File in RRF 3.2.2 files. This code file seemed to indicate that the SX1509B(U8 on the Duex5) is responsible for telling the firmware that 'it'(the Duex2 or Duex5) is present at startup, and without the SX1509B's appropriate response, the Duet 2 won't 'activate' the appropriate setup of the Duex2 or 5. so the questions pile up....
That's correct. The Duet checks for the presence of the SX1509B at the expected I2C address to determine if the DueX is present. If it is present, then it reads one of the input pins on the SX1509B toi determine whether it is a Duex2 or a DueX5.
Would I need to flash the SX1509B's so that it responds to inquiry on startup? and if so, how?
No, it just needs to respond at the correct I2C address. So check that the address pins are set correctly.
The SX1509B is a tricky chip to solder. So the problem may be that some of the pins of that chip are not making contact with the PCB.