C2000 CLA trigger using ADCINT source

7 visualizaciones (últimos 30 días)
Zak Campbell
Zak Campbell el 3 de Feb. de 2020
Respondida: Aditya Padmanabha el 7 de Feb. de 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
ePWM_Block.PNG
ADC_Config.PNG
Error.PNG

Respuesta aceptada

Aditya Padmanabha
Aditya Padmanabha el 7 de Feb. de 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
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

Más respuestas (0)

Categorías

Más información sobre C2000 Microcontroller Blockset en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by