![]() ![]() ![]() Each time we want to send data from one peripheral to the other, the CPU must read data from that peripheral’s data register (or memory) and send it to another peripheral (or memory). We have a number of peripherals controlled by the central processing unit (CPU). ![]() We might normally think about memory transfer in a microcontroller in this (overly simplified) fashion: If every byte has to pass through the CPU, you’ll quickly run out of cycles to do useful things! That’s where the separate direct memory access controller comes in-it can help transfer data without any code running. If you are working with large amounts of data, whether from the ADC or trying to pipe the contents of memory over the UART, you might find that your processor quickly gets bogged down.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |