2017-01-22 03:34 AM
Good day. This my first application on spc5 studio. I add for testing one led on Port B[1] to board witch MCU SPC560P40L3. I add in generate main.c file one sting -pal_setpad(PORT_B, LED_RED);. Pin will add pin-list, and adjust Clock timing for osc=8000000 Hz.
Afte download outfile out.hex to MCU and start application-pin not state low or hich. Pin state Z(hich impedance).
I need help
to make the right initialization MCU. I try other test application. Not working.
Best regards.
Solved! Go to Solution.
2017-01-24 02:34 AM
Hello Alexey ,
Welcome to SPC5Studio world ;)
i think that your clock configuration is not correct.
Do you use SPC560Pxx Discovery Board or SPC56Pxx Motherboard and Minimodule
There is some Test Applications examples for these 2 Hw (RLA & HAL) in the application wizard.
You can import them by using the magic stick cf screenshot
Best Regards
Erwan
2017-01-24 02:34 AM
Hello Alexey ,
Welcome to SPC5Studio world ;)
i think that your clock configuration is not correct.
Do you use SPC560Pxx Discovery Board or SPC56Pxx Motherboard and Minimodule
There is some Test Applications examples for these 2 Hw (RLA & HAL) in the application wizard.
You can import them by using the magic stick cf screenshot
Best Regards
Erwan
2017-01-29 10:49 AM
Thanks. Solved. Select HAL confuguration, selekt not init, manualy configurating clocking module, editing hal_lld.c