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(29.4.2.2 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