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.
I am using the DRV8312 motor control board and the F28M35x Controlcard. I have used the provided BLDC_Sensorless example in controlsuite as a starting point to get this combination to work. I have only been partially successful so far and have run into two major sticking points. I am having trouble with the ADC_MACRO_INIT and creating a CMD file.
Is there a porting guide out there for migrating Piccolo code to the Concerto family of devices?
So far I have worked though the F28M35x workshop and several of the examples in the USER Guide successfully. I have been using those examples as a reference along with the Sensorless Trapezoidal Control of BLDC Motors documentation found in the \controlSUITE\development_kits\DRV8312-C2-KIT_v128 \BLDC_Sensorless\ ~Docs folder
I believe I have modified the DevInit file correctly to work with the F28M35x and currently have the build level set to 1. During debug after setting the enable flag to 1, the IsrTicker increments to 16 and the C28 core seems to go into a loop. When pausing the core I get 0x3FF6B7(no symbols are defined) error. If I debug the project with the ADC_MACRO_INIT commented out and set the enable flag to 1, the IsrTicker continuously increments and I get PWM signals from the PWM A,B,&C test points on the DRV8312 board leading me to thinking there is something not quite right with the ADC setup.
When building the project I get the following two warnings:
creating output section "DLOG" without a SECTIONS specification
variable "temp" was set but never used F28M35x_SysCtrl.c
After reviewing other post on the forum I am pretty sure that these errors has to do with missing entry's in the F28M3Xx_Headers_nonBIOS.cmd file. I just haven't figured out exactly to create a custom one quite yet. The warnings shouldn't be an issue until I get to the point of having this program run from flash. I haven't been able to find documentation on how to configure the CMD file yet.
Has anyone attempted this project yet or something similar that can point me in the right direction using the TI examples? I have seen this combination work as an example using VisSim so I know the hardware is compatible. I just don't have the time to learn a new software package right now as I have spent two weeks on this so far and think I am close to getting it figured out but I stuck right now. Thank you in advance for the help.