Board Support Package For 32-bit SAMD Based Microcontroller Boards

Introduction

 

Arduino MKR Vidor 4000

 

Arduino MKR Zero

Arduino MKR1000

 

This board support package (BSP) supports Arduino MKR Zero, Arduino MKR 1000 and Arduino MKR Vidor 4000 (MCU) Microcontroller boards. The BSP is 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 here ‘\hardware\arduino\arduino_default_drivers\’ and here ‘\hardware\arduino\samd\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

Arduino MKR Zero

Arduino MKR 1000

Arduino MKR Vidor 4000

Board Title

Arduino MKRZero

Arduino MKR1000

Arduino Vidor4000 MCU

Tool Chain Type

Local Build

Local Build

Local Build

Board Preprocessor Symbol

_BUILD_BRD_ARD_MKRZERO

_BUILD_BRD_ARD_MKR1000

_BUILD_BRD_ARD_VIDOR4000_MCU

Platform Preprocessor Symbol

_BUILD_PLT_ARD

_BUILD_PLT_ARD

_BUILD_PLT_ARD

Compiler Preprocessor Symbol

_BUILD_CMP_ARM_GCC

_BUILD_CMP_ARM_GCC

_BUILD_CMP_ARM_GCC

C++11 Standard Support

No

No

No

File System Support

No

No

No

OpenMP/OpenCL/CUDA Support

No/No/No

No/No/No

No/No/No

Simulation Panel Support

No

No

No

 

·      Hardware Configuration

Configuration Parameter

Arduino MKR Zero

Arduino MKR 1000

Arduino MKR Vidor 4000

Number of CPU cores

1

1

1

Dynamic Memory Support

Yes

Yes

Yes

Prefer Fixed/Floating Point

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[13], 14[14], 32 (LED)[32], A0[A0], A1[A1], A2[A2], A3[A3], A4[A4], A5[A5], A6[A6], DAC0[DAC0]

0[0], 1[1], 2[2], 3[3], 4[4], 5[5], 6 (LED)[6], 7[7], 8[8], 9[9], 10[10], 11[11], 12[12], 13[13], 14[14], A0[A0], A1[A1], A2[A2], A3[A3], A4[A4], A5[A5], A6[A6], DAC0[DAC0]

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[13], 14[14], A0[A0], A1[A1], A2[A2], A3[A3], A4[A4], A5[A5], A6[A6], DAC0[A0], PIN_LED[PIN_LED]

ADC Default Resolution

12

12

12

ADC Pins

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

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

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

PWM Default Resolution

12

12

12

PWM Pins

0[0], 1[1], 2[2], 3[3], 4[4], 5[5], 6[6], 7[7], 8[8], 10[10], A3[A3], A4[A4]

0[0], 1[1], 2[2], 3[3], 4[4], 5[5], 6 (LED)[6], 7[7], 8[8], 10[10], A3[A3], A4[A4]

0[0], 1[1], 2[2], 3[3], 4[4], 5[5], 6[6], 7[7], 8[8], 10[10], 12[12], A3[A3], A4[A4]

DAC Default Resolution

10

10

10

DAC Pins

DAC0[DAC0]

DAC0[DAC0]

DAC0[A0]

UART0 Pins

Via USB Programmer Port

Via USB Programmer Port

-

UART1 Pins

Pin-13 (RX) and Pin-14 (TX)

Pin-13 (RX) and Pin-14 (TX)

-

UART2 Pins

-

-

-

UART3 Pins

-

-

-

SPI Pins

8(MOSI), 10(MISO), 9(CLK)

8(MOSI), 10(MISO), 9(CLK)

8(MOSI), 10(MISO), 9(CLK)

I2C Pins

SDA, SCL

SDA, SCL

SDA, SCL

Onboard WiFi

-

Implemented through TargetHw_Wifi101 block. Have issues with Access Point mode.

Implemented through TargetHw_Wifi101 block. High latency issues are observed.

 

Programmer

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

Debugging

Debugging is supported over USB serial.

Known Issues & Limitations

-