← index #15169Issue #15127
Off-topic · high · value 5.112
QUERY · ISSUE

network: wiznet: send_ethernet

openby massimosalaopened 2024-05-30updated 2024-07-13

Checks

  • I agree to follow the MicroPython Code of Conduct to ensure a safe and respectful space for everyone.

  • I've searched for existing issues and didn't find any that matched.

Documentation URL

https://docs.micropython.org/en/latest/library/network.WIZNET5K.html

Description

The nic instance has also this method: send_ethernet

It is undocumented.

I tried and it works: it permits to send raw ethernet packets on the wire.

CANDIDATE · ISSUE

wiznet: spi baudrate declared as 2 and 20 MHz ?!

openby massimosalaopened 2024-05-26updated 2024-07-13
docs

Checks

  • I agree to follow the MicroPython Code of Conduct to ensure a safe and respectful space for everyone.

  • I've searched for existing issues matching this bug, and didn't find any.

Port, board and/or hardware

rp2

MicroPython version

Micropython 1.22.2

Reproduction

network_wiznet5k.c
#define MICROPY_HW_WIZNET_SPI_BAUDRATE (2000000)
mpconfigboard.h
#define MICROPY_HW_WIZNET_SPI_BAUDRATE (20 * 1000 * 1000)

Expected behaviour

Which is the right speed?
Should I try with 20 MHz ?

Observed behaviour

Initializing the SPI bus at 2 MHz works.

Additional Information

No, I've provided everything above.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied