Hi everyone,
I'm trying to get ADCHS / HSADC up and running using an automated update of the descriptor tables. The user's manual section 48.7.3 states "when swapping tables a DMA request can be raised to enable the DMA to load a new table [..]". In fact, using the "SWAP tables" bits in the descriptor table, no DMA write request is fired. However, setting the DMA_REQ_WR bit fires a request and the descriptor table is updated.
How can an automatic DMA based reload of the descriptor tables be archieved?
Cheers!
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi TIC,
thanks for your reply! The question we asked can be reduced to "Is it possible to fire a DMA write request from within a descriptor?". The quoted text from user's manual section 48.7.3 suggests that it would be possible.
This information is essential for an aquisition sequence we want to use. Sorry, but we don't have any example code ready to post here, hence the basic question.
Cheers!
Hi Sabine Pfeifer,
Thanks for your reply.
1) Is it possible to fire a DMA write request from within a descriptor?
-- Yes, it's
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Sabine Pfeifer,
Thanks for your reply.
Please following the UM statement to set the BRANCH bit=0b10.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------