Context: CCS Version: 6.0.1.00040 TI-RTOS for TivaC: 2.10.1.38 Development board: EK-TM4C123GXL
Hello again,
Building on the SDCARD demo program:
Using XGCONF: set a clock object with an initial timeout of 10 seconds and a frequency of 1 hz to run functionX at timeout.
functionX triggers an AtoD conversion that upon completion triggers an interrupt to run AtoD_ISR.
AtoD_ISR saves the digitized FIFO contents to an array variable then posts a swiConvertAnalogValuesFxn to process the array.
swiConvertAnalogValuesFxn prints a string to the console whenever it runs so i can seen when it runs.
Here is the console output as the system starts...
Robert Robot
by
Garden Robot Design
Initializing...
UART1 - RF200
UART5 - Pixy
ADC
Quadrature
Overheat
PWM
Direction
BIOS_start();
swiConvertAnalogValuesFxn L:0 R:0Drive 0 is mounted <---------------- Why is swiConvertAnalogValuesFxn running here?
Using existing copy of "fat:0:input.txt"
Starting file copy
File "fat:0:input.txt" (576 B) copied to "fat:0:output.txt" (Wrote 0 B)
Drive 0 unmounted
swiConvertAnalogValuesFxn L:0 R:0 <------------ 10 seconds has passed and the output begins as expected
swiConvertAnalogValuesFxn L:0 R:0 <-------------1 second passes
swiConvertAnalogValuesFxn L:0 R:0 <-------------1 second passes
swiConvertAnalogValuesFxn L:0 R:0 <-------------1 second passes etc.
My question is: Why is swiConvertAnalogValuesFxn running before AtoD_ISR posts to swiProcessAnalogValues?
Cheers,
Dave