element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Community Hub
Community Hub
Member's Forum eZ8 minimal configuration
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Leaderboard
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Community Hub to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 3 replies
  • Subscribers 571 subscribers
  • Views 452 views
  • Users 0 members are here
Related

eZ8 minimal configuration

Former Member
Former Member over 11 years ago

Hi,

 

I'm trying to get an eZ8 microcontroller running with the minimal configuration necessary to communicate with the on-chip debugger.  Currently I'm using a Parallax Propeller QuickStart board in my attempt, mainly because the operating voltages of the Propeller and the eZ8 match.  I have not had any luck so far.  I'm doing this purely out of curiosity and an interest in learning how these things work.  It seems like a fairly basic task

 

Initially, I was trying to use a square wave output generated by the Propeller as a clock input to the eZ8, but have since connected an 18.432MHz crystal as shown on page 217 of the eZ8 manual.  I have full-duplex serial communication set up on the Propeller, which I have connected to the eZ8's DBG pin, as shown on page 204 of the eZ8 manual.  I have kept the baud rate relatively low, in the 75-150 range.  I have also connected the eZ8's reset pin to a pin of the Propeller so that I can reset it as needed, and I've connected all of the VDD and VSS pins of the eZ8 (6 total) to the appropriate connections; all of this is on a solderless breadboard.  All of the other pins have been left unconnected.

 

I am trying to send the 0x80 required to initialize the AutoBaud detector (p. 206, eZ8 manual), followed by various read commands (p. 209, eZ8 manual), checking for a response after each.  I am getting no responses.  I believe that the serial library is working on the Propeller side because when I turn off the library's FDSERIAL_MODE_IGNORE_TX_ECHO flag, I can see the commands that I've sent via the transmit pin being returned via the receive pin.

 

So, my questions:

Did I miss something?  Is more than clock/reset/VSS/VDD required to get the eZ8 running?

It would be helpful if I could separate the minimal configuration problem from the serial communication problem. Is there a way to tell that the eZ8 is in fact running that is less complicated than attempting to communicate with the on-chip debugger?

Any additional thoughts are welcome..
Here's the eZ8 manual: http://www.zilog.com/docs/z8encore/PS0199.pdf

  • Sign in to reply
  • Cancel
  • michaelkellett
    0 michaelkellett over 11 years ago

    Do you really mean that you are running at 75  -150 baud - the eZ8 needs a minimum baud rate of 35.97kbaud to work with you crystal.

     

    Are you sure that your idle state is correct (should be high at the debug pin).

     

    The other thing that isn't clear is if you have the correct number of inversions between the RS232 source and the eZ8.

     

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to michaelkellett

    Michael,

     

    Thanks so much for taking the time to look at this.  I completely missed that the minimum/maximum chart was in kbaud.  After setting the baud rate to 50000, I am getting reasonable responses from the eZ8.  Awesome!

     

    The Propeller serial library does have flags to invert the TX and RX signals, and I had been trying each test with the flags off and then on.  With the baud now set to an appropriate rate, the correct setting appears to be off (non-inverted).  I suppose that checking the idle state of the debug pin would have let me find the correct inversion setting sooner, but I did not think of that and opted for trial and error instead.

     

    Thanks again!

    Jeff.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • michaelkellett
    0 michaelkellett over 11 years ago in reply to Former Member

    I'm glad it's working - there aren't many things around with quite such a high minimum baud rate so I think you have a goodish excuse image

     

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube