====== Function Test ====== This section explains how to test the GECKO4 Education epfl-edition with the default test program. You can get the bit file {{ :gecko4education_epfl:functiontest.jic |here}}. The functiontest contains four tests as indicated in the following sections. ===== Start Test Environment and LED test ===== To start a function-test session hold SW6 and tip SW1. SW1 is set as a reset button. More information concerning the buttons can be found [[gecko4education_epfl:buttons|here]]. {{ :gecko4education_epfl:getaccess.gif?400 |}} Check if all LED's and seven segment displays are illuminated. More information concerning the LED and seven segment displays can be found [[gecko4education_epfl:leds|here]]. {{ :gecko4education_epfl:ledtest.jpg?400 |}} ===== Test 0 Buttons ===== Tip the buttons in following order: SW2, SW3, SW4, SW5, SW6, SW7 More information concerning the buttons can be found [[gecko4education_epfl:buttons|here]]. {{ :gecko4education_epfl:buttontest.gif?400 |}} ===== Test 1 DIP Switch ===== Press DIP switches in following order: DIP-switch1.1 ... DIP-switch1.8, DIP-switch2.1 ... DIP-switch2.8 More information concerning the DIP-switches can be found [[gecko4education_epfl:buttons|here]]. {{ :gecko4education_epfl:diptest.gif?400 |}} ===== Test 2 Serial Flash ===== This test run automatically and is very fast. Normally you won't see something. ===== Test 3 SDRAM ===== The SDRAM Memory test is running automatically. SEG4 DP indicates the status. ^SEG4 DP ^ Status ^ |fast blink | write| |slow blink | read | Further information concerning seven segment display can be found [[gecko4education_epfl:leds|here]]. {{ :gecko4education_epfl:sdram.gif?400 |}} ===== Test 4 DAC ===== For this test a connection to an Oscilloscope is required. The below table indicates the connections. ^GECKO4Education ^ Oscilloscope ^ |DAC1 | Channel 1 | |DAC0 | Channel 2 | |GND | GND Channel 1| |GND | GND Channel 2| More information concerning the Arduino compatible connectors can be found [[gecko4education_epfl:arduino|here]] and More information concerning the DAC can be found [[gecko4education_epfl:adcdac|here]]. {{ :gecko4education_epfl:test41.jpg?400 |}} The desired output for Channel 1 on the oscilloscope is indicated in the figure below. {{ :gecko4education_epfl:adc1.jpg?400 |}} {{ :gecko4education_epfl:test42.jpg?400 |}} The desired output for Channel 2 on the oscilloscope is indicated in the figure below. {{ :gecko4education_epfl:adc2.jpg?400 |}}