Consecutive Bus operation
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: Consecutive Bus operation
by lawrence WIZnet ·
Hello, barrey.
I do not use W5300, but i hope this is helpful for your wonder.
Before that, there is my question with your mention.
-It means you want to access two w5300 with a your 32-bits cpu(mpc5554)??
Then, here is an answer with below words.
W5300 supports burst mode, so you can read or write addr & data consecutively. But the point is CS and RD/WR status.
Offically, W5300 notice CS’ active low and RD/WR’ active low to read/write. If you do consecutively, you need to toggle RD/WR signal(with CS signal active low continuously) to make CS & RD/WR active low at the same time as the timing diagram in w5300 DS.
And I suggest the pulse high of RD’ duration is longer than tDATAh + tDATAhe.
Thank you,
Lawrence.
RE: Consecutive Bus operation
by barrey ·
Hi and thanks for your answers,
No, The external bus is 16 bits wide, and I have only 1 wiznet device wire. I mean that if, in the code, I read (or write) a 32bit data, since the external bus is only 16bits wide, the MPC will automatically proceed with 2 consecutive reads (or wirtes) (of course the MPC increment the address between the 2 access!).
In others words, the MPC is able to read (or write) 2 consecutive 16bits registers of the wiznet, in one single code operation, and put that 2 16bits register of the wiznet into one 32bits register of the MPC.
That’s
I wanted to know !
[quote]W5300 supports burst mode, so you can read or write addr & data consecutively. But the point is CS and RD/WR status.
Offically, W5300 notice CS’ active low and RD/WR’ active low to read/write. If you do consecutively, you need to toggle RD/WR signal(with CS signal active low continuously) to make CS & RD/WR active low at the same time as the timing diagram in w5300 DS.[/quote]
That not a problem, when the MPC proceed 2 consecutive access, the CS stay low durring the 2 access, and the RD/WR toggle between the 2 access.
That would be nice to have a confirmation on that point. For the read operation, I have a 15ns pulse on the RD signal, (for Write operation, I have 30ns on WR signal).
The question is : tDATAhe value ?
Since in my case the MR(RDH) is set to ‘0’ this mean that tDATAhe= 0ns ?
So in my case the minimum RD pulse would be tDATAh + tDATAhe = 7ns + 0ns = 7n ?
Could you confirm this point ?
Thank you.
RE: Consecutive Bus operation
by lawrence WIZnet ·
Hello, barry
I am so late…
Yes you are right!
Only tDATAhe set after MR[RDH] set as ‘1’.
And the valid time will be 7ns if tDATAh is 7ns and no MR[RDH] set.
thank you
lawrence