0

Good morning I have configured and connected an enc28j60 card to the spi1 port of my raspberry pi3 and I have found the error in the photo that does not make the ethernet port work. I ask you for help in understanding where I am wrong. I am also attaching the config.txt configuration file.`

config.txt

# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

kernel=kernel7.img

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720

# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

# Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on
#dtparam=i2s=on
dtparam=spi=on
dtoverlay=spi1-1cs

# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi

# Additional overlays and parameters are documented /boot/overlays/README

# Enable audio (loads snd_bcm2835)
#dtparam=audio=on

#Enable ethernet adapter
dtoverlay=enc28j60-spi1,int_pin=23

#Enable Flir Lepton
#dtoverlay=flir-lepton-00A0
#start_x=1

#gpu_mem=128

shell command:

pi@raspberrypi:~ $ ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether de:ce:bb:1b:39:5b  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 166  



pi@raspberrypi:~ $ cat /proc/interrupts 
           CPU0       CPU1       CPU2       CPU3       
 17:        225          0          0          0  ARMCTRL-level   1 Edge      3f00b880.mailbox
 18:      27425          0          0          0  ARMCTRL-level   2 Edge      VCHIQ doorbell
 40:          0          0          0          0  ARMCTRL-level  48 Edge      bcm2708_fb DMA
 42:        341          0          0          0  ARMCTRL-level  50 Edge      DMA IRQ
 44:       4477          0          0          0  ARMCTRL-level  52 Edge      DMA IRQ
 45:          0          0          0          0  ARMCTRL-level  53 Edge      DMA IRQ
 48:          0          0          0          0  ARMCTRL-level  56 Edge      DMA IRQ
 53:          0          0          0          0  ARMCTRL-level  61 Edge      3f215080.spi
 56:     101756          0          0          0  ARMCTRL-level  64 Edge      dwc_otg, dwc_otg_pcd, dwc_otg_hcd:usb1
 77:         10          0          0          0  ARMCTRL-level  85 Edge      3f804000.i2c
 78:          0          0          0          0  ARMCTRL-level  86 Edge      3f204000.spi
 80:        414          0          0          0  ARMCTRL-level  88 Edge      mmc0
 81:       7238          0          0          0  ARMCTRL-level  89 Edge      uart-pl011
 86:       4008          0          0          0  ARMCTRL-level  94 Edge      mmc1
161:          0          0          0          0  bcm2836-timer   0 Edge      arch_timer
162:      17965      17255      17952      17233  bcm2836-timer   1 Edge      arch_timer
165:          0          0          0          0  bcm2836-pmu   9 Edge      arm-pmu
166:          0          0          0          0  pinctrl-bcm2835  23 Edge      enc28j60
167:          0          0          0          0  pinctrl-bcm2835  17 Edge      spi0.0
FIQ:              usb_fiq
IPI0:          0          0          0          0  CPU wakeup interrupts
IPI1:          0          0          0          0  Timer broadcast interrupts
IPI2:      24379      37656      39408      31926  Rescheduling interrupts
IPI3:        169       1163        749        663  Function call interrupts
IPI4:          0          0          0          0  CPU stop interrupts
IPI5:        437        720        497        405  IRQ work interrupts
IPI6:          0          0          0          0  completion interrupts
Err:          0

  • Why are you fiddling with kernel? What OS? I don't see any python so why rpi.gpio? - just for starters! – Milliways Mar 13 at 8:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.