Tool/software: Code Composer Studio
Hi,
I built a 50kHz interrupt, and want to sample ADC value and calculate PLL function in the interrupt. I tested the interrupt code, ADC sampling code, and PLL code separately, and all of them are working fine. Then, I tried to put the ADC sampling and PLL code into the interrupt code, complie was successful, but I can not download the code through fusion GUI successfully. Always popped up the error "No pmbus devices responded to a DEVICE_ID request" as shown below.
The initialization code and interrupt code are as below:
If I change the interrupt code by delete either "poll_adc()" or "pll1_isr()" as below, downloading code to chip can be successful.
What's the problem? I have been stucked by this issue for more than 2 hours.
The other thing is, I saw from the video that if I want to debug code by using CCS debugger correctly, I need to download code through fusion GUI first. Then, load symbol in CCS to debug. I have tried to debug through CCS debugger several times, and it works better than memory debugger. But in this case, I can not download the code successfully, so I guess I can not use CCS debugger either. Is there any way to debug UCD3138A by using CCS only?
Thank you in advance!