PowerCore FLEX™ User’s Manual
Part Number 019-0141 • 070831–E • Printed in U.S.A.
©2004–2007 Rabbit Semiconductor Inc. • All rights reserved.
No part of the contents of this manual may be reproduced or transmitted in any form or by any means
without the express written permission of Rabbit Semiconductor.
Permission is granted to make one or more copies as long as the copyright page contained therein is
included. These copies of the manuals may not be let or sold for any reason without the express written
permission of Rabbit Semiconductor.
Rabbit Semiconductor reserves the right to make changes and
improvements to its products without providing notice.
Trademarks
Rabbit and Dynamic C are registered trademarks of Rabbit Semiconductor Inc.
Rabbit 3000 and PowerCore FLEX are trademarks of Rabbit Semiconductor Inc.
The latest revision of this manual is available on the Rabbit Semiconductor Web site,
www.rabbit.com,
for free, unregistered download.
Rabbit Semiconductor Inc.
www.rabbit.com
PowerCore FLEX
T
ABLE OF
C
ONTENTS
Chapter 1. Introduction
1
1.1 PowerCore Features ..............................................................................................................................2
1.1.1 Basic Features ...............................................................................................................................2
1.1.2 Options ..........................................................................................................................................2
1.2 Standard Configurations and PowerCore FLEX Options.....................................................................4
1.3 PowerCore FLEX Advantages..............................................................................................................5
1.4 Development and Evaluation Tools......................................................................................................6
1.4.1 Software ........................................................................................................................................7
1.4.2 Wi-Fi Add-On Kit.........................................................................................................................7
1.4.3 Online Documentation ..................................................................................................................7
Chapter 2. Getting Started
9
2.1 Install Dynamic C .................................................................................................................................9
2.2 Hardware Connections........................................................................................................................10
2.2.1 Attach Module to Prototyping Board..........................................................................................10
2.2.2 Connect Programming Cable ......................................................................................................11
2.2.3 Connect Power ............................................................................................................................12
2.3 Starting Dynamic C ............................................................................................................................13
2.4 Run a Sample Program .......................................................................................................................13
2.5 Where Do I Go From Here? ...............................................................................................................14
2.5.1 Standalone Operation of the PowerCore Module .......................................................................14
2.5.2 Technical Support .......................................................................................................................14
Chapter 3. Running Sample Programs
15
3.1 Introduction.........................................................................................................................................15
3.2 Sample Programs ................................................................................................................................16
3.2.1 I/O ...............................................................................................................................................16
3.2.2 A/D Converter.............................................................................................................................18
3.2.3 D/A Converter.............................................................................................................................22
3.2.4 Use of Serial Flash ......................................................................................................................22
3.2.5 Serial Communication.................................................................................................................23
3.2.6 Triacs...........................................................................................................................................24
3.2.6.1 Phase-Angle Triac Control................................................................................................. 24
3.2.6.2 Time-Proportional Triac Control ....................................................................................... 25
3.2.7 TCP/IP.........................................................................................................................................26
3.2.8 LCD/Keypad Module..................................................................................................................26
Chapter 4. Hardware Reference
27
4.1 PowerCore Digital Inputs and Outputs ...............................................................................................28
4.1.1 Internal and External Buses ........................................................................................................32
4.1.1.1 Handling Stateful I/O Registers ......................................................................................... 32
4.1.2 Other Inputs and Outputs ............................................................................................................33
4.1.3 LEDs ...........................................................................................................................................33
4.2 Serial Communication ........................................................................................................................34
4.2.1 Serial Ports ..................................................................................................................................34
4.2.2 Ethernet Port ...............................................................................................................................34
4.2.3 Programming Port .......................................................................................................................35
4.3 Programming Cable ............................................................................................................................36
4.3.1 Changing Between Program Mode and Run Mode ....................................................................36
User’s Manual