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.

F2802x device support 60MHz wait-states bug

Other Parts Discussed in Thread: CONTROLSUITE

As noted 2 YEARS AGO, here https://e2e.ti.com/support/microcontrollers/c2000/f/171/p/377175/1333418, the OTP wait state (ln# 307) used in the 60MHZ section of the FLASH_setup() function  in the flash.c driver device support file is incorrect.

Currently I have to remember to correct this and rebuild the driverlib.lib every time I have a fresh install of ControlSUITE. This is not trivial as the driverlib.lib does not build correctly by default due to some kind of weird path variable ("EXTERNAL_BUILD_ARTIFACT") error. My solution to which to date has been to add a new "Release" build configuration (based on the existing "Debug" configuration), which seems to solve it somehow.

When will this be corrected?

  • PS: When next updating the device driver files it might be an idea to either:

    A) Include stdint.h for those files that use the standard width types (spi.h, cpu.h, gpio.h & wdog.h)
    B) Replace their usage with native types.

    Same goes for the DLOG_BuffInit() function parameter types in DPlib.h

    Same goes for stdbool.h, or at least a bool_t type definition for pwm.h & adc.h, I have been using:

    typedef _Bool bool_t;


    Thank you

  • Toby,

    I apologize for this inconvenience and for that fact that this fix hasn't gotten implemented. I've filed a high priority bug to have this looked at and corrected in the next revision of F2802x device support.

    We appreciate your input and suggestions for improving our device support collateral!

    Best Regards
    Chris