Board Support Package For Arduino Due

Introduction

 

                                                Arduino Due

 

This board support package (BSP) supports Arduino Due Board which is based on Microchip SAM3X8E microcontroller. It is currently based on Arduino core API libraries and uses ARM compiler tool chain for generating required binaries.

Getting Started

·       Install Arduino USB drivers for host PC available at this path ‘\hardware\arduino\arduino_default_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.

Board Configuration

·      General Configuration

Configuration Parameter

Parameter Value

Board Title

Arduino Due

Tool Chain Type

Local Build

Board Preprocessor Symbol

_BUILD_BRD_ARD_DUE

Platform Preprocessor Symbol

_BUILD_PLT_ARD

Compiler Preprocessor Symbol

_BUILD_CMP_ARM_GCC

C++11 Standard Support

No

File System Support

No

OpenMP/OpenCL/CUDA Support

No/No/No

Simulation Panel Support

No

 

·      Hardware Configuration

Configuration Parameter

Parameter Value

Number of CPU cores

1

Dynamic Memory Support

Yes

Prefer Fixed/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], 14[14], 15[15], 16[16], 17[17], 18[18], 19[19], 20[20], 21[21], 22[22], 23[23], 24[24], 25[25], 26[26], 27[27], 28[28], 29[29], 30[30], 31[31], 32[32], 33[33], 34[34], 35[35], 36[36], 37[37], 38[38], 39[39], 40[40], 41[41], 42[42], 43[43], 44[44], 45[45], 46[46], 47[47], 48[48], 49[49], 50[50], 51[51], 52[52], 53[53], A0[A0], A1[A1], A2[A2], A3[A3], A4[A4], A5[A5], A6[A6], A7[A7], A8[A8], A9[A9], A10[A10], A11[A11], DAC0[DAC0], DAC1[DAC1]

ADC Default Resolution

12

ADC Pins

A0[A0], A1[A1], A2[A2], A3[A3], A4[A4], A5[A5], A6[A6], A7[A7], A8[A8], A9[A9], A10[A10], A11[A11]

PWM Default Resolution

12

PWM Pins

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]

DAC Default Resolution

12

DAC Pins

DAC0[DAC0], DAC1[DAC1]

UART0 Pins

Via USB Programmer Port and

Pin 0 (RX) and Pin 1 (TX)

UART1 Pins

18(TX1), 19(RX1)

UART2 Pins

16(TX2), 17(RX2)

UART3 Pins

14(TX3), 15(RX3)

SPI Pins

Dedicated SPI pins

I2C Pins

SDA, SCL

 

Programmer

CASP supports Programmer0 for uploading generated binary file to the board.

Debugging

Debugging is supported over USB serial.

Known Issues & Limitations

-