Recently i am doing some project with TMS350F28335 , and how could i get a sine wave that peak-to-peak value is 0.5 V .
The input is a sine wave which peak-to -peak value is 1 V.
this is the first that i use this microcontrollers , so i have no idea how to start it ,
Could somebody help me , please.
thank you
sincerely.
take a look at the exampled included in the controlSUITE
I recommend this example:
C:\ti\controlSUITE\device_support\f2833x\v133\DSP2833x_examples_ccsv4\adc_seqmode_test
Import it to CCS and debug the project. You'll find the adc values in the memory tab in the debugger
If you need to you can print the values to your PC, a simple way to do that is to use SCI. A good example on how to use SCI can be found in controlSUITE
C:\ti\controlSUITE\device_support\f2833x\v133\DSP2833x_examples_ccsv4\sci_echoback
Hope this helps!
Rui
thanks ,but now i want to give input a sine wave that peak-to-peak value is 1 V, but i know that i have to use ADC technique to transform the analog signal into digital signal , and i am not able to use watch windows to check the value .
would you please give me the example for edition 4 , my e-mail address : hojason123@yahoo.com.tw
Ho
The ADC on the F28335 can measure 0-3.3V so a sine wave with a peak-peak value of 1V should not be a problem. If the signal is +-0.5V then you can just put the signal through a DC offset circuit to make it 0.5+-0.5V.
If the watch window is not enough you can send the ADC values to your PC with SCI as I suggested before. What do you mean by edition 4? If it is one of the examples you should already have it in the controlSUITE, if it is specific code for your application I cannot help you, unfortunately I don't have time to write code for you...
i mean the free examples , where could i download the free example to practice ,
thanks