Hi,
I am currently using a TM4C1294NCPDT with the TI RTOS with an external clock of 40 MHz. According to TivaWare™ Peripheral Driver Library the parameters for the ADCClock has to be configured as:
Regardless of the source, the final frequency for TM4C123x devices must be 16 MHz and for TM4C129x parts after dividing must be between 16 and 32 MHz.
As the data type of the dividing part in
ADCClockConfigSet(ADC0_BASE, ADC_CLOCK_SRC_ALTCLK | ADC_CLOCK_RATE_EIGHTH, 2.5); // 2.5 wont work as it has to be whole-numbered
is a whole-numbered one, how can I achieve getting the ADC conversion to run?