Personal tools
You are here: Home Downloads R8C/Tiny

R8C/Tiny

Downloads related to the Renesas R8C/Tiny family.

Folder RF Networking
Projects related to low-power, low-cost RF networking.
Folder Low Power Modes
This folder has code that uses the R8C in low power modes. It also has projects that create real-time clocks
Folder CAN/LIN
 
File High Speed Ring Switch R8C17
This module switches the R8C/17 from the low-speed OCO to the high-speed OCO. Typically there is a very short delay needed to get the high-speed OCO up and stable, so a singular NOP at the low-speed ring frequency is adequate.
File Simple Data Flash
This example shows how to simply implement erasing and writing to a data flash block on the R8C/13 device. This example uses block A as the area that is erased and written to. This code with some modifications will work other Renesas MCUs provided the flash commands are properly verified. This example uses EW1 mode which does not require the device to load code into RAM to perform flash operations. Rather, it places the device into suspend mode untit the flash operation is complete. This example has 2 functions, eraseblock and writeblock. Eraseblock places the device into EW1 mode, sets a pointer to the beginning of the data flash to erase, and then executes an erase of that block. Writeblock places the device into EW1 mode, sets a pointer to the beginning of the data flash to write to, and then begins writing the data contained in the array to the data flash.
File Vdet1 w/ Digital Digital Delay
This sample code uses Vdet1 hardware on the R8C/25 to detect lov voltage to the processor.
File R8C/1x UART0 with internal oscillator
R8C/1x example project. Should also work with R8C/2x chips, but the internal oscillator setup will be a little different.
File uC-OS project for R8C/23 microcontroller
HEW project for R8C/23 RSKR8C23 board. Attach to E8 emulator to debug it. Notice the LCD display message. Notice LED0, LED1, LED2, and LED3 blink at different rates. These LEDs are controlled in different Tasks. uC-OSII version 2.51 running on the RSKR8C23. I made a R8C/23 HEW4 project and adjusted files as needed. Aside from the details below, I use Timer RB for the OS clock. OK, here is the uC-OSII running on the R8C/23 RSK board (RSKR8C23-0, part#R0K521237C000BR). See LED0-3 blinking at different rates. Each task blinks a single LED. I had to reduce RAM usage to make it fit. So it is working fine, and I’m sure there will be more changes necessary as Coin Acceptors starts using it. This is a HEW4 project, using the NC30WA v.5.42 compiler. uC-OSIIà OS_VERSION 251 /* Version of uC/OS-II (Vx.yy mult. by 100) */ Until I added lcd.c file for display support: Current ROM/RAM consumption Free memory for the 32KB/2KB device DATA 0003F6(0001014) Byte(s) à 1034 Bytes free ROMDATA 00028C(0000652) Byte(s) CODE 002743(0010051) Byte(s) à 22065 Bytes free
File STEPPER MOTOR CONTROL USING R8C25 MICROCONTROLLER
This project shows how to control a J835L using an R8C/25 Microcontroller. The project describes connecting an RSKR8C25 to the stepper motor
File R8C ADC Oversampling
The program samples at 1 kHz, sums 16 samples then decimates by 4 to provide a 12 bit effective resolution based upon standard oversampling theorems
File R8C Input Capture using Timer C
Outlines how to setup the R8C/27 Timer RC. Though it is written for R8C/27 should work on other R8C devices with Timer RC if SFR file is changed
Rich document R8C/33A Solar Power Demo
Very simple board with LCD and R8C/33A and one switch - but it runs great in full-sun environments.