Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
PARC unit tests on SAM4L Xplained Pro Documentation

Introduction

This is the unit test application for the PARC driver. It contains 3 test case for the PARC module:

  • Test PARC register write/read function.
  • Test PARC data capture in polling way.
  • Test PARC data capture in callback way.

Main Files

Device Info

Only SAM4L devices can be used. The unit tests have been tested with the following setup:

  • sam4lc4c_sam4l_xplained_pro
  • sam4lc8c_sam4l8_xplained_pro

Board Connection

The connections on SAM4L Xplained Pro or SAM4L8 Xplained Pro should be: EXT3-P9 (PIN_PA06) – EXT3-P15(PCCK) EXT1-P7 (PIN_PC00) – EXT3-P8 (PCDATA0) EXT1-P8 (PIN_PC01) – EXT3-P10(PCDATA1) EXT1-P6 (PIN_PC02) – EXT4-P15(PCDATA2) EXT1-P15(PIN_PC03) – EXT4-P7 (PCDATA3) EXT2-P7 (PIN_PC04) – EXT4-P8 (PCDATA4) EXT2-P8 (PIN_PC05) – EXT4-P10(PCDATA6) EXT2-P9 (PIN_PC06) – EXT4-P9 (PCDATA7) EXT4-P5 (PIN_PC17) – EXT4-P18(PCEN1) EXT4-P6 (PIN_PC18) – EXT4-P17(PCEN2) Please note the PCDATA5 is only connected to LCD connector (EXT5) which can not be connected easily by plugging wires. So in this example PCDATA5 is nor required to be connected.

Compilation info

This software was written for the GNU GCC and IAR for ARM. Other compilers may or may not work.

Contact Information

For further information, visit Microchip.
Support and FAQ: https://www.microchip.com/support/