LC-PI-200S
Contents
- 1 Getting Started Guide
- 2 About of LCPI F1C200S
- 3 Purpose of LCPI F1C200S
- 4 View of LCPI F1C200S
- 5 Introduction
- 6 Function features
- 7 Introduction for use
- 8 Function test
- 9 LCPITester_ Instructions for using F1C software (it is recommended that beginners can use the F1C200S specialized testing software developed by Elsa Technology)
- 10 Source code compilation
- 11 Download LCPI F1C200S User Manual=
Getting Started Guide
This guide is designed for LCPI F1C200S enthusiasts.Its purpose is to understand the LCPI F1C200S,and how to prepare and use it.
About of LCPI F1C200S
LCPI F1C200S adopts Allwinner F1C200S ARM926EJ-S core processor,with 64MB SIP-DDR1 on-chip,the DDR frequency can run stably at 156Mhz,and the CPU main frequency can reach 720Mhz. Onboard USB,Flash,TF card holder,40P LCD interface,microphone,etc. Support 720P video output,support H.264, MJPEG and other decoding.
Purpose of LCPI F1C200S
F1C200s is a highly integrated,low-power mobile application processor from Allwinner,which can be used in a variety of multimedia audio and video devices. Allwinner F1C200s is based on the ARM 9 architecture and integrates DDR.
It supports high-definition video decoding,including H.264,H.263,MPEG 1/2/4, etc. It also integrates audio codec and I2S/PCM interface to enhance user experience with excellent system integration capabilities,Simple development,support for low-power applications,and rich interfaces,such as usb otg,uart,spi,tWI,tp,sd/mmc,csi,etc.
It can support operations such as MELIS and Linux operating systems. It is a product with simple development and high cost performance.
View of LCPI F1C200S
Introduction
2.Board size:76*38mm. Weight:15g
3.FPC Interface Pin Description
Function features
- Core:ARM926EJS@900MHz
- Memory:DDR1 built-in 64M
- Support memory card:onboard self-bouncing TF card holder
- Onboard Flash:1Gbit SPI NAND Flash
- Audio:1 microphone and 1 piece 1W power amplifier chip
- LCD:40pin-0.5mm FPC seat LCD interface
- Carema:24pin-0.5mm FPC seat CSI interface(can be connected to OV2640,OV5640,etc.,default OV2640)
- USB:OTG USB(TYPE-C interface)
- UART:CH340E(TYPE-C interface)
Chip Architecture Block Diagram
Introduction for use
1.Program burning
(1)Install the driver under Windows
Find zadig-2.5.exe in the tool software folder and open it.
(4)Brush tool SUNXI-FEL
This tool is when the Allwinner SoC fails to boot in all Flash,the chip automatically enters the FEL Flashing state and communicates through USB.
This part will use sunxi-fel.exe in the compressed package.
Do not insert the TF card,press and hold the BOOT button and then plug in the USB cable;or insert the USB first,press the RST button while holding the BOOT button,you can actively enter the USB Flashing mode,and the computer detects a new USB Flashing device.
When using sunxi-fel,you must use the command line.For example,you can install a git tool(https://git-scm.com/downloads)instead of the terminal that comes with windows. A working FEL device,we can test ir with the command:
(5)Brush tool DFU-UTIL
️This part will use dfu-util.exe in the tools folder.
️️️①Put the module in FEL mode.
②Run the from-fel-to-dfu.bat script,double-click to run.Or run the commands in the script on the Windows command line.
③At this point,the module will print some logs.When you see these,it indicates that the module is in DFU mode.
④Prepare the NAND image, and then use the following command to flash the machine in the Windows command line.
Please modify the specific path yourself
Brush log:
Burn write to TF card
1.Prepare a TF card and a card reader connected to the computer,open the Win32DiskImager software;Select the corresponding image file, click Write to start burning
Function test
Prepare the necessary accessories
1.A 480*272 LCD display:Used to display relevant debugging information/human-machine interaction
2.A small speaker:Used to test audio output.
An OV2640 camera:Used for photo testing.
(It is recommended that professionals can directly test)
1.Camera test
Use a TYPE-C cable to connect to the TTL interface, open putty.exe; wait for the board to start and enter root without a password.
Set image format:
media-ctl --set-v4l2 '"ov2640 0-0030":0[fmt:YUYV8_2X8/640x480]'
Photo test:
fswebcam -d /dev/video0 --no-banner -r 640x480 -S 10 1.jpg
After completion, you can connect another TYPE-C cable or unplug the cable on the TTL interface and then connect it to the OTG interface, wait for a device to appear, and then open it to see photos in 1.jpg format
[fswebcam -d /devideo0 --no-banner -r 640x480 -S 10 1.jpg]
2.Display test
Insert the cable of the LCD into the row seat of the motherboard, power on and start
View screen interface: # ls /dev/fb0
Print string to screen: # echo hello > /dev/tty1
3.Recording/playback test
Connect the small speaker to both ends of OUT+ and OUT-, power on and start
Modify the configuration file Command: # tinymix contents
Modification method
Modify the command to:tinymix set serial number content
For example:# tinymix set 2 1 Modify the value of item number 2 to on,on
# tinymix set 1 63 Modify the value of item number 1 to 63
# tinymix set 13 1 Modify the value of item number 13 to on
After the modification is completed,it is as follows
Next, start recording audio:# tinycap /tmp/test.wav
Ctrl + C End recording
Test the recording effect:# tinyplay /tmp/test.wav
LCPITester_ Instructions for using F1C software (it is recommended that beginners can use the F1C200S specialized testing software developed by Elsa Technology)
The following is the test method using Putty general software. Customers who want to speed up the test can use the F1C200S special test software developed by Airsay Technology, as shown in the figure below:
Way for use:
1.Connect the peripherals that need to be tested (such as LCD),and connect the USB port of the computer to the TTL Type-C interface on the development board through a USB cable.
2. Select the correct port number,baud rate 115200,click "Connect",and the window will print out a lot of debugging information.After the system starts up,click "Disconnect".Then click "Connect",when the following information appears,it means that the login to the Linux system is successful,and the function test can be carried out.
Remarks:The software only supports ports within COM9.If the port number recognized by the computer exceeds COM9,please modify the port number in the Windows Device Manager.
Take the test LCD as an example:
1.Check "LCD" and click "Execute".If the test is successful,the LCD will display "Hello Lctech!"
2.At this time,the software will ask whether the test is successful,and if you click "Yes", the LCD will display green, Otherwise, it will display red. The test method for the rest of the functions is similar to this
Source code compilation
1. Virtual machine installation
LC provides customers with virtual machines that have built various compilation environments. You can directly install the virtual machine for compilation.
Proceed as follows:
①Download and unzip the Ubuntu_16.04_X64_ES_LCPI.7z virtual machine file
②Open the VMware Workstation software, click "Open Virtual Machine" and locate the folder you just extracted.
Ubuntu_16.04_X64.vmx file in Ubuntu_16.04_X64_ES_LCPI-200S
③Click the green play icon on the left or in the menu bar to "Open this virtual machine"
④After entering the Ubuntu system, click on the Test account and enter the password 123456 to enter the system.
2.Source code compilation
①Click icon and enter according to the home/lc/buildroot path
②Right-click the mouse to open the Terminal tool
●Enter make widora_mangopi_r3_defconfig and press Enter
●Enter make -j8 and press Enter
Wait about 1 hour (depending on the computer configuration) to complete the file packaging. The image file output path is:
/home/lc/buildroot/output/images
Download LCPI F1C200S User Manual=
For more information on the use of LC-PI-200S, please view https://drive.google.com/drive/folders/1BfryVhaF8VwfVE6C_hKur-7hDE7IAhnq?usp=sharing