Moteur de recherche de fiches techniques de composants électroniques
  French  ▼
ALLDATASHEET.FR

X  

AN2618 Fiches technique(PDF) 5 Page - STMicroelectronics

No de pièce AN2618
Description  eTPU host interface
PDF  23 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricant  STMICROELECTRONICS [STMicroelectronics]
Site Internet  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2618 Fiches technique(HTML) 5 Page - STMicroelectronics

  AN2618 Datasheet HTML 1Page - STMicroelectronics AN2618 Datasheet HTML 2Page - STMicroelectronics AN2618 Datasheet HTML 3Page - STMicroelectronics AN2618 Datasheet HTML 4Page - STMicroelectronics AN2618 Datasheet HTML 5Page - STMicroelectronics AN2618 Datasheet HTML 6Page - STMicroelectronics AN2618 Datasheet HTML 7Page - STMicroelectronics AN2618 Datasheet HTML 8Page - STMicroelectronics AN2618 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 5 / 23 page
background image
AN2618
Host interface software
5/23
3
Host interface software
The function partition between the application software and low-level driver is defined during
the software architecture design. To make the software portable, the application software is
normally designed to interface with the low-level driver via abstracted interface APIs. The
host interface of the eTPU functions should be designed such that the implementation of the
low-level driver is hidden from the application software.
Once the application software interface to the low-level driver is defined, the functionality of
the low-level driver can be partitioned between host CPU and eTPU. The eTPU interface
software running on the host CPU is an integral part of the low-level driver. It handles the
details of the interaction between host and eTPU.
The eTPU code and host interface code are compiled by two different compilers. In order to
resolve the eTPU code symbol reference in the host code, it is necessary to export the
symbolic information from the eTPU compiler to the host compiler. Similarly, to build a single
executable image, it is necessary to export eTPU code image to the host compiler. Several
types of information are exported from eTPU_C through host interface files, generated from
#pragma write
statements during compilation. For detailed information on #pragma
write
, see the eTPU_C documentation.
An example of application software and low-level driver partition is shown in Appendix A on
page 11.
3.1
Initialization overview
The eTPU initialization is an important part of the host interface. At the power up, the host
has to configure the eTPU peripheral properly before the eTPU function can be executed.
The eTPU initialization process is accomplished by both host CPU and eTPU. During the
initialization, the functional partition between host CPU and eTPU is as follows:
Host responsibility:
eTPU module initialization
eTPU channel configuration
Providing initial eTPU function parameters
Initiating the eTPU function execution
eTPU responsibility:
Responding to the HSR
Transitioning into the initialization state
The eTPU initialization can be broken down into three steps: eTPU module initialization,
eTPU channel initialization and eTPU function initialization. The following sections discuss
the interface design and the data exchange between host CPU and eTPU for each step of
initialization.
3.2
eTPU module initialization
At the power up initialization, the eTPU peripheral hardware is configured by the host. The
eTPU module initialization includes the following steps:



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23


Fiches technique Télécharger

Go To PDF Page


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


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