Skip to main content
Harsh1
Associate II
July 12, 2021
Solved

Code does not execute when the ADC was setup in "RTOS example" on SPC560P50L5 which comes with spc5 studio?

  • July 12, 2021
  • 1 reply
  • 942 views

MCU - SPC560P50L5

First I compile and flash RTOS serial example with no errors. then I run it. No errors were detected. same process was followed to check ADC example. There also no error were found. Then I combined both codes as follows(attached). It compiled with no errors. But it did not run smoothly. The LEDS always lit.

    This topic has been closed for replies.
    Best answer by Erwan YVIN

    Hello ,

    Have you tried with the last version of SPC5Studio ?

    Warning: Component com.st.spc5.components.platform.spc560pxx_rla version (1.16.0) doesn't match installed component version (1.16.1)

    Version set to 1.16.1. 

    Warning: Component com.st.spc5.components.init.spc560pxx_rla version (1.16.0) doesn't match installed component version (1.16.1)

    Version set to 1.16.1. 

    Warning: Component com.st.spc5.components.lld.spc560pxx_rla version (1.16.0) doesn't match installed component version (1.16.1)

    Version set to 1.16.1. 

    Warning: Property i2c_settings[1]/i2c_sw_configurations[1]/configs[1]/settings[1]/slave_address[1] was not found in configuration file.

    Warning: Property i2c_settings[1]/i2c_sw_configurations[1]/configs[1]/settings[1]/slave_address[1] was not found in configuration file.

    Warning: Property i2c_settings[1]/i2c_sw_configurations[1]/configs[1]/settings[1]/slave_address[1] was not found in configuration file.

    Warning: Property i2c_settings[1]/i2c_sw_configurations[1]/configs[1]/settings[1]/slave_address[1] was not found in configuration file.

    Warning: Property i2c_settings[1]/i2c_sw_configurations[1]/configs[1]/settings[1]/slave_address[1] was not found in configuration file.

    Additional things :

    Your pinmap does not contain ADC Settings.

    0693W00000JMYHQQA5.png 

    Best regards

    Erwan

    1 reply

    Erwan YVIN
    Erwan YVINBest answer
    ST Employee
    January 19, 2022

    Hello ,

    Have you tried with the last version of SPC5Studio ?

    Warning: Component com.st.spc5.components.platform.spc560pxx_rla version (1.16.0) doesn't match installed component version (1.16.1)

    Version set to 1.16.1. 

    Warning: Component com.st.spc5.components.init.spc560pxx_rla version (1.16.0) doesn't match installed component version (1.16.1)

    Version set to 1.16.1. 

    Warning: Component com.st.spc5.components.lld.spc560pxx_rla version (1.16.0) doesn't match installed component version (1.16.1)

    Version set to 1.16.1. 

    Warning: Property i2c_settings[1]/i2c_sw_configurations[1]/configs[1]/settings[1]/slave_address[1] was not found in configuration file.

    Warning: Property i2c_settings[1]/i2c_sw_configurations[1]/configs[1]/settings[1]/slave_address[1] was not found in configuration file.

    Warning: Property i2c_settings[1]/i2c_sw_configurations[1]/configs[1]/settings[1]/slave_address[1] was not found in configuration file.

    Warning: Property i2c_settings[1]/i2c_sw_configurations[1]/configs[1]/settings[1]/slave_address[1] was not found in configuration file.

    Warning: Property i2c_settings[1]/i2c_sw_configurations[1]/configs[1]/settings[1]/slave_address[1] was not found in configuration file.

    Additional things :

    Your pinmap does not contain ADC Settings.

    0693W00000JMYHQQA5.png 

    Best regards

    Erwan