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.

c5502: usign HPI.HAS# as GPIO

Hello!

I plan to use hpi in mux mode, and can't find in docs answer on questions:

1. Is in possible to use HAS pin as GPIO through HGPIOxx register when hpi is active?

2. What about HAS input in this case (typically HAS pulled up to disable address&ctrl latch, but if pin work as gpio what HPI get as HAS level)?

 

thanks.

 

  • HI Sch:

    Yes, the HAS pin can be individually configured as GPIO. Since HAS is an optional pin during host communication, yes, you can have host accesses and still configure HAS as GPIO. It is safe to assume that the HAS input to the HPI block is correctly tied off internally, therefore, any GPIO activity on HAS would NOT affect host xfers to/from the device.

    Regards,

    Naser

  • Hi, Naser

    Thanks for help.

    Practically - I made some workaround and will not use HPI.HAS as GPIO, but will try your opinion by hardware.

    P.S. I'll post when test done!

    BR, Sch