Connecting a uC (PIC) to the QL
Posted: Fri May 31, 2024 7:12 pm
Hi,
I would need some advice regarding connecting a uC (PIC18F56Q83) to the expansion port, maybe someone here has experience with that.
I have made a PCB with a CPLD (ATF1502 for addressing, DSL, DSMCL, DACKL, the SP lines) and a PIC together with some other chips like the databus is decoupled with a 74LS245. The QL is connected to a small adapterboard that allows me to connect to the PIC PCB with a ribbon cable (easier prototyping as the connectors are quite expensive). The ribbon-cable is actually quite long (50cm).
So my problem currently: As soon as i solder in the PIC, the QL doesnt start, but gives a picture on startup that looks a bit like if it would be a memory error. When i remove that PIC from my PCB, everything works again, even with the PCB connected via that ribbon cable. I couldn't find any shorts on the PIC legs.
The PIC currently only has A0-A13 directly connected to the QL. I previously had RDWL, DTACKL, EXTINL, IPL0L, IPL1L directly connected, but in trying to fix my problem i removed these connections (actually the PICs legs...), didnt help. The address lines are all set to INPUT on the PIC. Could it be that the PIC is drawing too much power from these address lines and i also need to decouple them ? The address lines are also connected to the 1502 and that doesnt seem to make issues (the 1502 doesnt run anything yet however).
Or could that maybe be some problem with the uC messing up the address lines during startup ? Any other idea ?
best & thx in advance
manfred
I would need some advice regarding connecting a uC (PIC18F56Q83) to the expansion port, maybe someone here has experience with that.
I have made a PCB with a CPLD (ATF1502 for addressing, DSL, DSMCL, DACKL, the SP lines) and a PIC together with some other chips like the databus is decoupled with a 74LS245. The QL is connected to a small adapterboard that allows me to connect to the PIC PCB with a ribbon cable (easier prototyping as the connectors are quite expensive). The ribbon-cable is actually quite long (50cm).
So my problem currently: As soon as i solder in the PIC, the QL doesnt start, but gives a picture on startup that looks a bit like if it would be a memory error. When i remove that PIC from my PCB, everything works again, even with the PCB connected via that ribbon cable. I couldn't find any shorts on the PIC legs.
The PIC currently only has A0-A13 directly connected to the QL. I previously had RDWL, DTACKL, EXTINL, IPL0L, IPL1L directly connected, but in trying to fix my problem i removed these connections (actually the PICs legs...), didnt help. The address lines are all set to INPUT on the PIC. Could it be that the PIC is drawing too much power from these address lines and i also need to decouple them ? The address lines are also connected to the 1502 and that doesnt seem to make issues (the 1502 doesnt run anything yet however).
Or could that maybe be some problem with the uC messing up the address lines during startup ? Any other idea ?
best & thx in advance
manfred