TM4C1230H6PM: TM4C1230H6PM SDK

Part Number: TM4C1230H6PM

Tool/software:

Hi,

I have an old project using SDK 1.1 and moving to SDK 2.2.0.295 I miss some functions:

SysCtlADCSpeedSet for example and its parameters like SYSCTL_ADCSPEED_500KSPS.

What do you suggest? should I stay in sdk 1.1 or the api are changed and I have to use different APIs?

Thanks, for  reply.



  • Hi,

      Please refer to the 2.2.0.295 Release Note at http://www.ti.com/lit/pdf/spmu299. The SysCtlADCSpeedSet was removed as there is no longer a register to be accessed by the API. You can use the ADCClockConfigSet to configure the desired sample rate. 

    6.3.6 SysCtlADCSpeedSet() Removed

    The function SysCtlADCSpeedSet() has been removed from the Peripheral Driver Library API. This function should have been removed in the StellarisWare to TivaWare transition but was accidentally left in the release. It accesses a register no longer present in Tiva devices and attempts to use it could cause problems with the system clock configuration. Applications needing to set the ADC sampling rate should call the function ADCClockConfigSet() instead.