GPS和电子罗盘是定位系统的重要组成部分。在实际应用中通常采用定制的GPS模块和电子罗盘模块.以简化产品设计和缩短设计周期。但是采用DSP直接控制它们效率较低且费时,必将拖累系统性能。本文提出了一种采用FPGA驱动GPS模块和电子罗盘模块的解决方法。该方法通过FPGA控制GPS模块和电子罗盘模块.采用一个高速的SPI接口与DSP进行通信.该方法已成功在硬件平台上实现,并使DSP的软件控制更简单.效率更高。%GPS and electronic compass are an important part of geo-location positioning systems. To simplify product design and shorten the design cycle, in practical applications, customized GPS module and electronic compass module are usually used. However, it is not so efficient and most likely time-consuming when they are directly under the control of a DSP. The system performance would degrade as well. This paper presents a solution such that the GPS module and the electronic compass module are driven by an FPGA. In this method, the FPGA controls the GPS module and the electronic compass, as well as communicates with the DSP just by a high speed SPI interface. It been successfully implemented in the hardware platform, and made the software control of the DSP much easier and more efficient.
展开▼