This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] 编译器/MSP432P401R:使用 UART 将 GPS 数据从 MTK3339 GPS 芯片组读取到 MSP432P401R 时出现问题

Guru**** 2616675 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/672739/compiler-msp432p401r-problem-reading-gps-data-from-mtk3339-gps-chipset-to-msp432p401r-using-uart

器件型号:MSP432P401R

工具/软件:TI C/C++编译器

我正在尝试从 GPS 模块读取数据到 MCU。 我创建了一个 char 数组来存储每行、但我最终得到了垃圾数据。 此外、我将 LED 设置为在每条线路完成时都打开、但 LED 也不会打开。 下面是我正在运行的代码

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    Akin、
    启用和禁用 SlepOnIsrExit 不提供任何值。 我建议在处理看门狗之后立即在程序开始时禁用一次。 如果您有示波器或逻辑分析仪、那么我会尝试确认 UART 通信、并且您选择的配置(MSB 优先、无奇偶校验)与 GPS 模块匹配。

    此致、
    Chris
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    Chris、
    谢谢! 事实证明、GPS 芯片组使用 lsb。 禁用 SlepOnIsrExit 并使用 lsb 解决了问题