16 bit DMA transfer to Control Reg

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I have used successfully DMA transfer to write 8bit ADC output data to 8bit control register. It should also be possible to use DMA to write 16bit ADC output data to two consecutive control registers. 8bit transfer uses destination register address ControlReg_Control_PTR. What is the destination address for 16bit transfer?

0 Likes
2 Replies
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

I am curious, how do you know the two control registers are consecutive ?

   

 

   

You could always declare a public variable, fixed address in RAM, and declare a

   

16 bit pointer to that. defsysm is method. Take a look at this thread, towards end -

   

 

   

    

   

          http://www.cypress.com/?app=forum&id=2233&rID=71060

   

 

   

Regards, Dana.

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

I recently learned: for chained UDBs the registers ARE consecutive.

   

 

   

Bob

0 Likes