[En-Nut-Discussion] Problem with Port E Pin 5 and Ethernet

Peter Kunst scalar at home.nl
Wed Apr 16 11:46:10 CEST 2003


We had the same problem for our robot, we needed timers for pwm, three of
them.
We rerouted int5 from the rtl8019 to int 6 on the board with microwire, and
did a full search&replace of INT5 to INT6 in the file " nictrl.c".
The initcommand in nutmain where it says: "NutRegisterDevice(&devEth0,
0x8300, 5);" is BOGUS! the 5 does not represent the interrupt of the
controller, is does nothing!


  -----Oorspronkelijk bericht-----
  Van: Tom Nyström [mailto:en-nut-discussion-admin at egnite.de]Namens Tom
Nyström
  Verzonden: dinsdag 15 april 2003 16:06
  Aan: en-nut-discussion at egnite.de
  Onderwerp: SV: [En-Nut-Discussion] Problem with Port E Pin 5 and Ethernet


  Hi! Thanks for your answer.

  But when we use Timer 3 for generating PWM on Port E Pin 5 it is set to
Out,
  and it works. It is only when the timer is not used that the problem
occurs.
  What happens to the Ethernet interrupt when PE5 of the processor sends out
a PWM?
  And why choose a timer output pin as Ethernet interrupt? It apparently
  forces you to use the pin for Output C of Timer 3 or not at all.

  /Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.egnite.de/pipermail/en-nut-discussion/attachments/20030416/70522e24/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 1260 bytes
Desc: not available
URL: <http://lists.egnite.de/pipermail/en-nut-discussion/attachments/20030416/70522e24/attachment-0001.bin>


More information about the En-Nut-Discussion mailing list