This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hey,
I'm using the F28379D launchpad and i have some problems ...
1- i use F28379D launchpad with the hardware support package on simulink ... but an uploading error is generated every time i try either to toggle an output pin with a frequency of 1 MHz or to set the sampling period of an input to to 1 usec. (notice the screenshot below)
2- How can I change the frequency of the counter of the ecap ? is it the syncIn input ? and if it is how to use it to change the frequency
3- Reagrding the CLB (configurable logic block) , where may I find all the possible assembly instructions that may be written on the program part of the HLC ?
Thanks
Hi,
Looks like there are issues with connecting to the target from the snapshots shared by you. Please read through the below thread to see if this helps your issue.
https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/484814
Diana,
Once you are able to get past the connection issues we can dive into question #2 and #3 some more. We'd like to solve #1 first.
Best,
Matthew
We were able to solve the problem partially by setting the SCI_A frequency to 12 MHz (was 5MHz) and the SYSCLKOUT to 192.5MHz (was 200MHz).
This helped us to use the eCAP module to detect the time stamps of a PWM signal with a period of 1 usec. But We're still unable to visualize the same signal on the scope reading the GPIO and we think that we'd need a more robust solution to avoid the same problem when the program becomes more complex.
Hi Diana,
How is the PWM signal generated that you are trying to observe on GPIO? Is it coming from ePWM? or configuring eCAP in APWM mode?
Thanks,
Nirav
The HLC instructions, mov, mov_T1, mov_T2, etc are available in the TRM. CLB chapter, HLC subsection.