a.singh123
Newbie level 5
I have a pmod enc ethernet controller card frm digilent. I have successfully interfaced it with spi protocol. Now when i send ethernet frame no response on wireshark tool i can see. Following cmds were send frm spi one by one:
1. I first configured automatic mac address insert, by settting ECON2 bit 13. Automatic padding and CRC insertion are set by default.
2. Then i set ETXLEN register using WCR cmd.
3. Then i write sram buffer indirectly using EGPDATA register. Write ptr is set to 0000h. I have written 8 bit datas continuously using n-byte spi instr WGPDATA. So first i send cmd byte 2A hex, followed by data bytes to be written in sram buffer.
4. I then sent the 1- byte spi command SETXRTS to send the ethernet frame to PC.
I dont got any response in wireshark software for this frame. Is there any settings to be done in pc side? Pls help me.
Regards,
Abhishek
1. I first configured automatic mac address insert, by settting ECON2 bit 13. Automatic padding and CRC insertion are set by default.
2. Then i set ETXLEN register using WCR cmd.
3. Then i write sram buffer indirectly using EGPDATA register. Write ptr is set to 0000h. I have written 8 bit datas continuously using n-byte spi instr WGPDATA. So first i send cmd byte 2A hex, followed by data bytes to be written in sram buffer.
4. I then sent the 1- byte spi command SETXRTS to send the ethernet frame to PC.
I dont got any response in wireshark software for this frame. Is there any settings to be done in pc side? Pls help me.
Regards,
Abhishek
Last edited: