RENESAS  
 

 

 

SKP16C62P Sample Programs

 

All sample programs for your SKP16C62P Starter kit were copied to your PC during the software installation. They are all located under the directory,

C:\MTOOL\SKP16C62P\Sample_Code

The table below lists the sample programs and application notes that were installed. Each directory contains all the needed source file as well as pre-configured project files needed to rebuild the program using HEW and the NC30WA Entry version of the compiler. Common source files that are used in more than one project, such as the SFR definition header file or LCD display driver, are located in the \Sample_Code\common directory.

The project files were created using HEW 3.0 R1 Entry Version that comes with the SKP CD.

 Application Notes and Sample Code

  Details App Note Sample Code
Peripheral/Function Details App Note Sample Code
 ADC

 One-Shot Mode

Open

Open

 Repeat Mode

Open

Open

 Repeat Sweep Mode 0

Open

Open

 Repeat Sweep Mode 1

Open

Open

 Single Sweep Mode

Open

Open

 Flash/CPU Rewrite

 EW0 Mode

Coming Soon

Open

 EW1 Mode

Open

Open

 DMAC

 Fixed Source-Forward Destination

Open

Open

 Forward Source-Fixed Destination

Open

Open

 USART/SIO

 UART

Coming soon

Open

 SPI™

Open

Open

 Timers

 One-Shot Mode

Open

Open

 Timer Mode

Open

Open

 Event Counter Mode

Open

Open

 Pulse Output Mode

Open

Open

 Pulse Width Modulation Mode

Open

Open

 Pulse Width Measurement

Open

Open

 Flash Programming

 Serial I/O Mode 2 (UART/Asynchronous Serial)

Open

N/A

 Parallel Mode

Open

N/A

 Others

 CRC

Open

Coming soon

 DAC

Open

Coming soon

 Expanded Memory Mode

Open

Coming soon

 Real-Time Clock and Wait Mode

Coming soon

Open

 Virtual EEPROM (Fixed Sectors)

Coming soon

Open

 Power Modes

Open

Open

 Watchdog Timer

Open

Open

 Interrupt handlers in C

Open

N/A

 Key-input Interrupts

Coming soon

Open

 RTA-FoUSB-MON
In-Circuit Debugger and Programmer

 Target Setup for Flash Programmer

Open

N/A

 Target Setup for In-Circuit Debugger Open N/A
 (Target MCU) Firmware Requirements for In-Circuit Debugger Open N/A

 Programming using the FoUSB Programmer

Open

N/A

       

 Startup Files Directory

     

Default SKP Startup Files
– ncrt0_62pskp.a30
– sect30_62pskp.inc

These files are the default startup files used for generating all C-language projects created with the SKP16C62P. These start-up files are located in the \Sample_Code\startup_files\ directory.

App Note
Open
     

 Common Directory

   

M16C/62P SFR Header Files
– sfr62p.h
 

Include this header file in your C-language projects files to setup and use the Special Functions Registers of the M16C/62P MCU. This header file is located in the \Sample_Code\common\ directory.
- C file header: sfr62p.h

SFR Labels
– sfr_62p.a30

When added to a project, makes SFR labels visible on the debugger, which is convenient when checking settings of the SFR's. This file is located in the \Sample_Code\common\ directory.

LCD Driver
– skp_lcd.h
– skp_lcd.c

These files contain variable and function declarations when using the LCD on the SKP board.  These files are located in the \Sample_Code\common\ directory.

EW0_API
– flash-62p-ew0.c
– flash-62p-ew0.h

These files contain variable and function declarations when using the Flash CPU Rewrite EW0 mode.  These files are located in the \Sample_Code\common\ directory.

EW1_API
– flash-62p-ew1.c
– flash-62p-ew1.h

These files contain variable and function declarations when using the Flash CPU Rewrite EW1 mode.  These files are located in the \Sample_Code\common\ directory.

VirEE1_API
– virEE1-62p.c
– virEE1-62p.h

These files contain variable and function declarations when implementing Virtual EEPROM operations.  These files are located in the \Sample_Code\common\ directory.

RTC
– rtc.c
– rtc.h

These files contain variable and function declarations when implementing real-time clock (RTC) operations.  These files are located in the \Sample_Code\common\ directory.

Board Support Package
– skp_bsp.h

This file contain variable definitions and macros specific to the SKP, which may be useful when creating programs in C. This file is located in the \Sample_Code\common\ directory.


(C) 2003 RENESAS TECHNOLOGY CORPORATION, ALL RIGHTS RESERVED.