简体   繁体   English

将GPS模块与MSP430连接

[英]Interfacing the GPS module with MSP430

I already interfacing the GPS s-1216 module with 8051. Now I'm going to interfacing the same module with MSP430fr5969 launchpad. 我已经将GPS s-1216模块与8051接口。现在,我将与MSP430fr5969启动板接口该模块。 I facing the problem in starting itself that to which pin is connection will be doing? 我在启动时面临的问题是连接到哪个引脚? can anyone will solve this.. If it possible explain using code functions.. 任何人都可以解决这个问题。

You can use any of this. 您可以使用任何一个。 Either 0 or 1. 0或1。

PIN 20-TX1, PIN 21-RX1; PIN 24-TX0, PIN 25-RX0.

Select the appropriate function using selection register as each pin has more than 2 functions. 使用选择寄存器选择适当的功能,因为每个引脚具有两个以上的功能。 In 8051 there is nothing called selection register. 在8051中,没有什么叫选择寄存器。 But here it is used to define the function of PIN. 但是这里用来定义PIN的功能。 Rest of the things are same as in 8051, like UART configuration, baud rate and TX RX functions. 其余部分与8051中的相同,例如UART配置,波特率和TX RX功能。 Before trying UART, try blinky IO program to get the basic knowledge on MSP430 在尝试UART之前,请尝试blinky IO程序以获取有关MSP430的基本知识。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM