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.

DS90UH949-Q1EVM: How to read the GPIO_0 interrupt signal in TI Analog Launch Pad Software (ALP)

Part Number: DS90UH949-Q1EVM
Other Parts Discussed in Thread: ALP

I am attempting to read the GPIO-0 interrupt pin value through ALP. I was wondering if the GPIO_0 data value would be able to be read through ALP? I configured the correct register addresses through ALP with my SerDes setup. I am trying to read an interrupt value when touching a display. I am able to read the value of the interrupt pin with an oscilloscope (e.g. high or low value), however I am unable to figure out how to read the value of the GPIO_0 interrupt through the ALP Software. Here is the location of the GPIO_0 pin that I am able to read with an oscilloscope: 

  • Hi Steven,

    Allow me 1-2 business days to look into this, I will provide a response as soon as possible!

    Best,

    Miguel

  • Thanks Miguel! If you have any questions about this topic, just let me know and I can detail them here.

    Best,

     - Steven

  • Hi Steven,

    Thanks for your patience!

    For the UH949 device, if you would like to read an interrupt status on the GPIO0 pin through software, one way you could do this from the serializer side is by reading the register 0x1C bit 0 on the 949 Ser, for example using scripting tab and the command board.ReadI2C(0x18, 0x1C), where 0x18 would be the address of the SER. This should give you the same interrupt status via ALP.

    Best,

    Miguel

  • Thanks for sharing this information. I did attempt to read the interrupt status via board.ReadI2C(0x18, 0x1C) however, the interrupt status output was not changing in ALP. The interrupt status is reflecting from high to low when reading it directly with an oscilloscope however. Do you know what would cause this interrupt status to reflect on ALP?

    Best,

     - Steven

  • Hi Steven,

    Upon further review of the 949's functionality, there may not be a way to check the status of the interrupt status on GPIO0 within ALP while receiving that data from the DES, as the read of this register may not reflect the status that you are looking for. This may explain why you may read oscilloscope results, but not within ALP itself.

    The GPIO0 must be set to input mode (register 0x0D) when reading the provided register 0x1C, but that conflicts with the setup of receiving the value from the deserializer on the backchannel.

    As of now, it seems there is no software implementation to retrieve the interrupt status of the GPIO0 pin when set up in this configuration.

    Best,

    Miguel 

  • Hi Miguel,

    Thank you for this update. I am wondering if this situation can be worked out by reading the status of the GPIO Pin at the Deserializer (input mode)? Moreover, can we remotely read through the deserializer instead of reading the local status of the serializer (output mode) register?

    Much thanks for your help as always,

     - Steven

  • Hi Steven,

    Assuming the partner device is the UH948, and the GPIO0 is set to be "input" on the DES (0x1D = 0x3), it should be able to be remotely read through the SER by checking the DES local status using register 0x6E bit 0 (GPI status). 

    Best,

    Miguel