PetteriAimonen commented on issue #10887:
URL: https://github.com/apache/nuttx/issues/10887#issuecomment-1786517982

   @xiaotailang  For STM32F4x7 it works this way (from reference manual section 
"Rx DMA configuration":
   
   > If IEEE 1588 time stamping is enabled, the DMA writes the time stamp (if 
available) to
   the current descriptor’s RDES2 and RDES3. It then takes the received frame’s 
status
   and writes the status word to the current descriptor’s RDES0, with the OWN 
bit cleared
   and the Last segment bit set.
   
   > If software has
   enabled time stamping through CSR, when a valid time stamp value is not 
available for the
   frame (for example, because the receive FIFO was full before the time stamp 
could be
   written to it), the DMA writes all ones to RDES2 and RDES3. Otherwise (that 
is, if time
   stamping is not enabled), RDES2 and RDES3 remain unchanged.
   
   The RX DMA descriptor is longer if timestamping is enabled and the code must 
be changed to account for that.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to