[En-Nut-Discussion] GPIO19 on Ethernut 3.0
Harald Kipp
harald.kipp at egnite.de
Wed Dec 21 12:31:08 CET 2005
Hard to believe...
P19 is unused by default, but may be used to scan TDO
of the CPLD via jumper JP5. Is JP5 set to default, as
shown on page 5 of
http://www.ethernut.de/pdf/ethwm30d.pdf
Harald
At 11:09 21.12.2005 +0100, you wrote:
>trying to set Pin GPIO19 to high we do this
>
>// initialisation
>outr(PIO_PER, _BV(19));
>outr(PIO_OER, _BV(19));
>
>// set Pin high
>outr(PIO_SODR, _BV(19));
>
>the PIN actually goes high, but retrurns to low as soon as
>the thread goes into sleep mode.
>
>why ?
>
>(we testet other pins with the same
>result)
More information about the En-Nut-Discussion
mailing list