Skip to main content
Angle
Associate III
August 5, 2022
Solved

UDE STK DEBUGGER Serial monitor

  • August 5, 2022
  • 3 replies
  • 1687 views

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.
    Best answer by ODOUV.1

    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

    3 replies

    ODOUV.1
    ST Employee
    August 16, 2022

    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
    August 17, 2022

    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
    August 17, 2022

    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
    August 17, 2022

    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
    August 17, 2022

    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
    August 18, 2022

    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