Forum Index
HomeZBasic Home   Forum RulesForum Rules   Forum FAQForum FAQ   MemberlistMemberlist   UsergroupsUsergroups   RSS FeedRSS Feed
Site SearchSite Search   LinksLinks   DownloadDownload   Digests and SubscriptionsDigests and Subscriptions
ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in   RegisterRegister
Migrating ZX24 projects to ZX44 projects

 
Post new topic   Reply to topic    Forum Index -> ZX-40
Author Message
mdown



Joined: 03 Feb 2006
Posts: 62
Location: Dallas, Texas

Posted: 01 August 2006, 21:18 PM    Post subject: Migrating ZX24 projects to ZX44 projects Reply with quote

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
Back to top
dkinzer
Site Admin


Joined: 03 Sep 2005
Posts: 2493
Location: Portland, OR

Posted: 01 August 2006, 23:18 PM    Post subject: Reply with quote

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.
Back to top
mdown



Joined: 03 Feb 2006
Posts: 62
Location: Dallas, Texas

Posted: 01 August 2006, 23:30 PM    Post subject: Other pins that are confusing Reply with quote

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
Back to top
dkinzer
Site Admin


Joined: 03 Sep 2005
Posts: 2493
Location: Portland, OR

Posted: 07 September 2006, 0:32 AM    Post subject: Reply with quote

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.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> ZX-40 Time synchro. with the server - Timezone/DST with your computer
Page 1 of 1

 


All content Copyright © 2005-2012 Elba Corp. All Rights Reserved.
Opinions expressed in posts are those of the author and not necessarily those of Elba Corp.
Powered by phpBB © 2001, 2005 phpBB Group