Skip to content

Commit

Permalink
enc28j60: Adds trace and README
Browse files Browse the repository at this point in the history
  • Loading branch information
isundaylee authored and uwehermann committed May 14, 2019
1 parent c7692e1 commit 8a05fd7
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions spi/enc28j60/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
-------------------------------------------------------------------------------
Microchip ENC28J60
-------------------------------------------------------------------------------

This is an example capture of the Microchip ENC28J60 SPI Ethernet chip.

Details:
http://ww1.microchip.com/downloads/en/DeviceDoc/39662e.pdf


enc28j60-init-and-ping.sr
-------------------------

Capture contains the following 3 stages:

1) Initialization phase where control registers are written.
2) Polling phase that waits for the Ethernet link to be up.
3) Two round-trips of ping packets (each consists of 1 RX of ICMP Echo Request
packet and 1 TX of ICMP Echo Reply packet).

The chip was driven by a custom STM32F446 board running custom bare-metal
firmware.


Logic analyzer setup
--------------------

The logic analyzer used was a DSLogic Plus (at 50MHz, with SPI clock at 16MHz):

Probe ENC28J60
--------------------
0 CS#
1 MISO
2 CLK
3 MOSI
Binary file added spi/enc28j60/enc28j60-init-and-ping.sr
Binary file not shown.

0 comments on commit 8a05fd7

Please sign in to comment.