2015-02-28 03:16 PM
Dear All,
Thanks for the attention. I'm working with SPC56EL70L5DISP Discovery Board using SPC5 Studio as IDE. I've never had any specific experience with such a kind of MCU indeed i'm having some trobles about how to implement basic function like making an ADC or providing an DSPI or CAN Comunication. Actually I'm working with SPC56EL70L5DISP Discovery Board. I'm using all the Graphical Tools present inside the SPC5 Studio for SPC56 MCU line but nevertheless I'm following the procedures I'm having software problems since I've not found many supports about how to use the API related to the different HAL Components. I've searched for several reference notes in the ST forum and site but unfortunately I've not found in them basic informations about how to use the Drivers related to the HAL Components. What I'm asking is: 1 - Is there any place where I can find some training tutorial about how to program SPC56 MCUs providing techical details or examples about how to use the different components, like how to use the Drivers/API ? For example: in order to implement an ADC, wich are the procedures and functions that have to be followed ? 2 - Is there any files which I can find a Register Map with all the addresses inside the SPC56EL70 ? Thanks again and sorry for this kind of question that surely wolud be trivial for someone.2015-03-02 12:15 AM
Hi,
Using the Application Wizard (the wand button) you can import applications with examples for all the peripherals you mentioned, have you tried that? The API documentation is available by right clicking the ''Portable HAL'' component, then look under the ''doc'' submenu. About support, this is the place where ask questions. Giovanni2015-03-02 12:51 AM
Dear Giovanni,
thanks for your response. Unfortunately opening the wizard and choosing my Discovery Board I Find only 2 Examples related to the LED Blinking Example, but unfortunately I do not find anything related to SPI, ADC... Another strange issue i'm finding is that all the files that it generates are not related, I mean, there are some files .c that do not find its own related header... It does not give me an error compiling but when I do the Debug I see that is like some variables are not found in the related header, and as a consequence the program do not run any more in the board, like Segmentation Fault Error. This does not happen when I load external projects. Thanks again2015-03-02 01:29 AM
Hello Luigi ,
There is a change request relative to this task :create SPC56ELxx OS-Less/Chibios Test Application for DiscoveryPlus DSPI/CAN/PWM-ICU/ADCwe will inform you as soon as the applications for Leopard DiscoveryPlus will be ready.Could you clarify your headers issues by screenshots ? Best Regards Erwan2015-03-02 03:34 AM
Dear Erwan,
thanks for the attention. About your response, you mean that have I to create another thread with title : SPC56ELxx OS-Less/Chibios Test Application for DiscoveryPlus DSPI/CAN/PWM-ICU/ADC or have I to wait for the applications to be finished in this thread? How much time do you think have I to wait? just to know, not for creating any pressure.. becuase we do not have to much time in our project, in order to make us evaluate other solutions... About the header issues I've found that the problem was a mistake made by me, sorry for that. Thank You very much2015-03-02 07:37 AM
Hello Luigi ,
you can find in the attachment 4 applications (Compliant for 3.4.2) SPC56ELxx ADC/CAN/PWM-ICU/DSPI for Discovery Plus. You can import them in your environment. Tests are OK on my Discovery Board. These applications will be integrated in the next release. Best Regards Erwan ________________ Attachments : SPC56ELXX_DiscoveryPlus_Applications_for_3_4_2.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0SX&d=%2Fa%2F0X0000000bZG%2F.ThmriKf9YYtiwMbtmLrdqGuHYjYN2XZklFel84ekCY&asPdf=false2015-03-02 08:23 AM
Dear Erwan, Thankyou very much !
Only now I wondered that I have an old version of SPC5Studio ( It's the one that I've downloaded from the site...). Actually is the 3.0.0, nevertheless I've done all the upgrades (in the attachment files You could find the image I get con SPC5Studio for the version). Could You please send Me the Link of the 3.4.2 version in order to try the applications you have send Me? ThankYou again. Kind Regards ________________ Attachments : SPC5Studio_Version.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0IS&d=%2Fa%2F0X0000000bZE%2FZWilH_zKRjbws.qIbAzqxNzTcvGF_3eABqfy.amaZqw&asPdf=false2015-03-02 03:13 PM
Dear Erwan,
I've downloaed additional software as you wrote in past threads in this Forum in order to upgrade to the last version 3.4.2 ; Thank You a lot again for the support. Kind Regards2015-03-03 12:46 AM
2015-03-03 02:45 PM
Thank You Again!