by i-Bot » Mon Jul 14, 2008 4:25 pm
by i-Bot
Mon Jul 14, 2008 4:25 pm
With all these interface problems there are two questions:
1) will it do any damage ?
2) will it work ?
For 1) the LPC2106 which I understand is used in the CMU CAM is 5V tolerant which means it can accept up to about 6 V on the inputs. Therefore you are safe to make a direct connection. Other 3.3V devices which are not 5V tolerant must have a a series resistor or a FET to make the interface with 5V, depending on the chips.
For 2) the LPC2106 has TTL compatible inputs (VIH = 2V, VIL = .8V) and TTL compatible outputs (VOH = 2.9V, VOL, .4V). The ATMega128 is not really TTL compatible on the input (VIH = 3V[0.6*Vcc] VOL = 1V[0.2* Vcc] and is TTL compatible on the output (VOH = 4.2V, VOL = 0.7V). It appears the VOH of the CMUCAM misses the VIH of the MR-C3024 by 0.1V. Given the low currents and low speeds I would expect it to work OK in practice. If not a small pull up on the C3024 input to 5V should resolve.
Also understand different versions of the MR-C3024 label the ETX and ERX pins differently. I think the early boards send data from the MR C3024 on ERX and receive on ETX, later send on ETX and receive on ERX. It seems to be the screen print not the board that differs.
With all these interface problems there are two questions:
1) will it do any damage ?
2) will it work ?
For 1) the LPC2106 which I understand is used in the CMU CAM is 5V tolerant which means it can accept up to about 6 V on the inputs. Therefore you are safe to make a direct connection. Other 3.3V devices which are not 5V tolerant must have a a series resistor or a FET to make the interface with 5V, depending on the chips.
For 2) the LPC2106 has TTL compatible inputs (VIH = 2V, VIL = .8V) and TTL compatible outputs (VOH = 2.9V, VOL, .4V). The ATMega128 is not really TTL compatible on the input (VIH = 3V[0.6*Vcc] VOL = 1V[0.2* Vcc] and is TTL compatible on the output (VOH = 4.2V, VOL = 0.7V). It appears the VOH of the CMUCAM misses the VIH of the MR-C3024 by 0.1V. Given the low currents and low speeds I would expect it to work OK in practice. If not a small pull up on the C3024 input to 5V should resolve.
Also understand different versions of the MR-C3024 label the ETX and ERX pins differently. I think the early boards send data from the MR C3024 on ERX and receive on ETX, later send on ETX and receive on ERX. It seems to be the screen print not the board that differs.