ZILOG’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE
SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS PRIOR WRITTEN APPROVAL OF
THE PRESIDENT AND GENERAL COUNSEL OF ZILOG CORPORATION.
As used herein
Life support devices or systems are devices which (a) are intended for surgical implant into the body, or (b)
support or sustain life and whose failure to perform when properly used in accordance with instructions for
use provided in the labeling can be reasonably expected to result in a significant injury to the user. A critical component is any componen t in a li fe supp ort device o r syste m whose failure to p erform ca n be re asonably expected to cause the failure of the life support device or system or to affect its safety or effectiveness.
S3 and Z8 are trademarks or registered trademarks of Zilog, Inc. All other product or service names are the
property of their respective owners.
UM026703-1014Disclaimer
Revision History
Each instance in this document’s revision history reflects a change from its previous edition. T o learn more, refer to the corresponding page(s) or appropriate links furnished in the
table below.
Revision
Date
Oct
2014
Sep
2014
Jun
2014
Level DescriptionPage
03Updated the Establish a Connection with the PC and High-Power Infrared-
Emitting Diode sections; added sample projects to Table 3.
02Updated the sections Start the Ledblink Sample Program and Install the S3
Flash ISP Driver for improved usability.
01Original issue.n/a
S3F80QB Development Kit
User Manual
4
, 16,
20
7, 23
iii
UM026703-1014Revision History
Overview
S3F80QB Development Kit
User Manual
Zilog’s S3F80QB Development Kit, part number S3F80QB0100ZCOG, allows you to
evaluate your S3F80QB-based designs and applications. The Kit features a Development
Board consisting of the following components:
•
Four LEDs
•
Seventeen pushbuttons
•
Buzzer/speaker
•
Four high-power infrared (IR) emitting diodes
•
IR receiver module
•
Device pin headers
1
This user manual provides instructions for setting up and configuring the S3F80QB
Development Board. It includes schematic diagrams and a discussion of the Board features and ZDS II.
The S3F80QB Development Board features an S3F80QB MCU in a 44-pin QFP package,
plus an S3 PGM connector to connect the Board to a host development PC using the S3
Flash In-System Programmer (ISP). To learn more about the S3F80QB MCU, refer to the
S3F80QB Product Specification (PS0308)
This document guides you through the following tasks:
•
Downloading and installing ZDS II software and documentation
•
Installing the S3 Flash ISP driver
•
Connecting the S3 Flash ISP and S3F80QB Development Boar d to your PC
•
Starting the S3F80QB Ledblink sample program
and/or the S3 Flash In-System Programmer.
UM026703-1014Overview
S3F80QB Development Kit
Figure 1 shows the contents of the S3F80QB Development Kit.
User Manual
2
Figure 1. The S3F80QB Development Kit
Kit Contents
The S3F80QB Development Kit contains the following items:
•
S3F80QB Development Board
•
S3 Flash ISP
•
10-circuit ribbon cable
•
USB A (male) to Mini-B USB cable (2)
•
S3F80QB Development Kit hardcopy insert
UM026703-1014Kit Contents
Features
Note:
S3F80QB Development Kit
User Manual
The S3F80QB Development Kit includes the following key items.
•
S3F80QB Development Board, which contains the following features:
–S3F80QB 44-pin QFP MCU operating at 8 MHz, with 63 KB of internal Flash
memory and 1 KB of internal RAM memory
–USB interface that provides power to the Board
–High-power infrared emitting diode
–Buzzer/Speaker
–IR receiver module
–Test points for all pins of the MCU
–MCU current measurement test points J7 and J8
–Power supply level adjustable with potentiometer R18
3
•
S3 Flash In-System Programmer
•
ZDS II software, samples, and documentation available free for download
–Sample programs
Supported Host Environments
The S3F80QB Development Board supports the following operating systems:
•
Microsoft Windows 7 (32-bit/64-bit)
•
Microsoft Windows Vista (32-bit/64-bit)
•
Microsoft Windows XP
Install the ZDS II Software and Documentation
Observe the following steps to download and install your ZDS II software and documentation.
If you have already installed ZDS II S3 <version> and have downloaded the software and
documentation by following the procedure on the paper insert in your kit (FL0166), skip
ahead to the next section.
UM026703-1014Features
1. Prior to connecting the S3F80QB Development Board to your development PC,
Caution:
download ZDS II for S3 Family devices version 5.2.0 (or later) from the
able Software
2. When the download is complete, unzip the file to your hard drive. Double-click the
installation file named ZDS II – S3_<version>.exe, and follow the on-screen instructions.
category in the Zilog Store.
Establish a Connection with the PC
Observe the following procedure to connect the S3 Flash ISP and S3F80QB Development
Board to your PC.
S3F80QB Development Kit
User Manual
4
Download-
Disconnect or turn off the power to the S3F80QB Development Board before co nnecting
or disconnecting the S3 Flash ISP.
1. Connect the Mini-B side of the USB A (male)-to-Mini-B cable to the S3 Flash ISP.
Connect the other end of this cable to the PC, as shown in Figure 2.
Figure 2. Connect the S3 Flash ISP to the Development PC
2. Install the S3 Flash ISP driver as described in Appendix B.
Driver on page 23.
Install the S3 Flash ISP
3. Connect the 10p 5x2 ribbon cable to the S3 Flash ISP, as shown in Figure 3.
UM026703-1014Establish a Connection with the PC
S3F80QB Development Kit
Figure 3. Connect the 10-Pin Ribbon Cable to the S3 Flash ISP
User Manual
5
4. Connect the other end of the ribbon cable to Jumper J6 on the Development Board.
Ensure that Pin 1 on the ribbon cable is aligned with Pin 1 on the target connector, as
indicated in Figure 4.
Figure 4. Debug Connector J6
UM026703-1014Establish a Connection with the PC
S3F80QB Development Kit
Caution:
User Manual
When connecting the 10-pin ribbon cable, be sure to use the correct orientation to prevent
damage to the S3 Flash ISP.
5. With the USB A (male) to Mini-B cable, connect Port P1 on the S3F80QB Development Board to a USB port on the development PC to apply power to the Development
Board, as indicated in Figure 5.
6
Figure 5. The Power Supply Port P1 Connector
After completing the procedure to connect the S3F80QB Development Board to the PC,
the complete setup appears as shown in Figure 6.
UM026703-1014Establish a Connection with the PC
S3F80QB Development Kit
User Manual
7
Figure 6. The Completed ISP and Development Board Assembly
Start the Ledblink Sample Program
The S3F80QB Development Kit includes a sample program that demonstrates an LED
blinking application. T o get started with the S3 F80QB Ledb link sample pro gram, observe
the following procedure.
1. Launch ZDS II by navigating from the Windows Start menu to
ZDS II
–S3 <Version>→ZDS II –S3 <Version>.
2. From the
gate to the following filepath:
<ZDS Install>\samples\S3F80QB\ledblink_asm
File menuin ZDS II, select Open Project as indicated in Figure 7, and navi-
Programs →Zilog
UM026703-1014Start the Ledblink Sample Program
S3F80QB Development Kit
Figure 7. The Open Project Selection in the File Menu
User Manual
8
3. Select the ledblink.zdsproj project from within the ledblink_asm folder as
indicated in Figure 8 and click
Open. A list of source files will appear in the Work-
space panel.
Figure 8. Select the ledblink.zdsproj Project
4. From the
Build menu, select Set Active Configuration to open the Select Configura-
tion dialog box.
5. Select
UM026703-1014Start the Ledblink Sample Program
Debug, then click OK to close the Select Configuration dialog box.
S3F80QB Development Kit
User Manual
6. From the Project menu in ZDS II, select Settings to open the Project Settings dialog
box. In the Project Settings dialog box, click the
Debugger tab.
9
7. On the Debugger page, select
from the
Debug Tool drop-down menu, as indicated in Figure 9.
S3FlashIsp from the T ar get list, then select S3FlashIsp
Figure 9. Select the Target and the Debug Tool
UM026703-1014Start the Ledblink Sample Program
S3F80QB Development Kit
Note:
User Manual
8. After selecting S3FlashIsp from the Debug Tool drop-down menu, click Setup to
select the serial number of the S3 Flash ISP you are using, as indicated in Figure 10.
10
Figure 10. The Setup USB Communication Dialog
The serial number you see on your screen will be different from the serial number shown
in Figure 10.
9. Click
10. Click
11. If you are prompted to rebuild any affected files, click
OK to close the Setup USB Communication dialog box.
OK to close the Project Settings dialog box.
This Output Checksum message is an example and may not match the actual checksum of
the project for a particular release of the ZDS installation software.
11
12. To run the application, select
Figure 11. As a result, LEDs D7, D8, and D9 will blink in sequence.
Figure 11. Select Reset+ Go from the Debug Menu
Reset+Go from the Debug menu, as indicated in
Trouble Shooting Tips
The following trouble-shooting tips are useful when starting the S3F80QB Ledblink sample program.
•
Ensure that the LED indicator on the S3 Flash ISP lights up upon connecting to the
USB port of your PC.
•
Navigate to Project→Settings→Debugger→Debug Tool → Setup. Upon click-
ing
Setup on the Setup USB Communication dialog box, verify that S3FlashIsp is dis-
played.
•
Remove and reconnect the ISP on the USB port of your PC.
•
Refer to Table 1 on page 14 to learn more about the jumper settings for the S3F80QB
Development Board.
UM026703-1014Trouble Shooting Tips
S3F80QB Development Board
Note:
The purpose of the S3F80QB Development Kit is to provide a set of hardware and software tools for the development of hardware and firmware for applications based on the
S3F80QB microcontroller. An image of the S3F80QB Development Board is shown in
Figure 12; a block diagram is shown in Figure 13.
U4 is for factory use only and is intentionally not populated.
S3F80QB Development Kit
User Manual
12
Figure 12. The S3F80QB Development Board
UM026703-1014S3F80QB Development Board
S3F80QB Development Kit
User Manual
13
Figure 13. S3F80QB Development Board Block Diagram
Power Sources
The Board features two power source options:
•
Connecting Port P1 (USB Mini-B) to the USB port of the PC using the USB A-to-USB
Mini-B cable included in the Kit
•
Connecting an external 5 VDC source to J11 (5VDC) and J13 (GND)
S3F80QB MCU
Key features of the S3F80QB MCU include:
•
SAM8 RC CPU core
•
63 KB internal Flash memory, which is user programmable by LDC instruction
•
2 KB or 3.75 KB internal RAM
•
Endurance of 10,000 Erase/Program cycles
•
1 KB RAM executable memory
•
272 byte general purpose RAM data memory
•
78 instructions
UM026703-1014Power Sources
S3F80QB Development Kit
User Manual
•
IDLE and STOP instructions added for power-down modes
•
125 ns at 8 MHz f
•
24 interrupt sources with 18 vectors and 9 levels
•
Four 8-bit I/O ports (P0-P2, P4) and 6-bit port (P3) for a total of 38 bit-programmable
pins (44-pin QFP)
•
Three 8-bit n-channel open-drain pins (P1, P2, P4) and one 2-bit n-channel open-drain
pins (P3 on the 44-pin QFP package)
•
One 8-bit counter with auto-reload function and one-shot or repeat control (Counter A)
•
One programmable 8-bit basic timer (BT) for oscillation stabilization control or watchdog timer (software reset) function
•
One 8-bit timer/counter (Timer 0) with three operating modes: Interval, Capture, and
PWM
(minimum)
OSC
14
•
One 16-bit timer/counter (Timer 1) with two operating modes: Interval and Capture
•
One 16-bit timer/counter (Timer 2) with two operating modes: Interval and Capture
To learn more about the S3F80QB MCU, refer to the S3F80QB Product Specification
(PS0321).
Jumper Settings
Jumper settings for the S3F80QB Development Kit are listed in Table 1.
The CEM1206S magnetic buzzer (U2) manufactured by CUI Inc. is rated at a frequency
of 2400 Hz and an operating voltage of 3.0
CEM1206S device is shown in Figure 14.
UM026703-1014Jumper Settings
–8.0 V zero-to-peak (V
). An image of the
0–P
Figure 14. The CEM1206S Magnetic Buzzer
S3F80QB Development Kit
User Manual
15
This buzzer is activated by setting the jumper J9 to the 1-2 position that connects the
buzzer to the P3.0 pin of the S3F80QB MCU in the Development Kit.
To learn more about the CEM1206S device, visit http://www.cui.com/product/resource/
cem-1206s.pdf.
IR Receiver for Remote Control Systems
The TSOP31238 device is a member of the TSOP312–TSOP314 Series IR receivers (D2),
which are miniaturized IR receivers designed to work with infrared remote control systems. A PIN diode and a preamplifier are assembled on a lead frame. The epoxy package
contains an IR filter. The demodulated output signal can be directly connected to a microprocessor for decoding. See Figure 15 for an image of an IR receiver module.
Figure 15. The TSOP31238 IR Receiver Module
UM026703-1014IR Receiver for Remote Control Systems
This IR receiver is connected to the P3.0 pin of the MCU by placing J9 into the 2-3 position. To learn more about the TSOP31238 device, visit http://www.vishay.com/docs/
82492/tsop312.pdf.
High-Power Infrared-Emitting Diode
The TSAL6200 diode (D3, D4, D5, D6) is an infrared (940 nm wavelength) emitting diode
employing GaAlAs/GaAs technology with high radiant power, and molded in a blue-gray
plastic package. An image of the TSAL6200 device is shown in Figure 16.
S3F80QB Development Kit
User Manual
16
Of two pairs of IR LEDs, D3/D4 and D5/D6, the D3/D4 pair is activated by placing
Jumper J10 into the 2-3 position for an active High transmission. The D5/D6 pair is activated by placing a shunt onto J10 position 1-2 for an active Low transmission. Either of
these jumper settings connects its correlated pair to P3.1 on the MCU.
To learn more about the TSAL6200 device, visit http://www.vishay.com/docs/81010/
tsal6200.pdf.
Reset Circuit
The reset circuit features a 100 KΩ pull-up resistor R8 and SW1. This circuit resets the
S3F80QB MCU when SW1 is pressed. See Figure 17 for a representation of the reset circuit.
Figure 16. TSAL6200 Infrared Emitting Diodes
UM026703-1014High-Power Infrared-Emitting Diode
Figure 17. The Reset Circuit
S3F80QB Development Kit
User Manual
17
Keypad Circuit
The keypad circuit features 16 switches connected to eight pins on the MCU. These pins
are configured as outputs for P1.3–P1.0, and are configured as inputs with pull-ups
enabled for P0.7–P0.4. The keypad circuit is shown in Figure 18.
Figure 18. The Keypad Circuit
ISP Connector
The ISP connector (J6) provides an interface between the S3 Flash ISP tool and the
S3F80QB device. See Figure 19 for an illustration of the ISP connector.
UM026703-1014Keypad Circuit
Figure 19. The ISP Connector
S3F80QB Development Kit
User Manual
18
ZDS Flash Loader Utility
A Flash Loader utility is included in Zilog Developer Studio II via the Tools menu.
Figure 20 shows an image of the Flash Programming screen.
UM026703-1014ZDS Flash Loader Utility
S3F80QB Development Kit
User Manual
19
Figure 20. The Flash Programming Screen
UM026703-1014ZDS Flash Loader Utility
S3F80QB Development Kit
User Manual
S3F80QB Development Kit Documentation
The documents associated with the S3F80QB Development Kit are listed in Table 2. Each
of these documents can be obtained from the Zilog website by clicking the link associated
with its Document Number. Alternatively, navigate to the directory listed in the Location
column in your installed application.
Table 2. S3F80QB Development Kit Documentation
DocumentDescriptionLocation
PS0308
UM0266
UM0267
Online HelpZDS II – S3 IDE, Assembler and C Compiler
FL0165S3 Flash In-System Programmer insertDocumentation\Tools_Documentation
FL0166S3F80QB Development Kit insertDocumentation\Tools_Documentation
S3F80QB Product SpecificationDocumentation\Chip_Documentation
S3 Flash In-System Programmer User ManualDocumentation\Tools_Documentation
This S3F80QBDevelopment Kit User ManualDocumentation\Tools_Documentation
ZDS II – S3 > Help > Help Topics
online help
20
Table 3 lists the two sample projects developed for this application. Follow the filepath
listed in the Location column to access the associated project.
Figure 22. S3F80QB Development Board Schematic Diagram, #2 of 2
UM026703-1014 22
Appendix B. Install the S3 Flash ISP Driver
Note:
The S3 Flash ISP can be installed on PCs that run on Windows 7 (32- and 64-bit), Windows Vista (32- and 64-bit) and Windows XP operating systems. The procedure in this
section will guide you through the S3 Flash ISP installation process.
Observe the following steps to install the S3 Flash ISP on a Windows 7 system.
1. Connect the S3 Flash ISP to a USB port on your development PC, as shown in
Figure 23. When the PC detects the new hardware, it will display the Installing device driver software dialog.
S3F80QB Development Kit
User Manual
23
Figure 23. Connect the S3 Flash ISP to the USB Port
Windows automatically searches for the driver; this process can take a few moments.
Because there is no option to terminate this search process, wait for the search to complete.
2. If Windows cannot find the driver, you will see a message similar to the message
shown in Figure 24; close the Search dialog and proceed to Step 3.
Figure 24. Message Indicating Device Driver Not Located
UM026703-1014Install the S3 Flash ISP Driver
S3F80QB Development Kit
Note:
User Manual
3. In the Search programs and files field in the Windows Start menu, enter Device
Manager
. The Device Manager will appear in a list of search results.
24
4. From this list of results, click
Device Manager to open the Device Manager dialog,
which presents a list of devices that operate on your PC. Find and toggle
devices
Flash ISP
to view a sub-list of additional devices. Right-click your mouse to select S3
, indicated in Figure 25.
Figure 25. Device Manager Dialog
Other
5. In the sub-menu that appears, click
6. In the Update Driver Software
my computer for driver software
7. Click the
<ZDS II Installation Directory>\device drivers\USB
Browse... button and navigate to the following driver directory:
Update Driver Software.
–S3 Flash ISP dialog that appears, click the Browse
option.
8. Click Next to install the driver. Depending on your computer settings, a Security dialog may appear; in this dialog, select
Install this driver software anyway.
This step may take a few moments to complete.
9. After the Wizard finishes the installation, click
UM026703-1014Install the S3 Flash ISP Driver
Close.
S3F80QB Development Kit
Note:
User Manual
When installing the S3 Flash ISP on Windows XP, if the message Found new hardware is
displayed, select Advanced and click
7 of the Appendix B.
Install the S3 Flash ISP Driver procedure. When prompted with the
message The software you are installing for this hardware: S3 Flash ISP, click
Anyway.
Next. Browse to the driver location indicated in Step
Continue
25
UM026703-1014Install the S3 Flash ISP Driver
Customer Support
To share comments, get your technical questions answered, or report issues you may be
experiencing with our products, please visit Zilog’s Technical Support page at http:/
support.zilog.com.
To learn more about this product, find additional documentation, or to discover other facets about Zilog product offerings, please visit the Zilog Knowledge Base
ticipating in the Zilog Forum
This publication is subject to replacement by a later edition. To determine whether a later
edition exists, please visit the Zilog website at http://www.zilog.com/
S3F80QB Development Kit
User Manual
26
or consider par-
.
UM026703-1014Customer Support
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.