Other Parts Discussed in Thread: HALCOGEN
Tool/software: Code Composer Studio
Hello,
I am trying to get the ADC Display example from HALCoGen to work. I am using a custom board; not the HDK. Because of this, I do not have an ambient light sensor as discussed in the example guide as seen on the TI "How to Tutorial" web page (). In place of an ambient light sensor, I am using the Agilent 33220A function generator to send a sine wave with HiLevel set to 1 V and LoLevel set to 10 mV at a 1 kHz frequency. The internal ADCs of the RM48 are powered with 3.3 V, with the ADREFHI = 3.3V and the ADREFLO = GND (0 V). I have followed the setup suggested in the video with the exception of which ADC input pin is being converted (I am using AD1IN[05]). The current problem I am having is that, when I load and run my program, the output I get on my terminal is either (0x4095) or (0x0). In other words, my terminal only shows full scale or zero.
In summary:
1) I am using a custom board which has no ambient light sensor
2) I am trying to simulate sensor data using the Agilent 33220A to send a 10mV - 1V sine wave @ 1 kHz
3) I am enabling pin 5 for conversion instead of pin 9 (pin 9 is connected to the ambient light sensor on the HDK)
4) This setup results in an output to my SCI (UART) terminal of either 0x4095 or 0x0.
Any assistance which could be provided in order to get this thing up and running would be greatly appreciated!