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 TLV1562 with PIC 16bit MCU

Other Parts Discussed in Thread: TLV1562

Hi

I recently procured a TLV1562 ADC for sampling a 1Mhz analog signal. I went through the datasheet of the ADC and every necessary detail was mentioned clearly.

I need to interface the ADC to a PIC 16 bit MCU for processing the sampled data. Can someone please help me out with the interfacing circuit since the datasheet provided only the interfacing with TMS series of processors.

Please help me out in this regard.

  • Hi Sidd,

    If the PIC you are using has a dedicated parallel bus you can simply tie the data lines together (from the PIC to the ADC) and then use the READ and WRITE strobes from the PIC to control the /RD and /WR inputs to the ADC.  Let us know what operating mode you intend to use the TLV1562 in and the part number of the PIC device you are using and we may be able to get you a block diagram of the proposed connections.

  • Hi TOM,

    I really appreciate the efforts you had taken in replying my query.

    Right now I am planning to use PIC18F2550 MCU for processing the sampled data. I chose this MCU because its the only 8 bit MCU in PIC family to support USB 2.0 protocol for sending the sampled data to a PC.

    Since I need a sampling rate of 3MSPS I will be using the TLV1562 in 8 bit single channel mode. 

    Hope this information is enough for you to design an interface circuit.

     

  • Hi,

    I recently purchased TLV1562 ADC for sampling 1 MHz analog signal from a sensor. I want to interface this ADC with a PIC18F2455 MCU for sending the data to a PC through USB 2.0 for further processing. 

    I am will be using the ADC in 8 bit single channel mode since I need a sampling rate of 3 MSPS. 

    The reason why I chose this MCU is because it is the only 8 MCU in PIC family to support USB 2.0 protocol for transmission of data at high speed.

    What I want to know now is, Is it possible to interface TLV1562 with PIC18F2455. If so can someone please provide me with the interface circuit.

     

  • Hi Sidd,

    Looking over the Streaming Parallel Port documentation in the PIC18F2455 datasheet, and going by figure 14 in the TLV1562 datasheet, you should be able to connect pins D9..2 from the ADC to the SPP7..0 pins on the PIC.  The PIC documentation says that CLK1 will toggle for writes and CLK2 for reads, so you could tie these lines to the /WR and /RD inputs on the TLV1562.  The chip select on the ADC would need to be controlled as well and it looks like you would need to invert the CSSPP signal from the PIC.  Not 100% sure that this is going to work, but it might be worth giving it a try.  I've attached a generalized block diagram for you.

     

  • Hi TOM,

    Thanks for the block diagram, I do hope it works out well.

    I have another query to be clarified. What is the command word that has to be initialized in the Control Register for operating the ADC in 8 bit Single channel mode.

     

     

  • The password is "0xABRACADABRA"

    No - just kidding! 

    Your going to have to do something with pins D1 and D0 - depends on how you want to run the part, they can be tied to logic zero or one but you can't let them 'float'.  You could hook them to GPIOs on the PIC if you have spares. 

    There are two CFG registers, CR0 and CR1 which are described on page 5 of the datasheet.  For CR0, you are going to use one of the mono modes.  For 8-bit output opeartaion, CR1 would need D5..4 set to 1,0.  Depending on SE or DIFF input and how you want to start the conversion (I was assuming you'd start by the /RD input and not the CONVST input), you would set the other bits in the CFG registers according to your needs.

  • Hi TOM,

    Thanks for the prompt reply. I guess your valuble suggestion would do the job, if not I'l get back to you for further clarifications.

    With regards, 

    Siddharth Baskar