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: In MSP430FR2355 example code for SPO2 produces junk values always. How to get rid of it?

Part Number: MSP430FR2355


what are the factors/inputs i can change in that spo2 code

  • Part Number: MSP430FR2355


    LOG_waitCommand();

    PPG_appStart();

    PPG_appSleep();

    PPG_appStop();

    while running the code the system goes to wait state

    void LOG_waitCommand(void)
    {
    // wait for UART command
    UCA1IE |= UCRXIE; // Enable USCI_A1 RX interrupt
    __bis_SR_register(LPM0_bits | GIE); // Enter LPM0 w/ interrupts
    __no_operation();
    }

    If i commentout LOG_waitCommand then the program produces its own values 

  • Hi Ganna,

    This is LOG mode, in this mode, MCU will waiting the command from GUI, then capture the lighting data and send to GUI.

    This is a debug mode, you would like to capture some data via GUI? right?

    If you want to run normal function, you need change ENABLE_DATA_LOG to 0(PPG.h)

    Thanks!

    Best Regards

    Johnson

**Attention** This is a public forum