Board Support Package For Arduino Uno R4

Introduction

uno_r4_minima.jpg

 

uno_r4_wifi.jpg

 

This board support package (BSP) supports 32-bit Arduino Uno R4 Microcontroller boards listed above. It is based on Arduino core API libraries and uses ARM compiler tool chain for generating required binaries.

Getting Started

·       Install Arduino USB drivers for the host PC available at this path ‘\hardware\arduino\renesas_uno\drivers\’ in CASP installation directory. Latest drivers can be downloaded from Arduino web site.

·       Create model and build to generate required binary.

·       Refer below for programming and debugging support.

Usage Notes

·       GPIO interrupts are only supported on pin 2 and 3.

·       SPI clock divisor default base clock is set to 32 MHz.

·       Servos are supported on all GPIO pins.

Board Configuration

·      General Configuration

Configuration Parameter

Arduino Uno R4 Minima

Arduino Uno R4 WiFi

Board Title

Arduino Uno R4 Minima

Arduino Uno R4 WiFi

Tool Chain Type

Local Build

Local Build

Board Preprocessor Symbol

_BUILD_BRD_ARD_UNO_R4_MINIMA

_BUILD_BRD_ARD_UNO_R4_WIFI

Platform Preprocessor Symbol

_BUILD_PLT_ARD

_BUILD_PLT_ARD

Compiler Preprocessor Symbol

_BUILD_CMP_ARM_GCC

_BUILD_CMP_ARM_GCC

C++11 Standard Support

Yes

Yes

File System Support

No

No

OpenMP/OpenCL/CUDA Support

No/No/No

No/No/No

Simulation Panel Support

No

No

 

·      Hardware Configuration

Configuration Parameter

Arduino Uno R4 Minima

Arduino Uno R4 WiFi

Number of CPU cores

1

1

Dynamic Memory Support

Yes

Yes

Prefer Fixed/Floating Point

Floating Point

Floating Point

DI/DO Pins

0[0], 1[1], 2[2], 3[3], 4[4], 5[5], 6[6], 7[7], 8[8], 9[9], 10[10], 11[11], 12[12], 13 (LED)[13]

0[0], 1[1], 2[2], 3[3], 4[4], 5[5], 6[6], 7[7], 8[8], 9[9], 10[10], 11[11], 12[12], 13 (LED)[13]

ADC Default Resolution

12

12

ADC Pins

A0[A0], A1[A1], A2[A2], A3[A3], A4[A4], A5[A5]

A0[A0], A1[A1], A2[A2], A3[A3], A4[A4], A5[A5]

PWM Default Resolution

12

12

PWM Pins

3[3], 5[5], 6[6], 9[9], 10[10], 11[11]

3[3], 5[5], 6[6], 9[9], 10[10], 11[11]

DAC Default Resolution

12 (should be same as PWM)

12 (should be same as PWM)

DAC Pins

DAC(A0)[A0]

DAC(A0)[A0]

UART0 Pins

Via USB Programmer Port

Via USB Programmer Port

UART1 Pins

Pin 0 (RX) and Pin 1 (TX)

Pin 0 (RX) and Pin 1 (TX)

UART2 Pins

-

-

UART3 Pins

-

-

SPI Pins

10(SS), 11(MOSI), 12(MISO), !3(CLK)

10(SS), 11(MOSI), 12(MISO), !3(CLK)

I2C Pins

SDA, SCL

SDA, SCL

WiFi

-

WiFi supported with WiFi101 block

 

Programmer

·        CASP supports Programmer0 for uploading generated binary file to the board. For Uno WiiFi reset button shall be pressed just before programming.

Debugging

Debugging is supported over USB serial.

Known Issues & Limitations

-