12/13
www.embedinfo.com/en
an appropriate value to the corresponding register before
the cut-off time.
PWM This procedure sets up PWM channel 0, channel 1 and
channel 2. You can view the output value of channel 0
according P A7 of PB0, view the output value of channel 1
according PA9 or PB2. Positive pulses of Channel 0,
Channel 1 and Channel 2 are as the inputs of D2, D3 a nd
D4 (LED) respectively. Y ou can also configure the channel
according the serial port.
ADC This experiment tests ADC0 and ADC12B and show the
voltage values from the four-channel ADC pins. You can
configure the values of GAIN, Bias Current, Mode, and
Sample Offset.
EEFC To achieve the reading and writing, latches, GPNVM
settings, and erase for the two internal FLASH.
NandFlash Read and write to external NANDFLASH according SMC.
SRAM Test the external SRAM. R ead and write it. If success, D2
lights, else D3 lights.
TIM This procedure mainly tests TC module of the board.
Configure TC working in Waveform Mode. RA=0x1000. It
will generate interrupt and turn on LED light when
generating Comparing matches.
HSMCI This procedure tests the HSMCI interface by using a SD
card with FAT32 file system. It can format the SD card,
write in a bin file, read it and compare its contents with
the contents written in previously.
SSC This sample can play the WAV file, related Information can
display in HyperTerminal. The WAV file must be 48KHz,
Two-channel stereo, and Previously stored in the SD card.
SSC interface connected to WM8731, it can send audio
data to WM8731 and decode simply and play. You can
hear the music by using a headphone.
SPI Achieve the communication between SPI interface and
touch-screen controller. Touch-screen controller can
receive the commands sent from SPI interface and
Feedback the corresponding data to SPI.
Touch Screen The main function of this routine is to obtain the
coordinates of the touch-point on the touch screen, and
print it in the serial port and LCD screen.