Hi All have a quick question, if I am trying to send data to a PHY 100 mbits/sec
I send first the preamble a nibble a time, start of frame, MAC address, and then frame length. And hence my question is regarding the frame length
so the order of nibbles to be sent to the PHY is
AAAAAAAB<MAC_ADDR>0192<PAY_LOAD> so the frame length is 0x0192
broken into binary this is
0000 0001 1001 0010
that data is stored in bytes so it would be
00000001 10010010
to transmit this I would first reverse the byte:
10000000 01001001
and send like this:
mii_tx <= "1000" at time t
mii_tx <= "0000" t+1
mii_tx <= "0100" t+2
mii_tx <= "1001" t+3
this way the data is going into the PHY as 0x1029 instead of 0x0192... is this correct or do I also need to switch the nibble placement? i.e.
00001000 10010100
and then send a nibble at a time?
Thank you for your help!
my understanding is that the
I send first the preamble a nibble a time, start of frame, MAC address, and then frame length. And hence my question is regarding the frame length
so the order of nibbles to be sent to the PHY is
AAAAAAAB<MAC_ADDR>0192<PAY_LOAD> so the frame length is 0x0192
broken into binary this is
0000 0001 1001 0010
that data is stored in bytes so it would be
00000001 10010010
to transmit this I would first reverse the byte:
10000000 01001001
and send like this:
mii_tx <= "1000" at time t
mii_tx <= "0000" t+1
mii_tx <= "0100" t+2
mii_tx <= "1001" t+3
this way the data is going into the PHY as 0x1029 instead of 0x0192... is this correct or do I also need to switch the nibble placement? i.e.
00001000 10010100
and then send a nibble at a time?
Thank you for your help!
my understanding is that the