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
Just sharing an application...

 
Post new topic   Reply to topic    Forum Index -> ZX-24
Author Message
pjc30943



Joined: 02 Dec 2005
Posts: 220

Posted: 30 March 2006, 22:55 PM    Post subject: Just sharing an application... Reply with quote

Due to Don's excellent service and the ZX24's easy access to relatively advanced capabilities, our team at Stanford used a ZX24 as the central controller of the device described herein. It is being developed for a large silicon-wafer manufacturer. The goal is to measure motion precisely, all with a compact, low-weight, package.

I'm writing this post just to share what we're having a ZX do currently.

Though we're not done yet, here's some of the resources we're using:

--hardware and software SPI (ShiftinEx), total 4 channels
--I2C
--4 (5 including com1) asynchronous bidirectional serial channels, 4.8-9.6kbaud.
--several large tasks in addition to Main, including ones that run handle some of the coms above.

The ZX24 is connected to several high-speed peripherals, including (but not limited to)

--3 axis accelerometer
--1 gyro
--2 optical mice cores
--2 16-bit ADCs (6 channels)
--1 RF transciever
--1 flash card interface board (256Mb)


The nice thing is, we have not yet been close to running out of RAM, consuming about 2/3 at the worst.


A picture our v.3 prototype is enclosed, with the board shown on a presentation style mock-up wafer, instead of a fragile real one.


The point of this post was just to show some of the capabilities of the ZX24, which are quite nice for the simplicity of programming it. We've already ordered a few more zx24s a few months ago, and plan to stick to the zx system...

[ With many things happening simultaneously, faster speeds would be nice...Say a factor 2 or 3 or 10. How about it, Don...HC12 speeds...easy right? Rolling Eyes ]

Back to top
mikep



Joined: 24 Sep 2005
Posts: 765
Location: Austin, TX

Posted: 31 March 2006, 4:56 AM    Post subject: Reply with quote

It always nice to see stuff like this. Good job.

In terms of performance, ZBasic is somewhat tied to its architecture and the underlying chip capabilities. I have several suggestions for you which I'm sure you have already thought of:
  1. What do you mean by it is slow? Would you like your control loop to go faster? Can you define your performance requirements?
  2. Once requirements are defined then you can test against them to see what is off. Performance analysis can be done to determine what parts of the code need to go faster. Having separate asynchronous tasks as you have certainly helps matters if the main control loop only has to retrieve data from these tasks on demand. Are their specific parts that need to be faster and others are ok? The 80/20 rule definitely applies here too.
  3. Can you offload some "compute-intensive" function onto a subprocessor such as another ZBasic chip? Communication and synchronization may then become a problem. I'm currently looking at a shared FRAM memory application between multiple ZBasic chips.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> ZX-24 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