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.

TMS320F28379D: Using TMS320F28379D and Boost Gan Inv as an inverter

Part Number: TMS320F28379D
Other Parts Discussed in Thread: SYSCONFIG, C2000WARE

Tool/software:

Hello, 

I am trying to use TMS320F28379D as an inverter, but I keep getting error messages when I try to use the EPWM example. Here are the error messages I get: 

[36]>> Compilation failure

[37]subdir_rules.mk:38: recipe for target 'lab_main.obj' failed

[38]"../lab_main.c", line 71: error #20: identifier "INT_myADC0_1_INTERRUPT_ACK_GROUP" is undefined

[39]"../lab_main.c", line 72: error #20: identifier "myADC0_BASE" is undefined

[40]"../lab_main.c", line 74: error #20: identifier "myADC0_RESULT_BASE" is undefined

[41]"../lab_main.c", line 74: error #20: identifier "myADC0_SOC0" is undefined

[42]"../lab_main.c", line 84: error #20: identifier "myBoardLED0_GPIO" is undefined

[43]"../lab_main.c", line 113: error #20: identifier "myEPWM0_BASE" is undefined

[44]"../lab_main.c", line 117: error #66: expected a ";"

[45]At end of source: warning #12-D: parsing restarts here after previous syntax error

[46]At end of source: error #68: expected a "}"

[47]8 errors detected in the compilation of "../lab_main.c".

[48]gmake: *** [lab_main.obj] Error 1

[49]Building file: "../device/F2837xD_CodeStartBranch.asm"

[50]Invoking: C2000 Comp

I think I am missing a library for this example but I do not know where I can download this library. Can I have some help with this? 

 

  • Hi Andrew,

    Are these examples coming from our C2000WARE SDK? It looks like you are using SysConfig, did you make sure to include "board.h" at the beginning of the lab_main.c file? The board.h file defines the peripheral base aliases that your example is relying on

    Regards,

    Peter