cancel
Showing results for 
Search instead for 
Did you mean: 

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

Harsh1
Associate II

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 discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
1 ACCEPTED SOLUTION

Accepted Solutions
Erwan YVIN
ST Employee

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

View solution in original post

1 REPLY 1
Erwan YVIN
ST Employee

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