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.

ADC on tiva launchpad

How do I output the results of an analog to digital conversion using the on-chip 12 bit ADC0/ADC1?? 

  • Hi,

    You can use the serial uart to send to PC, if you work with a board from TI. On custom board, depends on your requirement. 

    If using the serial uart, you must transform the binary number representing the result into an ASCII string, to be human readable.

    Petrei

  • To use a serial port I would need a DB9 connector right? But my laptop does not support it, and a serial-to-usb convertor would be expensive. Would using 12 gpio pins as digital output pins work?? 

  • Hi,

    Two times no! If you use a development board from TI, then the debug cable carries two USB informations - the debug info and a built-in serial interface.

    The DB9 is required if you need to use more than one uart interface, and of coarse, should be done on a USB-to-serial cable, which is not so expensive.

    As for 12 GPIO pins - only if your project requires an LCD character display, but even in that case the number of pins can be reduced, since there are already displays with SPI interface.

    Petrei

  • Thanks a lot !! I really appreciate it !