When the component is configured in DMA mode then Send/Receive routines use a user buffer that is passed as a parameter to these methods. You should avoid changing a buffer content during receive/transmit process.