I am just start developing with the 5300 (WIZ830MJ) and STM32F4 µC.
I am a little bit confused about these two things:
- Base Address:
Taken from the W5300 dazasheet"
"Physical Address of W5300 Reg = Base Address of T.M.S + Address offset of W5300 Reg
For convenience, we assume the Base Address(BA) of T.M.S is 0x08000, and BA of the
Physical Address of W5300 Register is 0x08000."
I have studied some code examples, first I thougt, base address/ address of Mode Register always is 0x08000, but the address in the code example varies.
So what do I have to use in case of an STM32F4 Controller as Start address/First Adress:0x00000 or 0x08000 ???
- "Taken from Datasheet Manual of W5300"
“6.1.1 16 Bit Data Bus Width In case of using a 16bit data bus width, ADDR[9:1] is used and ADDR0 is connected to ground”
I defined GPIO Port E as Address Port:
How to write a Address to that Port from internal variable value ?
Because : Address uses 9 Portlines, Internal Variable, holding the address is uint_16 type (uint_16 W5300Address) for example
Do I always have to shift the value of W5300Address like : Output_to_Port_E = W5300Address <<1 ??
Thanks in advance