This example demonstrates the data capture function provided by the PARC module.
This example can be used with the following evaluation kits with PARC and PDCA modules:
In this example the GPIO pins on the same evaluation board act as the signal source which provides the PARC module with data, clock, and EN signals.
The GPIO pins should be connected to the PARC pins through the development kit's on-board connectors. These pins can be connected easily by using interconnect wires on the SAM4L Xplained Pro and SAM4L8 Xplained Pro evaluation kits.
The connection list on SAM4L Xplained Pro or SAM4L8 Xplained Pro is shown in the figure below.
This software is written for GNU GCC and IAR Embedded Workbench® for Atmel®. Other compilers may or may not work.
-- SAM PARC Example -- -- xxxxxx-xx -- Compiled: xxx xx xxxx xx:xx:xx --
Press y to sample the data when both data enable pins are enabled. Press n to sample the data, don't care the status of the data enable pins. Press y to sample all the data. Press n to sample the data only one out of two.