Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20665

EASY TCP/IP : How to access W5100 registers : NEWTOPIC

$
0
0
Used hardware: Arduino UNO with ethernet shield. Intention: use an interrupt service routine to handle UDP messages. Started by changing "Config Tcpip = NOINT" into "Config Tcpip = Int0" In the same Config added "Int = 1" Added "Dim _tcp_intflags As Byte" as per Config Tcpip Helpfile. Added TCP_INT label which serves as ISR. Somehow the program jumps to TCP_INT label all the time as I do not see a way to clear the reason for the interrupt. I guess I should read the W5100 interrupt register and before leaving the ISR I should clear the interrupt bits. But How?

Viewing all articles
Browse latest Browse all 20665

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>