Board Support Package For Sample Hardware

Introduction

This board support package (BSP) is provided for demonstration purpose. Currently it uses AVR compiler tool chain for generating required binaries. User can modify and experiment with this BSP.

Getting Started

·       Install Arduino USB drivers for host PC. These drivers are provided along with CASP installation files. Latest drivers can be also 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

Sam_Hwd

Tool Chain Type

Local Build

Board Preprocessor Symbol

_BUILD_BRD_SAM_HWD1

Platform Preprocessor Symbol

_BUILD_PLT_SAM_HWD

Compiler Preprocessor Symbol

_BUILD_CMP_SAM_HWD

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

GPIO0[0], GPIO1[1], GPIO2[2], GPIO3[3], GPIO4[4], GPIO5[5], GPIO6[6], GPIO7[7]

ADC Default Resolution

10

ADC Pins

A0[0], A1[1], A2[2], A3[3], A4[4], A5[5]

PWM Default Resolution

12

PWM Pins

PWM0[0], PWM1[1], PWM2[2], PWM3[3]

DAC Default Resolution

0

DAC Pins

-

UART0 Pins

-

UART1 Pins

-

UART2 Pins

-

UART3 Pins

-

SPI Pins

-

I2C Pins

1

Programmer

CASP supports Programmer0 (using avrdude.exe) for uploading generated hex file to the board.

Debugging

Debugging is supported over USB serial.

Known Issues & Limitations

-