Migrating ZX24 projects to ZX44 projects

Discussion specific to the DIP and TQFP packaged ZX devices like the ZX-40, ZX-44, ZX-32 and ZX-328 series. The differences between these devices is primarily the packaging and pinout so most issues will apply to all devices.
Post Reply
mdown
Posts: 62
Joined: 03 February 2006, 5:46 AM
Location: Dallas, Texas
Contact:

Migrating ZX24 projects to ZX44 projects

Post by mdown »

I am having trouble finding a zx44 pin correlation to a zx24. Up until now our application has been written for a zx24 and we are in the process of designing a new board for the zx44. A pin to pin comparison with the valid pin names for the compiler would be very handy. I found most of the pin data in the schematics. However I am not sure how say pin 32/PA5/ADC5 maps to the zbasic language. Is getadc(32) correct? And what pins are avalable as gpios vs i2c ect.

Thanks,

Mike
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

Post by dkinzer »

The pin numbers for the ZX-40 and ZX-44 are those of the package itself. One way to neatly handle the differences is to use a port/pin constant like A.5. The compiler maps this to the corresponding pin number based on the specified target CPU. For example, the compiler converts A.5 to the value 13 if you compile for the ZX-24. If compiling for the ZX-44, the compiler converts A.5 to the value 32.
- Don Kinzer
mdown
Posts: 62
Joined: 03 February 2006, 5:46 AM
Location: Dallas, Texas
Contact:

Other pins that are confusing

Post by mdown »

On the zx24 schematic pins 41 & 26 are tied creating zx24 pin 5 why was this done and do I need do the same? There are several like this.

-Mike
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

Post by dkinzer »

Sorry for the tardy reply, I overlooked this post somehow.

Because of the limited number of pins available on the ZX-24 some of the functions are doubled up on some pins. With the ZX-40 and ZX-44 those connections are unnecessary.
- Don Kinzer
Post Reply