Other Parts Discussed in Thread: CONTROLSUITE
Dear all,
I am using the Delfino C28343 Experimenter's Kit with the DIM100 controlCARD. The examples contained in %root%\controlSUITE\device_support\c2834x\v112\DSP2834x_examples_ccsv4\ seem very useful and have worked well so far. However, with the adc_on_xintf, when I plot the ADC1Data or ADC2Data arrays (using the CCSv5 Graph tool) I get a lot of distortion - when compared to the ADC1Data plot shown in the PDF guide accompanying this example. In fact the time period isn't the same either. Attached plot shows ADC1 from guide, ADC1 I got, and then ADC2 I got. I used the same settings for the graph as in the guide (except that display size is 4 times, i.e., 1024).
Would anyone have an idea as to what the problem could be?
Something is not clear in the code. It seems that GPIO56 is treated as if it were connected to CONVST on ADC1. Same goes for GPIO57 with ADC2. However, looking at the schematic file, CC2834x-DIM100_SCH_V0_11.pdf, I see that GPIO56 (P13 in the BGA) and GPIO57 are no connects. It is true that GPIO56 and GPIO57 may be configured as XD23 and XD22 (XINTF data bits 22 and 23), but they are configured as GPIOs in this code example. Anyway, ADC2 is PWM triggered and so does not need use the manual CONVST, yet the waveform has a lot of distortion.
I'll try to plot this data with a different tool to check if this just a plotting issue. In the meantime, would appreciate your feedback and whether anyone was able to run this example successfully.
Thank you
Ahmed