michallenc opened a new pull request, #6614:
URL: https://github.com/apache/incubator-nuttx/pull/6614

   ## Summary
   
   These three commits add support for RX DMA and RS-485 mode to serial driver.
   
   The first commit b66dd73 introduces the support of RS-485. In this mode the 
hardware automatically sets RTS pin high when
   data are transfered and low then no transfer occurs.ยจ
   
   Commit 5444f06 adds functions sam_dmarxsetup_circular() and 
sam_dmarxstart_circular() that create API for operating with two or more 
circular buffers.
   
   These functions are used in commit 0f27516 that adds RX DMA support to 
serial driver. It uses two circular
   buffers which size can be setup by SAMV7_SERIAL_RXDMA_BUFFER option. The 
idle bus interrupt is enabled to ensures data are read even if the buffer is 
not yet full. The timeout can be setup by SAMV7_SERIAL_DMA_TIMEOUT option. Only 
RX DMA is supported so far.
   
   ## Impact
   
   SAMV7 only. Serial driver and DMA driver only.
   
   ## Testing
   Tested on SAME70-XPLAINED board and custom board with the SAME70 MCU..
   
   


-- 
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