The invention discloses a method and a device for achieving data signals of various LANE numbers of an MIPI (mobile industry processor interface) based on an FPGA (field programmable gate array). The method includes 1), receiving MIPI configuration information from an upper layer to perform configuration operation, wherein the MIPI configuration information includes the LANE numbers of an MIPI module, a module screen-splitting mode, RGB (red-green-blue) bit width, MIPI transmission control parameters and MIPI output electrical configuration; 2), converting input RGB video signals into four-channel screen-splitting video data; 3), converting the four-channel screen-splitting video data into four-channel byte data; 4), packing the four-channel byte data to form four-channel MIPI packed data; 5), allocating the four-channel MIPI packed data to each data LANE to form MIPI signals; 6), subjecting the MIPI signals of each data LANE to MIPI transmission operation; 7), subjecting the MIPI signals of each data LANE to output electrical and transmission characteristic adjustment, and then sending the MIPI signals of each data LANE to the module. The method and the device have the advantages that output of the MIPI signals of 1-LANE, 2-LANE, 3-LANE, 4-LANE, 8-LANE and 16-LANE is achieved through the FPGA to lighten the module, and the method and the device are simple to operate, high in reliability and quite low in cost.