This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

interfacing ADC and SCI sample adc data tranfer to hyperterminal through SCI terminal

Other Parts Discussed in Thread: MAX232, CONTROLSUITE

Hi guys

right now i m working on project that need our ADC data from potentiometer  from specified port now i want that adc value should be sampled and came into the hyperterminal whenever i changes the voltage level  from Potentiometer that changes appear on the hyperterminal screen.

  please suggest me dear it would be very grateful.

  please reply soon

thanks

Regards

Ashutosh

  • Hi Ashutosh,

    Ok, so you want the ADC data on hyperterminal. For this atleast are you able to communicate from your board to PC via SCI? Also, I guess you'll be needing a level shifter circuit comprising of MAX232.

    Check this video: www.youtube.com/watch?v=dQSqV6jKVg8

    Regards,

    Gautam

  • what is level shifter curcuit(MAX232)  why would have need that 

     I have c2000 launch pad so i can use any potentiomter at ADCIN5 or any other pin then vary the  voltage and see the ADC data at hyperterminal. Can i do that is there any spl mottto use max232  in c2000 lunch pad

    Regards

    ashutosh

  • what is level shifter curcuit(MAX232)

    It is required to convert TTL logic (F28027) to RS-232 logic (PC) for SCI/UART communication. Else you won't be able to communicate with PC.

    This is how you can implement the level shifter circuitry:

    Regards,

    Gautam

  • But  I am using  my laptop to communicate and it has USB wire to communicate with the hyperterminal, no requirment of  MAX232 actually .

       What do you say ?

     Regards

    ashutosh

  •  What do you say ?

    I guess you're using SCI to communicate with your PC right? Where does USB come into picture? Can you please clarify?

    Regards,

    Gautam

  • Hi gautam 

    actually i m using my laptop where I attach my  c 2000 development board with laptop USB

  • The above USB is for JTAG communication, Ashutosh and not for SCI. SCI needs external hardware with RS232 connector to connect to your serial connector on your laptop. This is how you'll be able to see the SCI comunication between controller and hyperterminal.

    I would like you to go through the basics of UART communication to get the clear picture.

    Regards,

    Gautam

  • Hello Ashutosh and Gautam,

    If we are using Launchpad F28027, actually we don't need level shifter MAX232 because there is FTDI  FT2232H that connected to GPIO28 and GPIO29 (SCI) of F28027.

    So for Ashutosh to test the hyperterminal communication (PC) and Launchpad, please use the example from ControlSuite: C:\ti\controlSUITE\device_support\f2802x\v220\f2802x_examples_drivers\sci_echoback

    You need to choose proper COM port and setting (baud rate, etc) in hyperterminal.

    Here you can see how PC and Launchpad can communicate using hyperterminal. Then later you can modify this example code to send your ADC data to hyperteminal.

    Best regards,

    Maria