21.03.2014 Views

Intel PXA250 and PXA210 Applications Processors

Intel PXA250 and PXA210 Applications Processors

Intel PXA250 and PXA210 Applications Processors

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SA-1110/<strong>Applications</strong> Processor Migration<br />

You must choose memory clocks, LCD clock rates, audio clocks <strong>and</strong> interfaces, which GPIOs are<br />

actually connected to hardware, <strong>and</strong> many more. There are no easy solutions here, the device<br />

space of the <strong>PXA250</strong> applications processor is very diverse <strong>and</strong> a number of selections must be<br />

made in software to select your particular hardware functionality.<br />

All software that controls registers will need to be updated. If a switch is connected to a GPIO, then<br />

the software that reads the switch register will differ between the <strong>PXA250</strong> applications processor<br />

<strong>and</strong> SA-1110. This applies to software that controls Configuration registers in Coprocessor space<br />

<strong>and</strong> also to a number of the memory-mapped registers. Many functions such as memory timing<br />

configuration are done through these registers. For example the registers to access USB have a<br />

different name, address <strong>and</strong> function. Any code that directly accesses the USB hardware registers<br />

will need to be rewritten.<br />

A.2.5<br />

DMA<br />

The SA-1110 contains a 6-channel DMA controller that pipes data between the serial channels <strong>and</strong><br />

memory. The <strong>PXA250</strong> applications processor provides a far more substantial 16-channel chained<br />

DMA controller that can be configured to do much more than the SA-1110, including memory-tomemory<br />

block moves.<br />

Clearly there are changes in software required to take advantage of this new asset. However this<br />

also implies changes necessary to maintain similar functionality to the SA-1110. To configure a<br />

DMA channel you no longer set it to a specific serial port, instead you map it to the specific source<br />

or destination address of the serial port FIFO. You must configure other parameters for address<br />

incrementing <strong>and</strong> memory width that differ between the <strong>PXA250</strong> applications processor <strong>and</strong> SA-<br />

1110.<br />

Any device driver using the SA-1110 DMA controller, or application that takes direct advantage of<br />

DMA, will need to be modified. The impact of this varies as some Operating Systems <strong>and</strong> many<br />

device drivers have ignored the SA-1110 DMA in favor of programmed I/O.<br />

Some have argued to remove the required interrupt management code as they only move small<br />

blocks. Operating systems have excluded DMA to guarantee they can manage the real-time<br />

behavior of different threads. Other software providers saw the serial ports as so slow that DMA<br />

performance was unnecessarily complex.<br />

The performance benefit of the <strong>PXA250</strong> DMA controller is one of the most significant<br />

improvements over the SA-1110, particularly in the area of memory-to-memory moves. Changing<br />

code on the <strong>PXA250</strong> applications processor to utilize the new DMA functionality will significantly<br />

enhance applications.<br />

A.3 Using New <strong>PXA250</strong> Features<br />

This appendix doesn’t attempt to discuss all the differences between the <strong>PXA250</strong> applications<br />

processor <strong>and</strong> the SA-1110 or it would become quite substantial. There are numerous significant<br />

advantages that the <strong>PXA250</strong> applications processor has to offer, all of which potentially require<br />

changes in hardware, firmware or software development tools. This section lists just a few of the<br />

chief additional benefits of the <strong>PXA250</strong> applications processor. However, refer to the product<br />

specifications for further details. This list is not comprehensive.<br />

<strong>PXA250</strong> <strong>and</strong> <strong>PXA210</strong> <strong>Applications</strong> <strong>Processors</strong> Design Guide A-7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!