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.

TPL0202-10: Unable to communicate with TPL0202

Part Number: TPL0202-10

I can not seem to get the TPL0202 to work.

I am designing a amplifier board and using the TPL0202 to set the gain.
The processor being used is a PIC (I know I probably should have used a processor from TI).

I read the datasheet several times but I still have a few open questions that I can not seem to find anywhere.
What is the minimum Clock speed for SCK?
Is there any code example of interfaceing with the TPL0202?

  • Daniel,

    There is no minimum SCLK frequency. The only limitation is going exceedingly fast - anything over 5MHz or with SCLK period less than 200ns.

    I do not have any code examples, especially not for the PIC controller, but it is a fairly straight forward SPI implementation with 16-bit frames which most SPI peripherals can support natively. I would suggest double-checking your SCLK phase and polarity settings, for this device the rising clock edge should be the critical edge. You may also share with us an oscilloscope capture of the SPI bus transaction to help give a look at the timing.

  • Hello Kevin,

    I feel very stupid. The problem was that the pic requires that the receive register is read before writing again. This is why it seemed nothing was happening.
    It was my own fault. Thank you for the quick answer! I wrote Microchip at the same time and am still waiting from a reply from them...

    Kind Regards

    Daniel

  • Daniel,

    Happy to help. Please come back should you have any further questions on this device or other DAC products.