| Moteur de recherche de fiches techniques de composants électroniques |
|
AN2367 Fiches technique(PDF) 3 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2367 Fiches technique(HTML) 3 Page - STMicroelectronics |
|
3 / 13 page ![]() 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) |
|
|
Lien URL |
| ALLDATASHEET vous a-t-il été utile ? [ DONATE ] |
À propos de Alldatasheet | Publicité | Contactez-nous | Politique de confidentialité | Lien vers la fiche technique | Echange de liens | Fabricants All Rights Reserved©Alldatasheet.com |
| 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 |