Other Parts Discussed in Thread: CONTROLSUITE, MOTORWARE
Hello,
I haven't succed to add the module HALL3_DRV in the lab7 of instaSPIN FOC yet.
In Code Composer Studio, I added the search path to the include file of this module (f2805xhall_gpio.h) : "C:\ti\controlSUITE\libs\app_libs\motor_control\drivers\f2805x_v1.0"
I added this include in proj_lab07.c (see below)
// **************************************************************************
// the includes
// system includes
#include <math.h>
#include "main.h"
#ifdef FLASH
#pragma CODE_SECTION(mainISR,"ramfuncs");
#endif
// Include header files used in the main function
#include "f2805xhall_gpio.h"
// **************************************************************************
when I built the project, I have 5 errors :
#20 identifier "GPADAT" is undefined
#20 identifier "GPADAT" is undefined
#20 identifier "gpioCtrlRegs" is undefined
#29 expected an expression
#29 expected an expression
It is my first project with CCS and I haven't found my mistake yet.
Thank you in advance,
Best regards