[日本語]
xinにてRXL2の実装するバッファ量(64byte)を超えて読み込んでいるが理由を教えてください。
[English]
Please tell me the reason why xin is reading more than the buffer capacity (64 bytes) implemented by RXL2.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
[日本語]
xinにてRXL2の実装するバッファ量(64byte)を超えて読み込んでいるが理由を教えてください。
[English]
Please tell me the reason why xin is reading more than the buffer capacity (64 bytes) implemented by RXL2.
Hi Shimizu-san,
RX L2 has information as following (please refer to the TRM for additional details)
- R2 to R9: 32 bytes of data
- R10 to R13: Status information for those 32 bytes
- R18.b0: Current write pointer of RX L2 ring buffer
With the single XIN, we get the above information into the PRU register with one cycle. So only 32 bytes Ethernet data + 16 Bytes status + 1 byte ring buffer pointer. The data from R14 to R17 is also fetched but shows up as 0.
Regards,
Thomas