CP2401AB Silicon Laboratories Inc, CP2401AB Datasheet
CP2401AB
Specifications of CP2401AB
Related parts for CP2401AB
CP2401AB Summary of contents
Page 1
CP2400 Overview The LCD Development Kits (CP2400-DK and CP2401-DK) provide all the hardware and software required to develop and test LCD applications. The CP240x LCD Firmware Library is included ...
Page 2
CP2400/1-DK 2. Kit Contents The CP2400/1 LCD development kit contains the following items: C8051F930 target board CP2400 or CP2401 LCD development board CP240x development kit quick-start guide Silicon Laboratories IDE and product information CD-ROM. CD content ...
Page 3
Figure 3. CP2400 Development Board 3. Software Overview All software required to develop firmware and communicate with the target microcontroller is included in the CD- ROM. The CD-ROM also includes other useful software. Below is the software necessary for firmware ...
Page 4
CP2400/1-DK 1. Follow the steps to copy the driver files to the desired location. The default directory is C:\Silabs\MCU\CP210x. 2. The final window will give an option to install the driver on the target system. Select the “Launch the CP210x ...
Page 5
Configuration Wizard 2 The Configuration Wizard code generation tool for all of the Silicon Laboratories devices. Code is generated through the use of dialog boxes for each of the device's peripherals. Figure 4. Configuration Wizard 2 ...
Page 6
CP2400/1-DK 3.6. Silicon Labs Battery Life Estimator The Battery Life Estimator is a system design tool for battery operated devices. It allows the user to select the type of battery they are using in the system and enter the supply ...
Page 7
Figure 6. Battery Life Estimator Discharge Profile Editor The Discharge Profile Editor allows the user to modify the profile name and description. The four text entry boxes on the left hand side of the form allow the user to specify ...
Page 8
CP2400/1-DK The wakeup frequency box calculates the period of a single iteration through the four power modes and displays the system wake up frequency. This is typically the "sample rate" in low power analog sensors. Once the battery type and ...
Page 9
Hardware Setup using a USB Debug Adapter The target board is connected running the Silicon Laboratories IDE via the USB Debug Adapter as shown in Figure 9. 1. Connect the LCD development board to the F930 ...
Page 10
CP2400/1-DK 5. Using the Keil Software 8051 Tools with the Silicon Laboratories IDE To perform source-level debugging with the IDE, configure the Keil 8051 tools to generate an absolute object file in the OMF-51 format with object extensions and debug ...
Page 11
Example Source Code Example source code and register definition files are provided in the “SiLabs\MCU\Examples\C8051F93x_92x\” default directory during IDE installation. These files may be used as a template for code development. Example applications include a blinking LED example which ...
Page 12
CP2400/1-DK If using a CP2400, this line should say: #define BUS_INTERFACE 6.4.3. Example Selection The example that is run on the CP2400/1 LCD development board can be selected in the file, app_config.h. The available examples include a voltage display example, ...
Page 13
C8051F930 Target Board The CP2400/1 Development Kit includes a target board with a C8051F930 device pre-installed for evaluation and preliminary software development. Numerous input/output (I/O) connections are provided to facilitate prototyping using the target board. Refer to Figure 10 ...
Page 14
CP2400/1-DK The following items are located on the bottom side of the board. See Figure 11. BT1 Battery Holder for 1.5 V AAA. Use for one-cell or two-cell mode. BT2 Battery Holder for 1.5 V AAA. Use for two-cell mode ...
Page 15
Target Board Shorting Blocks: Factory Defaults The C8051F930 target board comes from the factory with pre-installed shorting blocks on many headers. Figure 12 shows the positions of the factory default shorting blocks. R15 J16 P1.4 J15 GND PORT2 P1 ...
Page 16
CP2400/1-DK 7.2. Target Board Power Options and Current Measurement The C8051F930 Target Board supports three power options, selectable by the three-way header (J10/J11). The power options vary based on the configuration (one-cell or two-cell mode) selected by SW4. Power to ...
Page 17
Measuring Current The header (J17) and terminal block (H2) provide a way to measure the total supply current flowing from the power supply source to the MCU. The measured current does not include any current from the VBAT LED ...
Page 18
CP2400/1-DK Table 1. Target Board I/O Descriptions Description SW1 SW2 SW3 P2.0 (Touch Sense Switch) P2.1 (Touch Sense Switch) Red LED (P1.5) Yellow LED (P1.6) Red LED (VDD/DC+) Red LED (VBAT) Red LED (USB Power) Red LED (+1 VD Power) ...
Page 19
Table 2. P1 Pin Descriptions (Continued) Row A Description Pin # P2.2/A10 21 /WR 22 P2.3/A11 23 P2.0/ GND 7.7. ...
Page 20
CP2400/1-DK Table 4. Serial Interface Header (J12) Description 7.9. Analog I/O (H1) Several of the C8051F930 target device’s port pins are connected to the H1 terminal block. Refer to Table 5 for the H1 terminal block connections. Table 5. H1 ...
Page 21
CP2400/1 AB LCD Development Board The CP2400 and CP2401 Development Kits include a CP2400 or CP2401 LCD Development Board designed to connect to C8051F9xx target boards. Various input/output (I/O) connectors are provided to facilitate prototyping using the development board. ...
Page 22
CP2400/1-DK 8.1. Target Board Shorting Blocks: Factory Defaults The CP2400/1 target board comes from the factory with pre-installed shorting blocks on many headers. Figure 14 shows the positions of the factory default shorting blocks. DEVELOPMENT BOARD J5 J1 Figure 14. ...
Page 23
AB Board Current Measurement The header (J2) provides a way to measure the total supply current flowing from the power supply source to the CP2400/1. The measured current does not include any current from the LED (D1) or the ...
Page 24
CP2400/1-DK 8.6. Expansion I/O Connector (P1) The 96-pin Expansion I/O connector P1 provides access to all signal pins of the CP2400/1 device. In addition, power supply and ground pins are included. A small through-hole prototyping area is also provided. See ...
Page 25
Schematics CP2400/1-DK Rev. 0.1 25 ...
Page 26
CP2400/1-DK 26 Rev. 0.1 ...
Page 27
CP2400/1-DK Rev. 0.1 27 ...
Page 28
CP2400/1-DK 28 Rev. 0.1 ...
Page 29
CP2400/1-DK Rev. 0.1 29 ...
Page 30
CP2400/1-DK 30 Rev. 0.1 ...
Page 31
CP2400/1-DK Rev. 0.1 31 ...
Page 32
... Should Buyer purchase or use Silicon Laboratories products for any such unintended or unauthorized ap- plication, Buyer shall indemnify and hold Silicon Laboratories harmless against all claims and damages. Silicon Laboratories and Silicon Labs are trademarks of Silicon Laboratories Inc. Other products or brandnames mentioned herein are trademarks or registered trademarks of their respective holders. ...