"Ti DLP lightcraft is a compact evaluation module that integrates projected light into industrial, medical and scientific applications, providing a variety of flexible interfaces to facilitate the development of terminal devices using DLP chips. Engineers can use the USB based application programming interface (API) or the graphical user interface (GUI) provided by Ti It can easily create, store and display high-speed graphics sequences, and the module system board adopts a powerful tms320dm365 digital media processor. The processor is based on DaVinci Technology provided by Ti and can run Linux operating system, so that users can develop a complete embedded system around 0.3 WVGA chipset.
The software of lightcraft module is based on TI's digital video software development kit (DVSDK). DVSDK is a free software set based on Linux kernel, which provides a complete software development framework. Moreover, the DVSDK is completely free and can be downloaded from Ti website. It needs to run under Linux operating system.
Lightcraft module provides firmware and software package, including not only DVSDK based on dm365, but also lightcraft module FPGA and MSP430 firmware for control. You can download the latest firmware and software package DLP lightcraft firmware and software package from Ti website. The latest version of the downloaded firmware and software package is v1.1. Unzip it and see what it contains.
DLPLIGHTCRAFTERGUI —— The graphical user interface GUI can be easily configured and downloaded to DLP lightcraft via USB. The latest version is v3.8.
DLPR300FPGA —— FPGA configuration firmware. Program the Altera cyclone IV ep4ce6 FPGA for use with the dlpc300 controller to display faster monochrome graphics on the dlp3000 (compared to using the dlpc300 alone). The optional FPGA allows users to multiplex two data input sources and provides fully configurable I / O triggers to synchronize cameras, sensors and other peripherals. It also provides other LED control functions.
DLP3000-C300REFDM365 —— Application reference software based on Ti DVSDK platform. It includes Linux kernel, Linux file system, Linux product support package (PSP), application framework (API), codec library (MPEG4, H.264, MPEG2, G.711, JPEG), sample program, DSP CodeGen and codesource tool chain with IDE so that the target system can be cross compiled and debugged.
DLP3000-C300REFMSP —— MSP430 application reference software for system initialization and shutdown, LED driver control and power sequencing.
DLP3000-C300REFEDID - The extended display identification data stored in EDID Prom can configure the system to accept video input with WVGA (864x480) or local dlp3000 (608x684) resolution through HDMI port.
There are two ways to start the system of DLP lightcraft: from NAND flash and from micro SD card. The lightcraft module does not have a micro SD card and needs to be configured separately. Let's take a look at the operation of lightcraft after it is powered on for the first time.
Power on start
There is a dial switch on the lightcraft module. When it is dialed to the side close to the dm365 chip, the system starts from NAND flash, and when it is dialed to the side close to the micro SD slot, the system starts from the SD card.
Connect the 5V power adapter, connect the mini-b USB to the PC, and turn the boot switch to the side close to dm365.
After power on, the projection generates a system start-up picture with a resolution of WVGA, and the projection definition can be adjusted by zoom.
After the system is started, it stays in the initial red, green and blue stripe screen.
There are two switch buttons on the side of lightcraft, below which is the power switch. The above is the input selection switch, which can sequentially select the source of the display screen, such as video from dm365, internal test pattern and external HDMI video.
Long press the above input selection switch and release it. The system will enter the hardware interface self-test program, including
Dm365 interface
HDMI interface
Camera interface & camera trigger
Trigger in / trigger out
UART1 ( MSP430)
SPI flash interface (dlpc300 & FPGA)
After the self-test is completed, all error messages will be displayed.
GUI control program
The driver needs to be installed when connecting to the computer for the first time. The USB of lightcraft is connected to the computer as a network adapter, which complies with the rndis protocol. In fact, it runs TCP / IP on the USB device, making the USB device look like a network card.
The installation can be automatically recognized under XP system
After the driver is installed, unzip the dlplightcraftgui package and run the GUI software. This is a QT based GUI interface, where you can easily adjust parameters to control the display. It mainly includes: USB communication connection button, LED current setting, display mode setting and display mode parameter setting.
Click the "connect" button to connect USB communication, and you can see the firmware and software version of lightcraft at this time. In "connection", you can see that the IP of the USB network adapter has been fixed to 192.168.1.100.
GUI can easily set the display mode of the module and the current of LED light source. The parameters of RGB LED current in the figure above can be set to 0-274.
There are four main display modes:
Static image: displays a static BMP bitmap
Internal test pattern: displays the internal test pattern
HDMI Video: displays external HDMI input video
Pattern sequence: displays the set pattern sequence
1)Static Image
Under display mode, select static image and click Set.
Then upload an image file in the test pattern / image column below. The image file must be a 24 bit color bmp format file. If you want to display the full resolution, it must be 608 x 684. After the image is loaded, the uploaded image is projected and displayed.
Moreover, the color of static display can be set, and the RGB color range is also 0-274.
2)Internal Test Pattern
Under display mode, select internal test pattern and click Set.
Then, in the internal test pattern area under the test pattern / image column below, you can select many internal test patterns from the drop-down area, and click Set projection to display the selected pattern.
3)HDMI Video
Under display mode, select internal test pattern and click Set. Projection displays externally input HDMI video.
Some video parameters can be modified and set under HDMI video column. Here, connect to the lightcraft module through the HDMI output of the notebook. Note that the HDMI interface on the lightcraft is a D-type small port.
4)Pattern Sequence
Select pattern sequence under display mode and click set to enter the pattern sequence setting mode.
You can set parameters under the pattern sequence column below.
Generating display pattern sequence is a function for optical measurement applications. If you are interested, you can refer to the application that triggers the camera. The following video is a demonstration of 3D measurement, which uses the function of lightcraft to generate graphic pattern sequence.
The display can be easily controlled through the lightcraft GUI program. After lightcraft is connected to the host, a virtual USB network device will be generated, that is, they transmit communication through TCP / IP protocol. The control commands of GUI can refer to dm365 command interface. Of course, users can also develop their own applications according to these commands.
SD card startup
Make a boot SD card, insert the SD card into the card reader, and reformat it in fat format. Unzip the dlp3000-c300refdm365-v3.31.zip file in the previously downloaded firmware and software package.
Execute in command line mode
lcr_ boot_ sd.exe dm3xx_ sdv3_ 31.dat J:
Where j: is the boot drive letter of the SD card.
Turn the boot switch of lightcraft to the side close to the SD card, and then power on to start the system from the SD card. It can realize the same function as starting from onboard NAND flash.
Lightcraft can also realize the slide show function, directly read the graphic sequence from SD and play it according to the set time and order.
First, copy a series of BMP format files to the fat format partition of SD card. These BMP files must also be 24 bit color map with a resolution of 608 x 684.
Then create a config.txt file,
As shown in the above figure, slide1-slide6 images are played at an interval of 4 seconds, and subsequent slide images are played at an interval of 8 seconds.
Plug in the SD card, power on and start from boot or SD card. The pictures used for slide show can be directly copied to the SD card with boot function.
After the system is started, long press the switch S1 on the system board and release it. At this time, it is found that the system no longer enters the hardware self-test program, but automatically plays the graphics sequence of SD card.
Summary
This paper introduces the installation process of DLP lightcraft module power on startup program, the Linux system of the module is based on TI's DVSDK software development platform, and the lightcraft system can be started from onboard NAND flash or SD card. The lightcraft module is connected with the host through a virtual USB network port. The lightcraft GUI can easily control some display functions of DLP through interface commands. Lightcraft module has rich interfaces. To use various peripheral interfaces, users need to configure their own hardware and interface cables, and can build a variety of embedded application platforms.
The following video is ti ti's introduction to DLP lightcraft.
Reference link
Ti DLP lightcraft development module
Ti E2E Engineer Community
DLP 0.3 WVGA chipset
Linux digital video software development kit (DVSDK)
Dm365 command interface Guide
DLP lightcraft user manual
Original statement: This article is original by Aiban. Reprint is declined“
Our other product: