abhishek singh Posted May 30, 2017 Share Posted May 30, 2017 I am interfacing PMOD NIC100 Ethernet with Spartan6 LX9 FPGA board. I connected it to the PMOD header J4 of LX9 board directly. I written SPI master vhdl code (SPI mode 0) and trying to communicate with it. I also driven pin no.7 of PMOD NIC100 module through programming to high level (3.3V) for SPI mode select. I sent first 8-bit instruction of Bank select 3, and then I sent RBSEL opcode, which is 16-bit long. The data on MISO line always show zero level. As per datasheet of Microchip ENC424J600, it should show hex "0003". Please help me to establish SPI communication. Regards, Abhishek Link to comment Share on other sites More sharing options...
D@n Posted May 30, 2017 Share Posted May 30, 2017 @abhishek singh, While I've never used the PMOD NIC100, I'm pretty sure SPI mode select is an active low signal. Hence, you want to drive it low (GND) when communicating, and high (3.3V) when not communicating with the chip. Dan Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.