AnsweredAssumed Answered

i.mx rt1050 DR_SET and DR_CLEAR

Question asked by Christian Gradl on Jun 7, 2018
Latest reply on Aug 16, 2018 by Christian Gradl

Hi,

i am trying to set 2 pins from 1 port, e.g. GPIO2.31 and GPIO2.29.

One pin should be set in an irq handler, the other one in my main loop.

therefore i used the register DR_SET and DR_CLEAR.

But the pins are not set or clear in real? Both pins are always 0. Do you have any idea to that?

When i use the DR register, then the pins are set correctly.

 

Thanx

Outcomes