W5500 interrupt Sn_IR register
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: W5500 interrupt Sn_IR register
by Vasja Pira ·
What I am pointing at is why the host should write bit to ‘1’ if bit already should be ‘1’ when interrupt is triggered. Am I missing something?
RE: RE: W5500 interrupt Sn_IR register
by Eugeny ·
To trigger it to 0. When event happens, the bit is set to 1. After your driver captures the event by seeing bit set to 1, it should reset this bit, by writing 1 into its place - then this bit in the register will become 0.
RE: W5500 interrupt Sn_IR register
by Vasja Pira ·
OK thanks for reply. I have managed to make it work. As an electronic engineer and user of the chip I would recommend documenting it a bit more specific in the datasheet. Because in electronics it is not very usual to reset the interrupt status register by writing the same value.
Many thanks for explanation
RE: W5500 interrupt Sn_IR register
by Eugeny ·
As designed in WIZnet chips allows resetting only specific bits by writing to the same register.
It is very usual, and even standard, you just do not see it.
And this clock + clock enable reset the register.