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.

MSP432 Unable to run the ADC example code

hi,   i am trying to run the ADC14_01 example sketch in my CCS  , the fallowing errors showing  , i though this is due to path includes (see the attaches pic)

"../system_msp432p401r.c", line 275: error #137: struct "<unnamed>" has no field "CTL"
"../system_msp432p401r.c", line 275: error #20: identifier "WDT_A_CTL_PW" is undefined
"../system_msp432p401r.c", line 275: error #20: identifier "WDT_A_CTL_HOLD" is undefined
"../system_msp432p401r.c", line 278: error #137: struct "<unnamed>" has no field "SRAM_BANKEN"
"../system_msp432p401r.c", line 315: error #137: struct "<unnamed>" has no field "KEY"
"../system_msp432p401r.c", line 315: error #20: identifier "CS_KEY_VAL" is undefined
"../system_msp432p401r.c", line 316: error #137: struct "<unnamed>" has no field "CTL0"
"../system_msp432p401r.c", line 316: error #20: identifier "CS_CTL0_DCORSEL_1" is undefined
"../system_msp432p401r.c", line 317: error #137: struct "<unnamed>" has no field "CTL1"
"../system_msp432p401r.c", line 317: error #20: identifier "CS_CTL1_SELM_MASK" is undefined

"../system_msp432p401r.c", line 317: error #20: identifier "CS_CTL1_DIVM_MASK" is undefined
>> Compilation failure
"../system_msp432p401r.c", line 317: error #20: identifier "CS_CTL1_SELM__DCOCLK" is undefined
"../system_msp432p401r.c", line 318: error #137: struct "<unnamed>" has no field "KEY"
"../system_msp432p401r.c", line 321: error #137: struct "<unnamed>" has no field "BANK0_RDCTL"
"../system_msp432p401r.c", line 322: error #137: struct "<unnamed>" has no field "BANK1_RDCTL"
64 errors detected in the compilation of "../system_msp432p401r.c".

if i need to include the MSP432 driver libraries how would i do that 

  • Hi Vinod,

    This may be an issue with your MSP432 Emulators package not being up to date and CMSIS compliant. To check for updates, open CCS and click Help --> Check for Updates. Please refer to my post here for additional information: e2e.ti.com/.../1833451

    Regards,
    Akash Patel
  • Hi Vinod,

    It's been a couple weeks since we've last heard from you so I will be closing the thread. If you're still having issues, please let me know and I can reopen the thread, otherwise, please "Verify Answer" my above post if that solved your issue.

    Regards,
    Akash Patel

**Attention** This is a public forum