Comment on UDP transmitter implemented with PIO and DMA on the RP2040Comments−bibaheu3yIt can probably be a bit simplified by using IPv6, as that avoids the IPv4 checksum.−matzf3yNo, the checksum just moves to UDP; in the current system, the UDP checksum is set to 0. This is not allowed in UDP/IPv6, where the checksum, calculated over both the IPv6 pseudo-header and the UDP payload, must usually be set.−crest3yThey still have to compute the Ethernet frame check sequence.
Comments
It can probably be a bit simplified by using IPv6, as that avoids the IPv4 checksum.
No, the checksum just moves to UDP; in the current system, the UDP checksum is set to 0. This is not allowed in UDP/IPv6, where the checksum, calculated over both the IPv6 pseudo-header and the UDP payload, must usually be set.
They still have to compute the Ethernet frame check sequence.