I have a CODAN 8525A radio that I am setting up for HAM use.
It has a CLK and DATA bus shared between I2C (4 x PCF8574, 1 x PCF8570), CBUS (2xSAA1061) and the bit banged 2 x MC145159 PLLs.
This is not counting the remote display that I will not use.
My problem is I can read the PCF8574 chips using I2C, or write to the SAA1061 chips via bit banged code, and "sort off" drive the PLLs, if I can figure out the maths to calculate the numbers!
BUT, if I use any Arduino Wire commands, as in the I2C, the SDA (A4) and SCL (A5) pins are not available for other use. The bit bang code still runs, but the SDA and SCL pins do not toggle.
I can cut tracks and use other Arduino pins, but I just want to keep the board standard, remove the 80C31 and EPROM, and plug an Arduino board in their sockets. This lets me use the original setup, and also, makes it an easy upgrade for those with one of these sets.
So far I have not been able to find any programming info or Ham band EPROM bin files to use it as original. And the circuits I've got are not quite this set. Most info refers to 8528 sets or later.
Anyhow, does any one know how to switch A4 and A5 between digital I/O, I2C (SDA, SCL) and back again on the Arduino?




It has a CLK and DATA bus shared between I2C (4 x PCF8574, 1 x PCF8570), CBUS (2xSAA1061) and the bit banged 2 x MC145159 PLLs.
This is not counting the remote display that I will not use.
My problem is I can read the PCF8574 chips using I2C, or write to the SAA1061 chips via bit banged code, and "sort off" drive the PLLs, if I can figure out the maths to calculate the numbers!
BUT, if I use any Arduino Wire commands, as in the I2C, the SDA (A4) and SCL (A5) pins are not available for other use. The bit bang code still runs, but the SDA and SCL pins do not toggle.
I can cut tracks and use other Arduino pins, but I just want to keep the board standard, remove the 80C31 and EPROM, and plug an Arduino board in their sockets. This lets me use the original setup, and also, makes it an easy upgrade for those with one of these sets.
So far I have not been able to find any programming info or Ham band EPROM bin files to use it as original. And the circuits I've got are not quite this set. Most info refers to 8528 sets or later.
Anyhow, does any one know how to switch A4 and A5 between digital I/O, I2C (SDA, SCL) and back again on the Arduino?




