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.

TL16C752D: Can I read and write to Scratch register (SPR, reg addr 0x7)?

Part Number: TL16C752D


I write some data to this register.  When I read it back, I always get 0x00.  This is after reset, and I have not programmed any other registers yet, so reg address 111 should be SPR.

There is no documentation about the SPR register in the datasheet except for the register map and the default bit settings after reset.

  • Hi Charles,

    You should be able to modify the SPR, though to be honest it has been a while since I used this device.

    I can try to locate an EVM to try to reproduce what you're seeing. 

    In the mean time, are you able to share your schematic for us to review and also prove the CS/IOR/ADDR and verify everything looks correct?

    Thanks,

    -Bobby

  • Hi Bobby,

    I have been able to configure other registers so that I can receive and transmit serial data with this device.  My question is specific to this particular register SPR.  Just want to confirm that the SPR register is a simple read/write 8-bit register that does not require any steps before reading and writing it.

    Charles

  • Hi Charles, 

    There should be no special requirements to read and write from this register apart from the specified status of the LDC, EFR, and MCR registers. Please ensure that you are not inadvertently reading from another register based on these requirements. Reading from the TLR or FIFORdy register for example would return 0x00 after startup (registers' default value). 

    Regards,
    Eric Schott