We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

Assignment [Total Marks 20]

Q No. 1

Write the C Program that can be used to program the master DMA controller, description of your program is as follows.

We have supposed that an I/O device have acquired the control of channel 1of the master DMA controller and want to write the data from I/O device to RAM using demand transfer mode of DMA. You are required to program therequired DMA internal registers such that I/O device can perform the demandtransfer mode with above specifications.
In your program suppose the following things.

  • Supposed you want to transfer the data from I\O device to Memory and have stored that data in a character array, i.e. global data in your program and name of that character array should be according to your VUID suppose mc060402111.
  • Size of the data that I/O device want to write in the memory using thedemand transfer mode of DMA should be calculated as follows. Take the last four digits of your VUID and represent them in a hexadecimal number. For example VUID mc060402111 have the value of last four digits ‘2111’ and these are represented in hexadecimal number as 0x2111 and load these values in the respected count register.

+ Click Here To Join also Our facebook study Group.

..How to Join Subject Study Groups & Get Helping Material?..

See Your Saved Posts Timeline

Views: 1007


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

Replies to This Discussion

plz koi .c file solution share kr do......


Latest Activity

© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service