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.

Linux/EK-TM4C123GXL: Connecting TM4c123 with Raspberry Pie 3

Part Number: EK-TM4C123GXL

Tool/software: Linux

Hello All,

I am working on Audio Signal Processing project (Kind of Spectrum Analyzer) and for that I'm using Raspberry Pie 3 and TFT Display.

But as we know Raspberry Pie-3 don't have inbuilt ADC so I want to use ADC of TM4c123 and transfer data to RP-3.

Now my question is 

1] Is it possible to connect TM4C123 and RP-3?

2] The analog Input signal specifications are 500mVpp/20KHz. (TM4C123 have 12bit ADC with reference voltage 3.3 Volts and sampling rate upto 1MHz)

Now after taking samples in TM4C123 how much speed I can achieve while transferring sampled data to RP-3?

3] Is it any other method to do sampling of Analog signal with sampling rate of around 200 KHz and give the digital samples to RP-3 at higher data rate?

Thanks,

Vinay Kumar

  • Hello Vinay,

    You should be able to connect them together with various serial communication protocols such as SPI, I2C, and UART.

    The transfer speed to the Raspberry Pi 3 would be dependent on your choice of communication protocol and what the data rate limits are for it as well as how your software flow is setup to optimize communication speeds. That's something you'd have to figure out on your end.

    Regarding question 3, I was going to suggest anyways that using a TM4C MCU if you are only looking to use the ADC is utter overkill for your means... you should really seek to find an external ADC you can tie to the Raspberry with SPI or I2C. That'd be the most efficient solution. You may want to poke through our portfolio as we have a large number of ADC offerings: http://www.ti.com/data-converters/adc-circuit/precision-adcs/overview.html

  • May Vendor's "Ralph" be applauded for his proper admission - that w/out (other) tasks for the MCU - its use will likely delay & detract from poster's project.      That's well advised - and "Flies in the face of most all MCU Vendors" - who constantly/chronically - push their MCUs (usually w/out great success) into,  "Kitchen-Sink" territory.      (i.e. Perform added tasks - most always with FAR less effectiveness & robustness - than the "purpose-built" ICs - vendors seek (desperately) to replace (even at the cost of reduced, even uncertain performance!)

    Ralph's suggestion of an external ADC proves - to my mind:

    • far more appropriate
    • time AND effort saving
    • and more easily implemented

    Thus - NO Contest!     Ralph provided a link - I made the time/effort to,  "Focus such Search upon 10-12 bit ADCs - able to reach poster's 200ksps goal."      

    Note the one w/in "boxed highlight."     Firm/I have past used it - the differential input proves often "ideal" for audio inputs (via inherent noise cancelling) - the variable speed sampling rate enables design flexibility - and the device is (extremely) compact.       Note that the ADC is 5V powered - yet IS ACCEPTING of  poster's 3V3 SPI levels - although "MISO" may have to reduce the ADC's (near) 5V SPI output.   (via simple divider)