![CLA_Settings.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/270362/image.png)
C2000 CLA trigger using ADCINT source
7 views (last 30 days)
Show older comments
Zak Campbell
on 3 Feb 2020
Answered: Aditya Padmanabha
on 7 Feb 2020
Hello,
I am trying to synchronize the reading of ADC with the interrupts coming from EOC of the same ADC. The model I have s simple. As configured below. I am getting the following error. Any help is appreciated.
![TopLevel.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/269640/TopLevel.png)
![ePWM_Block.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/269641/ePWM_Block.png)
![ADC_Config.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/269642/ADC_Config.png)
![Error.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/269643/Error.png)
0 Comments
Accepted Answer
Aditya Padmanabha
on 7 Feb 2020
Hi Zak,
Please set the properties of the signal at ADC output to Cla1DataRam memory so that the variable is created in cla.
![CLA_Settings.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/270362/image.png)
Also ensure you have selected c28035_cla.cmd for Linker command file in Configuration parameters -> Hardware Implementation tab with Boot From Flash enabled.
Hope it helps,
Aditya
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!