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.

[参考译文] MSP430FR2355:在 MSP430FR2355中、SPO2的示例代码始终生成垃圾值。 如何摆脱这种情况?

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1025295/msp430fr2355-in-msp430fr2355-example-code-for-spo2-produces-junk-values-always-how-to-get-rid-of-it

器件型号:MSP430FR2355

我可以在该 SpO2代码中更改哪些因素/输入

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

    器件型号:MSP430FR2355


    log_waitCommand();

    PPG_AppStart();

    PPG_appSleep ();

    PPG_appStop();

    在运行代码时、系统进入等待状态

    void log_waitCommand (void)

    //等待 UART 命令
    UCA1IE |= UCRXIE;//启用 USCI_A1 RX 中断
    _bis_SR_register (LPM0_bits | GIE);//输入 LPM0、带中断
    __no_operation();

    如果我对 log_waitCommand 进行了注释、则程序会生成其自己的值  

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

    您好、Ganna、

    这是日志模式、在此模式下、MCU 将等待来自 GUI 的命令、然后捕获照明数据并发送到 GUI。

    这是调试模式、您想通过 GUI 捕获一些数据吗? 对吧?

    如果要运行正常函数、则需要将 ENABLE_DATA_LOG 更改为0 (PPG.h)

    谢谢!

    此致

    Johnson