Skip to main content
Angle
Associate III
Aug 5, 2022 2:24 AM UTC
Solved

UDE STK DEBUGGER Serial monitor

Hi, may i know how to open the serial monitor on UDE STK ?

i have been search whole day to monitor my adc value but i didn't found the serial monitor.

0693W00000QN1aPQAT.png 

    This topic has been closed for replies.
    ODOUV.1
    ODOUV.1Best answer
    ST Employee
    Aug 18, 2022 9:57 AM UTC

    If your serial demo is working fine, it means your pinmap and driver configurations are good

    you should see this pinmap config:0693W00000QNyZuQAL.pngand this driver config:0693W00000QNyaEQAT.pngdo the same configuration in your saradc demo, and it should work either.

    Best regards

    7 replies

    ODOUV.1
    ST Employee
    Aug 16, 2022 3:28 PM UTC

    hello,

    you can find a terminal in SPC5Studio in menue Winow->Show view->Other

    then select terminal:0693W00000QNoefQAD.pngand select the bad rate at 38400 for our Demos:

    0693W00000QNoepQAD.png 

    Best regards

    Angle
    AngleAuthor
    Associate III
    Aug 17, 2022 1:22 AM UTC

    why it do not print anything ? i try the example on SPC57S and successfully compile and connected but it does not show anything, it do not print the channel and value. May i know why?

    0693W00000QNqYPQA1.png

    ODOUV.1
    ST Employee
    Aug 17, 2022 7:59 AM UTC

    Hello,

    to use printf command as debug in your main program,

    you need to add and configure this component to your project:

    0693W00000QNsBiQAL.pngand configure the TX Serial pin PA[12] in Pinmap editor:

    0693W00000QNsCuQAL.pngYou can look at example Demo "SPC570Sxx_RLA SARADC Test Application for Discovery"

    Best regards

    Angle
    AngleAuthor
    Associate III
    Aug 17, 2022 8:20 AM UTC

    Hi,

    Is it correct the driver that i set? btw im using the the PD[14] as my serial pin.

    0693W00000QNsJWQA1.png

    ODOUV.1
    ST Employee
    Aug 17, 2022 10:03 AM UTC

    So I suppose you are using SPC574S

    then you also have to enable serial driver and configure in Low Level Driver the LinFlex3 as serial:

    0693W00000QNstjQAD.pngBest regards

    ODOUV.1
    ODOUV.1Best answer
    ST Employee
    Aug 18, 2022 9:57 AM UTC

    If your serial demo is working fine, it means your pinmap and driver configurations are good

    you should see this pinmap config:0693W00000QNyZuQAL.pngand this driver config:0693W00000QNyaEQAT.pngdo the same configuration in your saradc demo, and it should work either.

    Best regards