After long time of using ZX-24n and ZX-1280n my customer is looking for compromise solution with small size and multiple serial channels (software-based won't do). I suggested switching to Xmega but there are several concerns due to different voltage.
First, we used 74LS04 before to connect hardware ports to external devices with TTL-compatible RS-232 inputs. As far as I know 74LS04 does not work at 3.3V and I did not find recommended schematics for 32A4 devices. On other thread you recommended 74LVC3G04 alternative and it is OK for 3.3V, but it only has 3 invertors. Is there anything suitable with more?
Second, I wonder how versatile is the scematics based on logic invertors. At 5V we were able to reliable communicate with both TTL-compatible and with true RS-232 inputs (like PC com ports). I guess you are confident that it works since you are using this for programming port. Were there any programming/debugging issues with 24x devices?
Third, we need multiple (up to 8 ) analog inputs, usually a mix of Hall-sensors and resistors. When resistors were used they had independent 5V supply. Now we have to use 3.3V output from ZX and since L78L33ABUTR is only rated at 100mA I am not sure it would be enough to use as supply for sensors.
Serial and analog connections for ZX-24x
Re: Serial and analog connections for ZX-24x
They are on the Downloads page: http://www.zbasic.net/doc/ZX-32a4_Schematic.pdfwwwoholic wrote: I did not find recommended schematics for 32A4 devices.
The 74AHC series can operate at 2.0V to 5.5V while the 74HC series can operate at 2.0V to 6.0V. Search for the 74AHC04 and 74HC04.wwwoholic wrote:On other thread you recommended 74LVC3G04 alternative and it is OK for 3.3V, but it only has 3 invertors. Is there anything suitable with more?
We have not seen any issues with the inverter-based level converters. That said, a "0 to positive" voltage swing does not meet the RS-232 specifications so it is entirely possible that you could encounter an RS-232 receiver that does not recognize the logic zero output of an inverter as a "mark" signal.wwwoholic wrote:Were there any programming/debugging issues with 24x devices?
3.3V regulators are fairly inexpensive. If you get one in a TO-220 package and mount it with a heatsink you should be in good shape. We use the MIC2937A-3.3WT on the ZX-128A1 Development board.wwwoholic wrote:Now we have to use 3.3V output from ZX and since L78L33ABUTR is only rated at 100mA I am not sure it would be enough to use as supply for sensors.
- Don Kinzer
It was mostly a routing issue. The other pins to which it could have been most easily connected were already doubly connected. Further, having an ADC input grounded provides a means for run-time calibration of ADC offset. That is, if you perform a conversion on a grounded pin you should get zero. If the result is non-zero, that is the offset to apply to other readings.wwwoholic wrote:Why did not you multiplex it with something else like you did with six other pins?
- Don Kinzer