RENESAS  
 

 

 

SKP16C26 Sample Programs

 

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

C:\MTOOL\SKP16C26\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

Peripheral/Function 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

 EW1 Mode with LCD

N/A

Open

 Flash API

Open

Open

 Flash Suspend

Coming Soon

Open

 Programming Using FoUSB Programmer

Open

N/A

 DMAC

 Fixed Source-Forward Destination

Open

Open

 Forward Source-Fixed Destination

Open

Open

 USART/SIO

 UART

Open

Open

 Clocked Synchronous

Coming soon

Coming soon

 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

 Pulse Measurement (with Accelerometer)

Open

Coming soon

 Voltage Detection

 Vdet4 Voltage Detect

Open

N/A

 Vdet3 Voltage Detect

Open

N/A

 Others

 1-wireTM  Interface

Open

N/A

 Key-on Interrupt

Open

Open

 Power Modes

Open

N/A

 Real-Time Clock and Wait Mode

Open

Open

 Virtual EEPROM (Fixed Sectors)

Coming soon

Open

 Virtual EEPROM (Fixed Sectors) with LCD Support

N/A

Open

 Watchdog Timer

Open

Open

 Interrupt handlers in C

Open

N/A

 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_26skp.a30
– sect30_26skp.inc

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

App Note
Open
     

 Common Directory

   

M16C/26 SFR Header Files
– sfr262.h
– sfr262.inc
 

Include these header files in your C-language or assembly-language projects files to setup and use the Special Functions Registers of the M16C/26 MCU. These header files are located in the \Sample_Code\common\ directory.
- C file header: sfr262.h
- Assembly file header: sfr262.inc

SFR Labels
– sfr_26.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-26-ew0.c
– flash-26-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-26-ew1.c
– flash-26-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-26.c
– virEE1-26.h

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

VirEE2_API
– virEE2-26.c
– virEE2-26.h

These files contain variable and function declarations when implementing Virtual EEPROM operations with initial fixed block of data (e.g. calibration data, etc).  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.