CY3684 Cypress Semiconductor Corp, CY3684 Datasheet - Page 20

KIT DEVELOPMENT EZ-USB FX2LP

CY3684

Manufacturer Part Number
CY3684
Description
KIT DEVELOPMENT EZ-USB FX2LP
Manufacturer
Cypress Semiconductor Corp
Series
EZ-USB FXr
Type
MCUr
Datasheet

Specifications of CY3684

Contents
2 Boards, Cables, CD
Silicon Manufacturer
Cypress
Application Sub Type
USB
Kit Application Type
Interface
Silicon Core Number
CY7C68013A-128AXC
Features
FX2LP Development Kit
Silicon Family Name
EZ-USB FX2LP
Rohs Compliant
No
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
CY7C68013A-128AC, CY7C64713-128AC
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Other names
428-1677
CY3684
Q2204408
The low address byte is “don’t care”. This means you can very efficiently add software test points
using the following code:
This code example uses the 8051 8-bit indirect addressing mode. The MPAGE register (SFR
0x92) supplies the high address byte, and r0 supplies the low address byte. Register r0 does not
require initialization since the low address byte is “don’t care” for the LED decoding.
To turn the LEDS on and off using C code, declare the external memory locations, and then read
their values into dummy variables:
Note: Program execution at these addresses will NOT activate the LEDs.
Page -16
D5ON:
;
D5OFF:
xdata volatile unsigned char D5ON
xdata volatile unsigned char D5OFF
unsigned char dum;
dum = D5ON;
dum = D5OFF;
mov MPAGE,#B8h
movx a,@r0
mov MPAGE,#B0h
movx a,@r0
Indicator
D2
D3
D4
D5
// turn D5 on
// turn D5 off
These 4 jumpers must be in place
D5 D4
Turn ON by reading Turn OFF by reading
0x88--
0x98--
0xA8--
0xB8--
D3 D2
EZ-USB Development Kit Manual - Getting Started Rev 1.0
; turn D5 on
; dummy read
; turn D5 off
; dummy read
_at_ 0xB800;
_at_ 0xB000;
0xA0--
0xB0--
0x80--
0x90--

Related parts for CY3684