Part Number: LAUNCHXL-F28069M
Other Parts Discussed in Thread: MOTORWARE, DRV8305, CONTROLSUITE, C2000WARE
Tool/software: Code Composer Studio
I was wondering Instasin Motion use CLA resources. I have reviewed the SPRUHJ0B and found no reference for using CLA resources.
In this case, I can assign other resources into CLA such as resolver task (See TMDSRSLVR_v1.0 under Resolver_f28035_CLA), in such context the CPU focus on the motor task at 20KHz ISR loop rate while the CLA focus on resolver task at 80Khz or 160KHz PWM rate with ADC12 sample rate (10Khz).
Is there a restriction in sharing ADC12 between CPU and CLA at the same time?
How to export angle results from CLA into Instaspin code.
What do you think?
Added: One approach the ADC12 interrupt can be driven by ISR (conversion done) within COS where it which run the CLA code, or perhaps run both ISR in CPU and CLA together?, how to make that work?