The GR-SAKURA-FULL board comes with LAN connector (RJ-45), 5V DC-Jack, and micro-SD shed, which are soldered on the board. The USB-host connecter is bundled in the box. So you can solder it when needed.
One thing that I find as an exciting feature in Sakura is the numerous GPIO (General purpose input/output) pins and the ease of programming.
Summary:
Microcontroller: RX63N(R5F563NBDDFP)
Operating Voltage: 5V
Clock Speed: 96MHz
Digital I/O Pins: 55
Analog Input Pins: 16
Flash Memory: 1MB
RAM: 128KB
USB- Function: (mini-B)
Hardware specification
- 32-bit high performance CPU( R5F563NBDDFP ) RX63N 100-pin
- Operating frequency: 96 MHz (single precision FPU, on-chip multiplication/division)
- Flash ROM: 1M Bytes, RAM:128K bytes,
- Data flash:32K bytes
- Communication features: USB (host/function), Ether-MAC, I2C, SPI, CAN, IEBus
- Timers 16-bit (MTU, TPU, CMT), 8-bit TMR, WDT, independent WDT, PPG
- 12 / 10-bit ADC, temperature sensor, data transfer (DMAC, DTC)
- USB function pins (mini-B): Download by USB mass storage (write)
- EtherNet (RJ45) pins : LAN such as Web server and remote download available
- USB host pins (A): applicable to Android-ADB-ADK
- MicroSD jacket: possible to share data with PC
- XBee ready pins: mount XBee module for wireless remote download
- Additional service pins for advanced timer input/outputs
- JTAG pins: E1 emulator debugging is possible
- EtherNet (RJ45) pins : LAN such as Web server and remote download available
- USB host pins (A): applicable to Android-ADB-ADK
- MicroSD jacket: possible to share data with PC
- XBee ready pins: mount XBee module for wireless remote download
- Additional service pins for advanced timer input/outputs
- JTAG pins: E1 emulator debugging is possible
EtherNet (RJ45) connector - 100 / 10 Mbps, internal pulse transformer
Micro SD card slot - Access in SPI mode
Switch -
(Red or Brown) SW1 -- reset
(Blue) SW2 – available for user
(Slide) SW3 – change the RX63N operation mode
(Blue) SW2 – available for user
(Slide) SW3 – change the RX63N operation mode
LED - 4 pieces, Use freely in the user program.
Programming the Sakura board:
Renesas Electronics has introduced an online compiler for Sakura that can be accessed through tool-cloud.renesas.com. Sakura can also be programmed through an offline environment using HEW – High Performance Embedded Workshop. Necessary steps to customize HEW for our Sakura board is given in this link - Customizing HEW.
After configuring HEW, write code, compile and build, plug in via USB to PC and reset sakura (press onboard reset button), copy paste the sketch.bin from “Workspace” into the sakura drive visible in the PC and Voila…!!!!!!!!
As sakura is compatible with Arduino, the programming is similar to that of Arduino. Setup() and loop() functions or main() function can be used.
Example:
Setup()
{
pinMode(PIN_LED0,OUTPUT);
}
Loop()
{
digitalWrite(PIN_LED0,1);
delay(1000);
digitalWrite(PIN_LED0,0);
delay(1000);
}
OR
Main()
{
pinMode(PIN_LED0,OUTPUT);
while(1)
{
digitalWrite(PIN_LED0,1);
delay(1000);
digitalWrite(PIN_LED0,0);
delay(1000);
}
}
Jumper Settings:
- J1: Bypass the reserve current protection diode when using USB à 5V supply.
(It avoids diode’s voltage drop. But it may cause a reverse current problem. - J2: V50 in Arduino is connected to 5V output of the regulator. GR-SAKURA has jumper J2 for isolation.
- J3: VIN in Arduino is connected to DC input. GR-SAKURA has jumper J3 for isolation in case of supplying 5V.
- J4: Cut J4 to disconnect AVCC (analog power supply) from VCC (digital power supply).
- J5: During the boot mode,
-USB boot when J5 is set to open
- SCI boot when J5 is set to short-circuited
- J6: Short-circuit this jumper when you want to use boot mode.
(You don’t use this jumper since slide switch SW3 does the same setting.) - J7: Connect DOUT of the XBee module to P52/RXD2 of RX63N
- J8: DIN of the XBee module to P50/TXD of RX63N
- J9: RESET of the XBee module to P51 of RX63N
- J10: RTS of the XBee module to P54 of RX63N
- J11: CTS of the XBee module to PP55 of RX63N
- J12: Connect J12 to have RX63N control the USB-host pull-down registers
- J13: Connect the USB-host pull-down registers to the ground (permanent pull-down)
- J14: Connect J14 to have RX63N control the USB-host pull-down registers
- J15: Connect the USB-host pull-down registers to the ground (permanent pull-down)
(Jumpers J12 – J15 can be set to open in normal use) - J16: Connect Vcc of the XBee module to the 3.3V supply of the GR-SAKURA board.
(The XBee module consumes a large amount of current during it’s reset, causing the GR-SAKURA board being in an unstable operation. This jumper is useful for using an external 3.3V supply dedicated for the XBee module) - J17: This jumper connects RESET of Arduino connector CN14 to the system reset. When a connected Arduino shield outputs the 5V reset signal, it may damage the GR-SAKURA board. Therefore this jumper is set to open in default. Connect this jumper when the connecting shield will output the 3.3V reset signal or the open drain reset signal.
When you start using GR-SAKURA with no shield, you don’t need to modify any jumper setting.
· When you use the XBee module, short-circuit J7,J8,J9,J10,J11, and J16
· When you use USB OTG, short-circuit J12 and J14.
· When you use USB-host mode, short-circuit J13 and J15 (USB-function mode is also OK)
· When you use a Arduino shield operating in 5V supply, short-circuit J2.
Resources for Sakura:
1. Embedded Systems: An Introduction using the Renesas RX63N Microcontroller
SECOND EDITION
BY JAMES M. CONRAD
AND ALEXANDER G. DEAN
2. Advanced Embedded Systems Concepts using the Renesas RX63N Microcontroller
BY JAMES M. CONRAD
(Books can be downloaded freely from the Renesas website by registering)
No comments:
Post a Comment