Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

AN2367 Datasheet(PDF) 3 Page - STMicroelectronics

Part # AN2367
Description  This application note describes an optimized memory copy
PDF  13 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2367 Datasheet(HTML) 3 Page - STMicroelectronics

  AN2367 Datasheet HTML 1Page - STMicroelectronics AN2367 Datasheet HTML 2Page - STMicroelectronics AN2367 Datasheet HTML 3Page - STMicroelectronics AN2367 Datasheet HTML 4Page - STMicroelectronics AN2367 Datasheet HTML 5Page - STMicroelectronics AN2367 Datasheet HTML 6Page - STMicroelectronics AN2367 Datasheet HTML 7Page - STMicroelectronics AN2367 Datasheet HTML 8Page - STMicroelectronics AN2367 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 3 / 13 page
background image
AN2367
Background
3/13
1
Background
1.1
The problem
In a TCP/IP application, the packets are transferred from the STR91x Ethernet MAC unit to
STR91x on-chip memory using one of the STR91x DMA channels.
Inside this packet will be a 14-byte header, which is the source of the misalignment. All
following data will be misaligned by 2 bytes, making the processing of the packet by the CPU
much slower.
Figure 1.
Data misalignment overview
1.2
The solution
The solution is to have an optimized routine which will read the source buffer and write in the
destination buffer with an offset of 2 bytes. Hence the data will now be fully aligned.
Table 1.
Memory copy example
Before
After
Data starts at address
0x040001A8E
(misaligned)
0x040001A8C (aligned)



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com