AnsweredAssumed Answered

i.MX6SDL GPIO unexpected behavior.

Question asked by Satoshi Shimoda on Feb 12, 2015
Latest reply on Jun 11, 2015 by Yuri Muhin

Hi community,


Our partner met a problem when I use a GPIO function of i.MX6.

Value of GPIO_DRI was cleared when I switched GPIO_GDIR.


Initialization flow was the following procedure.

① set value of GPIO_DR

② set value of GPIO_GDIR

But I set a port to 1 (high) and set GPIO_GDIR to 1 (output) of after that, then GPIO_DR value switched to 0 and it output low (our partner want to high signal).


As long as I read datasheet, I think that the above behavior doesn't occur.

Do you know the reason why the above behavior occurs?


Also, if I set value of GPIO_GDIR before I set value of GPIO_DR( GPIO Write Mode in i.MX 6Solo/6DualLite Applications Processor Reference Manual Rev.1, 04/2013), I think that a pulse exists for a moment.

In this case, Do you know how to prevent the pulse?



Best Regards,

Satoshi Shimoda