SPC5Studio configuration
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-08-24 11:27 PM
Posted on August 25, 2015 at 08:27
Hello,
I am using SPC5Studio for SPC560D MCU. 1. How can I access CTU configuration from SPC5Studio?2. How can I configure ADC module for using CTU, one shot conversion vs scan, priorities for EOC etc?3. Any user guide available for using SPC5Studio effectively? Lot of times, the wizard generated functions are difficult to understand the correct configurations.Thanks.Mike.
This discussion is locked. Please start a new topic to ask your question.
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-08-25 12:06 AM
Posted on August 25, 2015 at 09:06 Hi Mike I Have the same problem for ADC Module and PWM ST have A refrence for Advanced light control and diagnostics ,it is a good refrence using both ADC and CTU . I attach a refrence for u but i think u can find on st site . Best Regards Nazerian Vanima
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-08-25 6:51 AM
Posted on August 25, 2015 at 15:51Hello Mike ,it is a good idea to use this AN.Advanced light control and diagnostics usingSPC56xBx and SPC56xCx microcontrollers
2 Choices :
1) use the Patch Mode to update and enable CTUEN in the SPC5Studio ADC driver.or 2) use an external ADC driver , use as example ADC Init and CTU init (cf AN) Best regards ErwanOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-08-25 7:01 AM
Posted on August 25, 2015 at 16:01
Thanks Erwan and Nazerian for the reply. But this app note mainly uses discrete settings for different modules. Whether this type of configuration is possible with application configuration? Any document explaining different features for application configuration?
Thanks,Mike.Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-08-25 9:13 AM
Posted on August 25, 2015 at 18:13
Hello Mike ,
You can find some example configurations in the Reference Manual25.3.3 ADC sampling and conversion timing25.3.4 ADC CTU (Cross Triggering Unit)yes ,it should workyou have to take care 1) The CTU can be enabled by setting MCR[CTUEN].2) The CTU and the ADC are synchronous with the peripheral set 3 clock in both cases.3) in the SPC5Studio Driver ,
you should use Injected Conversion not normal conversion
/* Starts conversion.*/ adcp->adc_tagp->MCR.B.
NSTART
JSTART= 1U; Best regards Erwan