Freescale Medical Connectivity Library API Reference Manual

Size: px
Start display at page:

Download "Freescale Medical Connectivity Library API Reference Manual"

Transcription

1 Freescale Medical Connectivity Library API Reference Manual Document Number: MEDCONLIBAPIRM Rev. 4 05/2012

2 How to Reach Us: Home Page: USA/Europe or Locations Not Listed: Freescale Semiconductor Technical Information Center, CH N. Alma School Road Chandler, Arizona or Europe, Middle East, and Africa: Freescale Halbleiter Deutschland GmbH Technical Information Center Schatzbogen Muenchen, Germany (English) (English) (German) (French) support@freescale.com Japan: Freescale Semiconductor Japan Ltd. Headquarters ARCO Tower 15F 1-8-1, Shimo-Meguro, Meguro-ku, Tokyo , Japan or support.japan@freescale.com Asia/Pacific: Freescale Semiconductor China Ltd. Exchange Building 23F No. 118 Jianguo Road Chaoyang District Beijing China support.asia@freescale.com For Literature Requests Only: Freescale Semiconductor Literature Distribution Center or Fax: LDCForFreescaleSemiconductor@hibbertgroup.com Information in this document is provided solely to enable system and software implementers to use Freescale Semiconductor products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document. Freescale Semiconductor reserves the right to make changes without further notice to any products herein. Freescale Semiconductor makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale Semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. Typical parameters that may be provided in Freescale Semiconductor data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including Typicals, must be validated for each customer application by customer s technical experts. Freescale Semiconductor does not convey any license under its patent rights nor the rights of others. Freescale Semiconductor products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Freescale Semiconductor product could create a situation where personal injury or death may occur. Should Buyer purchase or use Freescale Semiconductor products for any such unintended or unauthorized application, Buyer shall indemnify and hold Freescale Semiconductor and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Freescale Semiconductor was negligent regarding the design Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners ARC International. All rights reserved. Freescale Semiconductor, Inc All rights reserved. Document Number: MEDCONLIBAPIRM Rev. 4 05/2012

3 Revision History To provide the most up-to-date information, the revision of our documents on the World Wide Web will be the most current. Your printed copy may be an earlier revision. To verify you have the latest information available, refer to: The following revision history table summarizes changes contained in this document. Revision Number Revision Date of Changes Rev. 1 10/2009 Initial release. Rev. 2 07/2010 Updated Reference Material section. Rev. 3 07/2011 Minor editorial changes Rev. 4 05/2012 Added new chapter IEEE Manager Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. Freescale Semiconductor, Inc., 2010, All rights reserved. Freescale Semiconductor iii

4 Chapter 1 Before Beginning 1.1 About This Book Reference Material Acronyms and Abbreviations Function Listing Format Chapter 2 Medical Connectivity Library API Overview 2.1 Introduction API Overview Using API Using the Medical Connectivity Library API Initialization Flow Chapter 3 Transport Layer API 3.1 Transport Layer API Function Listings TIL_Initialize() Chapter 4 Medical Connectivity Library API 4.1 Medical Connectivity Library API Function Listings Ieee11073Initialize() AgentSendAssociationReleaseRequest() Chapter 5 Data Structures 5.1 Data Structure Listings MED_APP_CALLBACK() PPMSEGDATAXFER PCLRPMSEGMINFO PTR_TIL_RX_BUFF PFN_SHIM_INITIALIZE() PFN_SHIM_DEINITIALIZE() PFN_SHIM_RECV_DATA() PSHIM PTIL Chapter 6 PHDC Host Class API 6.1 Introduction Features v Freescale Semiconductor

5 6.3 PHDC Host Constants PHDC specific status codes PHDC control request types PHDC data types PHDC function listing usb_class_phdc_init usb_class_phdc_set_callbacks usb_class_phdc_send_control_request usb_class_phdc_recv_data usb_class_phdc_send_data Freescale Semiconductor vi

6 Chapter 1 Before Beginning 1.1 About This Book This book describes the Freescale Medical Connectivity Library API functions. It describes in detail the API functions that can be used by application code to develop various Medical device specializations. Table 1-1 shows the summary of chapters included in this book. Table 1-1. MEDCONLIBAPIRM Summary Chapter Title Before Beginning Medical Connectivity Library API Overview Transport Layer API Medical Connectivity Library API Data Structures This chapter provides the prerequisites of reading this book. This chapter gives an overview of the API functions and how to use them for developing new medical device specialization applications. This chapter discusses Transport Layer API interfaces. This chapter discusses Medical Connectivity Library API interfaces. This chapter discusses the various data structures used in the USB device class layer API functions. 1.2 Reference Material Use this book in conjunction with: Freescale USB Stack with PHDC Device Users Guide (document USBUG) Freescale USB Stack with PHDC API Reference Manual (document USBAPIRM) Medical Connectivity Library Users Guide (document MEDCONLIBUG) IEEE Std TM-2008, Health informatics Personal health device communication-part 20601: Application profile Optimized Exchange Protocol. Freescale Semiconductor 1-1

7 Before Beginning 1.3 Acronyms and Abbreviations CFV1 CFV2 DIM IDE ISO IEEE JM60 PHD PHDC TIL USB ColdFire V1 (MCF51JM128 CFV1 device is used in this document) ColdFire V2 (MCF52221 and MCF52259 CFV2 devices are used in this document) Domain Information Model Integrated Development Environment International Organization for Standardization The Institute of Electrical and Electronics Engineers MC9S08JM60 Device Personal Healthcare Device Personal Healthcare Device Class Transport Independent Layer Universal Serial Bus 1-2 Freescale Semiconductor

8 Before Beginning 1.4 Function Listing Format This is the general format of an entry for a function, compiler intrinsic, or macro. function_name() A short description of what function function_name() does. Provides a prototype for function function_name(). <return_type> function_name( <type_1> parameter_1, <type_2> parameter_2,... <type_n> parameter_n) Parameters parameter_1 [in] Pointer to x parameter_2 [out] Handle for y parameter_n [in/out] Pointer to z Parameter passing is categorized as follows: In Means the function uses one or more values in the parameter you give it without storing any changes. Out Means the function saves one or more values in the parameter you give it. You can examine the saved values to find out useful information about your application. In/out Means the function changes one or more values in the parameter you give it and saves the result. You can examine the saved values to find out useful information about your application. Describes the function function_name(). This section also describes any special characteristics or restrictions that might apply: function blocks or might block under certain conditions function must be started as a task function creates a task function has pre-conditions that might not be obvious function has restrictions or special behavior Return Value Specifies any value or values returned by function function_name(). See Also Lists other functions or data types related to function function_name(). Freescale Semiconductor 1-3

9 Before Beginning Example Provides an example (or a reference to an example) that illustrates the use of function function_name(). 1-4 Freescale Semiconductor

10 Chapter 2 Medical Connectivity Library API Overview 2.1 Introduction The Freescale Medical Connectivity Library API consists of the functions that can be used at the application level. These enable you to implement different medical specializations. 2.2 API Overview This section describes the list of API functions and their use. Table 2-1 summarizes the Transport Layer API functions. Table 2-1. Summary of Transport Layer API Functions No. API Function 1 TIL_Initialize() Initializes Transport Independent Layer 2 TIL_DeInitialize() De-initializes Transport Independent Layer 3 TIL_StartTransport() Initializes Shim 4 TIL_StopTransport() De-Initializes Shim 5 TIL_SendAPDU() Sends data through Shim 6 TIL_RecvApdu() Receives data from Shim Table 2-2 summarizes the Medical Connectivity Library API functions. Table 2-2. Summary of Medical Connectivity Library API Functions No. API Function 1 Ieee11073Initialize() Initializes Medical Connectivity Library 2 AgentSendAssociationRequest() Sends Association request packet to the Manager 3 AgentSendAssociationReleaseRequest() Sends Association release request to the Manager 4 AgentSendMeasurements() Sends single person measurements 5 AgentSendPersonMeasurements() Sends multi person measurements 6 AddEntryToObsScanList() Adds an entry to the Observation Scan list 7 AddEntryToScanRptPerVarList() Adds an entry to the Scan report per var list 8 UpdatePmSegmentEntry() Updates PM Segment entry data 9 SendSegmentData() Sends PM Segment data event to the manager Freescale Semiconductor 2-1

11 Medical Connectivity Library API Overview 2.3 Using API This section describes the flow on how to use various Medical Connectivity Library API functions Using the Medical Connectivity Library API This section describes a sequence to use the Medical Connectivity Library API functions from the application Initialization Flow To initialize the driver layer, the class driver must: 1. Call 3.1.1"TIL_Initialize()" to initialize the Transport Independent Layer. 2. Call 3.1.2"Ieee11073Initialize()" to initialize the Medical Connectivity Library and to start transport. 2-2 Freescale Semiconductor

12 Chapter 3 Transport Layer API This section discusses the Transport Layer API functions in detail. 3.1 Transport Layer API Function Listings TIL_Initialize() Initializes the Transport Independent Layer (TIL). void TIL_Initialize(PTIL ptil)) Parameters ptil [in] Pointer to TIL This function initializes TIL with the input pointer. Return Value None Freescale Semiconductor 3-1

13 Transport Layer API TIL_DeInitialize() De-Initializes the Transport Independent Layer. void TIL_DeInitialize(void) Parameters None This function de-initializes TIL (that is, sets TIL pointer to NULL). Return Value None 3-2 Freescale Semiconductor

14 Transport Layer API TIL_StartTransport() Initializes the Shim Layer. PSHIM TIL_StartTransport( PTIL ptil, eshimid ShimID, APP_CALLBACK pappcallback) Parameters ptil [in] Pointer to TIL ShimID [in] Shim Id pappcallback [in] Application callback function This function initializes the Shim identified by the Shim Id and registers the application callback function. Return Value Shim pointer if success NULL if unsuccessful Note: This API is used within the library, so the application should avoid using this API. Freescale Semiconductor 3-3

15 Transport Layer API TIL_StopTransport() De-Initializes the Shim Layer. ERR_CODE TIL_StopTransport( PTIL ptil, eshimid ShimID) Parameters ptil [in] Pointer to TIL ShimID [in] Shim Id This function de-initializes the Shim identified by the Shim Id. Return Value ERROR_SUCCESS (success) ERR_UNINITIALIZED_SHIM (shim already uninitialized) Note: This API is used within the library, so the application should avoid using this API. 3-4 Freescale Semiconductor

16 Transport Layer API TIL_SendAPDU() Sends data through the Shim. ERR_CODE TIL_SendAPDU( PTIL ptil, eshimid ShimID, boolean metadata, uint_8 num_tfr, uint_8 current_qos, PTR_BUFFSTACK pbuffstack) Parameters ptil [in] Pointer to TIL ShimID [in] Shim Id metadata [in] Metadata flag num_tfr [in] Number of transfers current_qos [in] Data quality of service pbuffstack [in] Pointer to the send buffer This function identifies the Shim by the Shim id and sends data through Shim using the input parameters. Return Value ERROR_SUCCESS (success) ERR_UNINITIALIZED_SHIM (shim uninitialized) ERR_SEND_FAILED (failed to send data) Note: This API is used within the library, so the application should avoid using this API. Freescale Semiconductor 3-5

17 Transport Layer API TIL_RecvApdu() Receives data from the Shim. ERR_CODE TIL_RecvApdu( PTIL ptil, eshimid ShimID, uint_8 current_qos, PTR_BUFFSTACK pbuffstack) Parameters ptil [in] Pointer to TIL ShimID [in] Shim Id current_qos [in] Data quality of service pbuffstack [in] Pointer to the receive buffer This function identifies the Shim by the Shim Id and receives data from the Shim using the input parameters. Return Value ERROR_SUCCESS (success) ERR_UNINITIALIZED_SHIM (shim uninitialized) ERR_RECV_FAILED (failed to receive data) Note: This API is used within the library, so the application should avoid using this API. 3-6 Freescale Semiconductor

18 Chapter 4 Medical Connectivity Library API This section discusses the Medical Connectivity Library API functions in detail. 4.1 Medical Connectivity Library API Function Listings Ieee11073Initialize() Initializes the Medical Connectivity Library. ERR_CODE Ieee11073Initialize( PTIL ptil, eshimid ShimID, MED_APP_CALLBACK pfnappcallback) Parameters ptil [in] Pointer to TIL ShimID [in] Pointer to Shim pfnappcallback [in] Application callback pointer This function initializes the Medical Connectivity Library, starts the transport identified by the Shim pointer and registers a callback function to the application. Return Value ERROR_SUCCESS (success) ERR_GENERAL (start transport failed) Freescale Semiconductor 4-1

19 Medical Connectivity Library API AgentSendAssociationRequest() Sends association request packet to the Shim Layer. ERR_CODE AgentSendAssociationRequest(DataProtoList* pdataprotolist) Parameters pdataprotolist [in] Pointer to the data proto list This function adds the association request packet header to the data proto list and sends the association request packet to the Shim Layer to be transported to the manager. Return Value ERROR_SUCCESS (success) ERR_INVALID_REQUEST (device not in a state to send association request) ERR_INSUFFICIENT_MEMORY (if unable to add header) AgentSendAssociationReleaseRequest() Sends association release request packet to the Shim Layer. ERR_CODE AgentSendAssociationReleaseRequest(Release_request_reason RelReqRes) Parameters RelReqRes [in] Reason for releasing association This function adds the association release request packet header to the release request reason and sends the association release request packet to the Shim Layer to be transported to the manager. Return Value ERROR_SUCCESS (success) ERR_INVALID_REQUEST (device not in a state to send association release request) ERR_INSUFFICIENT_MEMORY (if unable to add header) 4-2 Freescale Semiconductor

20 Medical Connectivity Library API AgentSendMeasurements() Sends measurements taken by the application to the manager. ERR_CODE AgentSendMeasurements( ObservationScanList* (*pobsscanlist)[], HANDLE handle, intu8 ReportType, intu16 ScanCount, intu8 bconfirm) Parameters pobsscanlist [in] Pointer to an array of observation scan lists handle [in] Handle of the object which has to send measurements ReportType [in] Type of report ScanCount [in] Number of scans bconfirm [in] True for confirmed event report This function validates and sends the measurements given by the observation scan list array via the object specified by the handle in the format given by the report type. This API is used to send measurements when the device does not have support for multi persons. Return Value ERROR_SUCCESS (success) ERROR_INVALID_PARAM (input parameters incorrect) ERROR_INVALID_DATA (data in observation Scan list is incorrect) ERR_INSUFFICIENT_MEMORY (memory constraint) Freescale Semiconductor 4-3

21 Medical Connectivity Library API AgentSendPersonMeasurements() Sends multi person measurements taken by the application to the manager. Parameters ERR_CODE AgentSendPersonMeasurements( ScanReportPerVarList* (*pscanrptpervarlist)[], HANDLE handle, intu8 ReportType, intu16 ScanCount, intu8 bconfirm) pscanrptpervarlist [in] Pointer to an array of Scan report per var list handle [in] Handle of the object which has to send measurements ReportType [in] Type of report ScanCount [in] Number of scans bconfirm [in] True for confirmed event report This function validates and sends the measurements given by the scan report per var list array via the object specified by the handle in the format given by the report type. This API is used to send measurements when the device has multi person support. Return Value ERROR_SUCCESS (success) ERROR_INVALID_PARAM (input parameters incorrect) ERROR_INVALID_DATA (data in Scan report per var list is incorrect) ERR_INSUFFICIENT_MEMORY (memory constraint) 4-4 Freescale Semiconductor

22 Medical Connectivity Library API AddEntryToObsScanList() Adds an entry to the observation scan list. ERR_CODE AddEntryToObsScanList( HANDLE handle, OID_Type AttrId, intu16 AttrLen, void* pattrval, ObservationScanList* pobsscanlist) Parameters handle [in] Handle of the object whose measurement is taken AttrId [in] Attribute ID AttrLen [in] Attribute Length pattrval [in] Pointer to the attribute value pobsscanlist [out] Pointer to the buffer where entry should be added This function creates or adds entry to the observation scan list based on the input parameters. This API is used to create observation scan list when the device sends data using the AgentSendMeasurements()." Return Value ERROR_SUCCESS (success) ERROR_INVALID_PARAM (input parameters incorrect) Freescale Semiconductor 4-5

23 Medical Connectivity Library API AddEntryToScanRptPerVarList() Adds an entry to the Scan report per var list. ERR_CODE AddEntryToScanRptPerVarList ( HANDLE handle, PersonId PersonID, OID_Type AttrId, intu16 AttrLen, void* pattrval, ScanReportPerVarList* pscanrptpervarlist) Parameters handle [in] Handle of the object whose measurement is taken PersonID [in] ID of the person whose measurements is taken AttrId [in] Attribute ID AttrLen [in] Attribute Length pattrval [in] Pointer to the attribute value pscanrptpervarlist [out] Pointer to the buffer where entry should be added This function creates or adds entry to the Scan report per var list based on the input parameters. This API is used to create scan report per var list when the device sends data using the AgentSendPersonMeasurements()." Return Value ERROR_SUCCESS (success) ERROR_INVALID_PARAM (input parameters incorrect) 4-6 Freescale Semiconductor

24 Medical Connectivity Library API UpdatePmSegmentEntry() Updates Pm Segment by adding an entry to the Pm Segment. ERR_CODE UpdatePmSegmentEntry( HANDLE Handle, InstNumber InstNum, ObservationScanList* pobsscanlist) Parameters handle [in] Handle to the PM Store InstNum [in] PM Segment Instance Number pobsscanlist [in] Pointer to the Observation Scan List This function adds entry to the PM Segment identified by the PM store handle and PM Segment instance number. Return Value ERROR_SUCCESS (success) ERR_INSUFFICIENT_MEMORY (memory constraint) ERR_INVALID_REQUEST (operational state of pm segment is disabled) ERROR_INVALID_DATA (data in observation scan list is incorrect) ERROR_INVALID_PARAM (input parameters incorrect) Freescale Semiconductor 4-7

25 Medical Connectivity Library API UpdatePmSegmentEntry() Sends Pm Segment data to the manager. ERR_CODE SendSegmentData( SegmentDataEvent* psegmdataevent, HANDLE PmStoreHandle) Parameters psegmdataevent [in] Pointer to the PM Segment data PmStoreHandle [in] Handle to the PM Store This function sends segment data to the Shim Layer to be transported to the manager. Return Value ERROR_SUCCESS (success) ERR_INSUFFICIENT_MEMORY (memory constraint) 4-8 Freescale Semiconductor

26 Chapter 5 Data Structures This section discusses the data structures that are passed as parameters in the various API functions. 5.1 Data Structure Listings MED_APP_CALLBACK() This callback function is called for generic events and is passed as an input parameter to Ieee11073Initialize() from the application to the Medical Connectivity Library. The event_id input parameter states the type of event. The pvoid parameter passed to the function contains information about the event. The information passed through the pvoid parameter is based on the type of the event. The application implementing this callback typecasts the data parameter to the data type or structure based on the type of the event before reading it. typedef void(_code_ptr_ MED_APP_CALLBACK)( IEEE11073_EVENT event_id, void* pvoid); Callback Parameters event_id Type of event pvoid Event data based on the event_id value PPMSEGDATAXFER This structure defines information about the PM Segment instance number and information about the PM Store to which it belongs. typedef struct _PMSEGDATAXFER ( HANDLE Handle; InstNumber SegInstNum; ) PMSEGDATAXFER, *PPMSEGDATAXFER; Fields Handle Handle of the PM Store Object SegInstNum Instance number of the PM Segment Freescale Semiconductor 5-1

27 Data Structures PTRIGSEGMDATAXFRRSP This structure defines information about PM Segment identification and is passed by the Medical Connectivity Library to the application as a parameter of the application callback when PM Segment data transfer is triggered by the manager. The application should set the trigger response depending on whether segment has data or is empty. typedef struct _TRIGSEGMDATAXFRRSP ( HANDLE Handle; TrigSegmDataXferRsp TrigSegmDataRsp; ) TRIGSEGMDATAXFRRSP, *PTRIGSEGMDATAXFRRSP; Fields Handle Handle of the PM Store object TrigSegmDataRsp Triggered segment data response PCLRPMSEGMINFO This structure defines information about the PM Segment instance number and information about the PM Store to which it belongs. typedef struct _CLRPMSEGMINFO ( HANDLE Handle; InstNumber SegInstNum; ) CLRPMSEGMINFO, *PCLRPMSEGMINFO; Fields Handle Handle of the PM Store object SegInstNum Instance number of the PM Segment 5-2 Freescale Semiconductor

28 Data Structures IEEE11073_EVENT This event is passed as an input parameter to the application callback. typedef enum _IEEE11073_EVENT { IEEE11073_TRANSPORT_CONNECT, IEEE11073_TRANSPORT_DISCONNECT, IEEE11073_ASSOCIATION_RELEASING, IEEE11073_ASSOCIATION_RELEASED, IEEE11073_CONFIGURATION_TIMEDOUT, IEEE11073_CONFIG_REJECTED, IEEE11073_ERROR, IEEE11073_REJECT, IEEE11073_ABORT, IEEE11073_OPERATING, IEEE11073_EVNTRPT_SENT, IEEE11073_PERIODIC_SCANNER_EVENT, IEEE11073_CLEAR_PMSEGMENT, IEEE11073_TRIG_PMSEGMENT, IEEE11073_INTIALIZE_DIM, IEEE11073_GET_DATAPROTO, IEEE11073_INITIALIZE_DIM_FAILED, IEEE11073_EVENTRPT_TIMEDOUT } IEEE11073_EVENT; Enum Values Enum Value IEEE11073_TRANSPORT_CONNECT IEEE11073_TRANSPORT_DISCONNECT IEEE11073_ASSOCIATION_RELEASING IEEE11073_ASSOCIATION_RELEASED IEEE11073_CONFIGURATION_TIMEDOUT IEEE11073_CONFIG_REJECTED IEEE11073_ERROR When the device is successfully connected to any transport, there is an application callback with event id as IEEE11073_TRANSPORT_CONNECT. When the device is disconnected from the transport, the application gets a callback with event id as IEEE11073_TRANSPORT_DISCONNECT. This event is received by the application when the device has sent or received an association release request. This event is received by the application when the association between the device and the manager is released. On receiving this event, the application can establish the association again by sending an association request to the manager. This event is received by the application when the device did not receive the response to the configuration event report within the timeout specified by the IEEE specifications. The device is no longer associated with the manager and the application can establish the association again by sending an association request to the manager. This event is received by the application when a device configuration is rejected by the manager. This event is received by the application whenever an error result packet is received by the device. Freescale Semiconductor 5-3

29 Data Structures Enum Value IEEE11073_REJECT IEEE11073_ABORT IEEE11073_OPERATING IEEE11073_EVNTRPT_SENT IEEE11073_PERIODIC_SCANNER_EVENT IEEE11073_CLEAR_PMSEGMENT IEEE11073_TRIG_PMSEGMENT IEEE11073_INTIALIZE_DIM IEEE11073_GET_DATAPROTO IEEE11073_INTIALIZE_DIM_FAILED IEEE11073_EVENTRPT_TIMEDOUT This event is received by the application whenever a reject result packet is received by the device. This event is received by the application whenever an abort packet is sent or received by the device. The device is no longer associated with the manager and the application can establish the association again by sending an association request to the manager. This event is received by the application when the device has successfully established an association with the manager and a device configuration is accepted by the manager. The application can start sending measurements after the device has reached operating state. This event is received by the application whenever any event report is sent over the transport. This event is received by the application periodically with the period equal to the reporting interval of the periodic scanner, if any. This event is received by the application whenever any request to clear a PM Segment is received by the device. The application should clear the contents of the required PM Segment. This event is received by the application whenever any request to send any PM Segment data is received by the device. The application should return whether the PM segment has data or is empty. If it has data, the application should send the segment data. The application should return pointer to the DIM upon receiving this event. This event is received by the application when the Medical Connectivity Library needs a pointer to the data proto list. The application should return the required pointer. This event is received by the application whenever DIM initialization fails. This event is received by the application when device does not receive EVENT Report Response within the timeout specified by the IEEE specifications. The device is no longer associated with the manager and the application can establish the association again by sending an association request to the manager. 5-4 Freescale Semiconductor

30 5.1.6 TRANSPORTEVENTID This enumerated data type specifies different events that are listened to by the Transport Layer. typedef enum _TRANSPORTEVENTID { TRANSPORT_CONNECT = 0, TRANSPORT_DISCONNECT, TRANSPORT_DATARECIEVED, TRANSPORT_DATASENDCOMPLETE, TRANSPORT_GETDATABUFFER, TRANSPORT_GET_XFER_SIZE }TRANSPORTEVENTID; Enum Values Data Structures Enum Value TRANSPORT_CONNECT TRANSPORT_DISCONNECT TRANSPORT_DATARECIEVED TRANSPORT_DATASENDCOMPLETE TRANSPORT_GETDATABUFFER TRANSPORT_GET_XFER_SIZE This event is received by the Transport Layer whenever a connection is established with any transport. This event is received by the Transport Layer whenever a connection with any transport is disconnected. This event is received by the Transport Layer whenever a complete APDU is received by the Shim. This event is received by the Transport Layer whenever a packet send is completed over a transport. This event is received by the Transport Layerr to assign and pass a buffer for a given size of data. This event is received by the Transport Layer to calculate the total size of the APDU. Freescale Semiconductor 5-5

31 Data Structures PTR_TIL_XFER_SIZE This structure is passed by Shim Agent to TIL to request for Transfer Size. typedef struct _TIL_XFER_SIZE { uint_8_ptr in_buff; uint_16 in_size; uint_16 transfer_size; }TIL_XFER_SIZE, *PTR_TIL_XFER_SIZE; Fields in_buff Pointer to buffer in_size Length of the buffer transfer_size Transfer size PTR_TIL_RX_BUFF Transport Independent Layer receive buffer structure. typedef struct _TIL_RX_BUFF { uint_16 in_size; uint_8_ptr in_buff; uint_16 out_size; uint_8_ptr out_buff; boolean meta_data_packet; }TIL_RX_BUFF, *PTR_TIL_RX_BUFF; Fields in_size Size of input buffer in_buff Pointer to input buffer out_size Size of output buffer out_buff Pointer to output buffer meta_data_packet Meta data packet flag 5-6 Freescale Semiconductor

32 Data Structures APP_CALLBACK() Application callback function type typedef void*(_code_ptr_ APP_CALLBACK)( TRANSPORTEVENTID event_id, void* parg); Fields event_id Events that are listened to by the transport layer parg Event data based on the Event Id value PFN_SHIM_INITIALIZE() Shim initialize function type Fields typedef ERR_CODE (_CODE_PTR_ PFN_SHIM_INITIALIZE)( APP_CALLBACK pappcallback); pappcallback Pointer to the application callback function PFN_SHIM_DEINITIALIZE() Shim de-initialize function type Fields None typedef ERR_CODE (_CODE_PTR_ PFN_SHIM_DEINITIALIZE)(void); Freescale Semiconductor 5-7

33 Data Structures PFN_SHIM_SEND_DATA() Shim send data function type typedef ERR_CODE (_CODE_PTR_ PFN_SHIM_SEND_DATA)( boolean meta_data, uint_8 num_tfr, uint_8 current_qos, PTR_BUFFSTACK pbuffstack); Fields meta_data Meta data packet flag num_tfr Number of transfers current_qos Data QoS pbuffstack Pointer to the send buffer stack PFN_SHIM_RECV_DATA() Shim receive function type typedef ERR_CODE (_CODE_PTR_ PFN_SHIM_RECV_DATA)( uint_8 current_qos, PTR_BUFFSTACK pbuffstack); Fields current_qos Data QoS pbuffstack Pointer to the receive buffer stack 5-8 Freescale Semiconductor

34 Data Structures eshimid This enumerated data type specifies Shim Ids. typedef enum { SHIM_USB, SHIM_SERIAL, SHIM_TCP_ID, /* Currently Not Supported */ SHIM_BLUETOOTH /* Currently Not Supported */ }eshimid; Enum Values Enum Value SHIM_USB SHIM_SERIAL SHIM_TCP_ID SHIM_BLUETOOTH USB Shim Serial Shim TCP Shim (currently not supported) Shim bluetooth (currently not supported) PSHIM Shim interface structure typedef struct _SHIM { /* SHIM ID*/ eshimid ShimId; /* Initialize Shim */ PFN_SHIM_INITIALIZE pfnshiminitialize; /* Deinitialize Shim */ PFN_SHIM_DEINITIALIZE pfnshimdeinitialize; /* Send Data */ PFN_SHIM_SEND_DATA pfnshimsenddata; /* Receive Data */ PFN_SHIM_RECV_DATA pfnshimrecvdata; }SHIM, *PSHIM; Fields ShimId Shim Id pfnshiminitialize Initialize Shim pfnshimdeinitialize De-initialize Shim pfnshimsenddata Send data pfnshimrecvdata Receive data Freescale Semiconductor 5-9

35 Data Structures PTIL Transport independent layer structure typedef struct _TIL { uint_8 ShimCount; PSHIM (*ashim)[]; }TIL, *PTIL; Fields ShimCount Shim count ashim Array of Shim pointers 5-10 Freescale Semiconductor

36 Chapter 6 PHDC Host Class API This section describes the PHDC Host class interface functions. 6.1 Introduction The PHDC purpose is to enable seamless interpretability between personal health care devices (such as glucose meters, pulse oximeters, thermometers, etc.) and USB hosts. The USB Class definition for personal health care devices provides a generic mechanism by which standardized messages can be sent over USB. 6.2 Features The PHDC Host class driver provides an interface to the USB Host controller, allowing the application layer to handle the data exchange with the IEE Agent using standard PHDC commands in the scope of gathering the personal health care data. The PHDC Host class provides the following functionalities: Manages a class interface with the connected device consisting in 3 communication pipes corresponding to the attached device endpoints (1 Bulk IN, 1 Bulk OUT endpoint and 1 Interrupt IN Endpoint) PHDC data sending with Metadata support PHDC data receiving with Metadata support PHDC Send Class Request function with SET_FEATURE, CLEAR_FEATURE, GET_STATUS requests support Send Complete Event indication to the application layer Receive Complete Event indication to the application layer Send Control Requests Complete Event indication to the application layer 6.3 PHDC Host Constants PHDC specific status codes The following PHDC specific status codes are passed to the application through the event complete indication callbacks: #define USB_PHDC_RX_OK #define USB_PHDC_TX_OK 0x00 0x00 PHDC HOST API Reference Manual, Rev. 4 Freescale Semiconductor 6-1

37 PHDC Host Class API #define USB_PHDC_CTRL_OK #define USB_PHDC_RX_ERR_METADATA_EXPECTED #define USB_PHDC_RX_ERR_DATA_EXPECTED #define USB_PHDC_ERR 0x00 0x01 0x02 0x7F #define USB_PHDC_ERR_ENDP_CLEAR_STALL 0xFF In case of a successful PHDC transfer, the event indication will be called with 0x00 (RX_OK/TX_OK/CTRL_OK) as the PHDC specific status. The USB_PHDC_RX_ERR_METADATA_EXPECTED and USB_PHDC_RX_ERR_DATA_EXPECTED indicates that the initiated Rx operation has finished with error. The host received plain data while it was expecting for metadata or the host received plain data while expecting metadata. However, the received data is fully available for the application to process if this chooses to ignore this error. The USB_PHDC_ERR indicates that the USB host stack encountered an error while processing the initiated transfer. This error is also transmitted to the event complete indication using the USB standard status codes. The USB_PHDC_ERR_ENDP_CLEAR_STALL indicates that the PHDC host attempted to clear the device Endpoint STALL status and failed PHDC control request types The following definitions are used by the usb_class_phdc_send_control_request function to identify the PHDC control request: #define PHDC_GET_STATUS_BREQ #define PHDC_CLEAR_FEATURE_BREQ #define PHDC_SET_FEATURE_BREQ 0x00 0x01 0x PHDC data types This section describes the main C-structures and data types used by the PHDC host class. Definition USB_PHDC_PARAM typedef struct usb_phdc_param_type { CLASS_CALL_STRUCT_PTR ccs_ptr; uint_8 classrequesttype; boolean metadata; uint_8 qos; uint_8* buff_ptr; uint_32 buff_size; uint_32 tr_index; _usb_pipe_handle tr_pipe_handle; uint_8 usb_status; PHDC HOST API Reference Manual, Rev Freescale Semiconductor

38 uint_8 } USB_PHDC_PARAM; usb_phdc_status; PHDC Host Class API PHDC required type for the parameter passing to the PHDC transfer functions (Send / Receive/ Ctrl). A pointer to this type is required when those functions are called, pointer which will be also transmitted back to the application when the corresponding callback function is called by the PHDC through the callback_param_ptr. The application can maintain a linked list of transfer requests pointers, knowing at any moment what the pending transactions with the PHDC are. Structure elements ccs_ptr: pointer to CLASS_CALL_STRUCT which identifies the interface. class_request_type: The type of the PHDC request (SET_FEATURE / CLEAR_FEATURE / GET_STATUS). This parameter is used only by the usb_class_phdc_send_control_request function. metadata: Boolean indicating a metadata send transfer. Used only by the usb_class_phdc_send_data function. QoS: The qos for receive transfers. Used only by the usb_class_phdc_recv_data function. buffer_ptr: Pointer to the buffer used in the transfer. Used only by the send and receive functions (usb_class_phdc_send_data / usb_class_phdc_recv_data) buff_size: The size of the buffer used for transfer. Used only by the send and receive functions (usb_class_phdc_send_data / usb_class_phdc_recv_data). tr_index: Unique index which identifies the transfer after is queued in the USB Host API lower layers. This parameter is written by PHDC in case of a Send / Receive transfer (only if USB_STATUS is USB_OK). tr_pipe_handle: The handle on which the transfer was queued. This parameter is written by PHDC in case of a Send / Receive transfer (only if USB_STATUS is USB_OK). usb_status: standard USB_STATUS when the transfer is finished (the application callback is called). This parameter is written by the PHDC when a Send / Recv / Ctrl transfer is finished. Not valid until the corresponding callback is called. usb_phdc_status: the PHDC specific status code for the current transaction. Can take the following values: PHDC specific status codes. This parameter is written by the PHDC when a Send / Recv / Ctrl transfer is finished. Not valid until the corresponding callback is called. typedef void (* phdc_callback)(usb_phdc_param *call_param); PHDC HOST API Reference Manual, Rev. 4 Freescale Semiconductor 6-3

39 PHDC Host Class API Function pointer keeping the current transaction parameters. It contains a pointer to a USB_PHDC_PARAM struct. 6.5 PHDC function listing usb_class_phdc_init void usb_class_phdc_init ( /* [IN] structure with USB pipe information on the interface */ PIPE_BUNDLE_STRUCT_PTR pbs_ptr, ) /* [IN] phdc call struct pointer */ CLASS_CALL_STRUCT_PTR ccs_ptr Parameters pbs_ptr [IN] Pointer to the pipe bundle structure containing USB pipe information for the attached device. ccs_ptr [IN] phdc call structure pointer. This structure contains a class validity-check code and a pointer to the current interface handle. This function serves the main purpose of initializing the PHDC interface structure with the attached device specific information containing descriptors and communication pipes handles. The usb_class_phdc_init function is usually called by the common-class layer services as the result of an interface select function call from the Application / IEEE Manager. The application will select the interface after the USB_ATTACH indication event from the USB host API. Return Value None usb_class_phdc_set_callbacks USB_STATUS usb_class_phdc_set_callbacks ( CLASS_CALL_STRUCT_PTR ccs_ptr, phdc_callback sendcallback, phdc_callback recvcallback, phdc_callback ctrlcallback ) Parameters ccs_ptr [IN] pointer to the current phdc interface instance for which the callbacks are set. PHDC HOST API Reference Manual, Rev Freescale Semiconductor

40 PHDC Host Class API sendcallback [IN] function pointer for the send Callback function. recvcallback [IN] function pointer for the receive Callback function. ctrlcallback [IN] function pointer for the send Control Callback function. The usb_class_phdc_set_callbacks function is used to register the application defined callback functions for the PHDC send, receive and control request actions. Providing a non-null pointer to a callback function (phdc_callback type) will register the provided function to be called when the corresponding action is complete, while providing a NULL pointer will invalidate the callback for the corresponding action. The applications registered callbacks are unique for each selected PHDC interface. Only one Send callback and one Receive callback can be registered for each PHDC interface. Because the PHDC class supports multiple send / receive actions to be queued in the lower layers at the same time, the application can identify the action for which the callback function was called by using the call_param pointer which can point to a different location for each Send/Receive/Ctrl function call. The call_param pointer is transmitted as parameter to the PHDC Send/Receive/Ctrl functions and given back to the application when the Send/Receive/Ctrl callback function is called. Before saving the callback pointers in the PHDC interface structure, the usb_class_phdc_set_callbacks function verifies all the transfer pipes for pending transactions. The callbacks for send / receive actions cannot be changed while there are pending transactions on the pipes. In this case, the function will deny the set callbacks request and will return USBERR_TRANSFER_IN_PROGRESS. If the pipes have no pending transactions, the usb_class_phdc_set_callbacks function will save the callbacks pointers in the current interface structure and will return USB_OK. At USB transfer completion, the user registered callbacks (sendcallback, recvcallback or controlcallback) will be called from the PHDC class after the internal processing of the transfer status and using the provided callback_param at the action start. Return Value USB_OK (success) USBERR_NO_INTERFACE (the provided interface is not valid) USBERR_TRANSFER_IN_PROGRESS (as there are still pending transfers on the data pipes, the request to register the callbacks was denied. No previously registered callback was affected) usb_class_phdc_send_control_request Parameters USB_STATUS usb_class_phdc_send_control_request ( USB_PHDC_PARAM *call_param ) PHDC HOST API Reference Manual, Rev. 4 Freescale Semiconductor 6-5

41 PHDC Host Class API call_param [IN]: pointer to a USB_PHDC_PARAM structure. The usb_class_phdc_send_control_request function is used to send PHDC class specific request to the attached device. As defined by the PHDC class specification, the request must be one of the following types: SET_FEATURE, CLEAR_FEATURE, GET_STATUS (on page 6-1). SET_FEATURE, CLEAR_FEATURE requests: In order not to stall the device endpoint, the usb_class_phdc_send_control_request function will first verify if the attached device supports Meta Data preamble transfer feature for the SET_FEATURE and CLEAR_FEATURE request. If the preamble capability is not supported, this function will return USBERR_INVALID_REQ_TYPE and exit. Only one SET_FEATURE/CLEAR_FEATURE control requests to the device can be queued on the control pipe at the time. In case there is another request pending, this function will deny the request by returning USBERR_TRANSFER_IN_PROGRESS. Also for the SET_FEATURE and CLEAR_FEATURE requests, this function will verify the pending transfers on the data pipes. To avoid synchronization issues with preamble, the phdc will not transmit the control request if the data pipes have transfers queued for the device. In this case, the function will return USBERR_TRANSFER_IN_PROGRESS and exit. The application is also responsible for checking the device endpoint (by issuing a GET_STATUS request) before sending a SET_FEATURE or CLEAR_FEATURE to the device. GET_STATUS requests: For this request, there are no restrictions in terms of pending requests on the control pipe as the GET_STATUS request will not interfere with the other PHDC send/receive function nor will cause sync issues on the device. PHDC Send Control Callback: The completion of the PHDC control request is managed internally by the PHDC class for handling also the device endpoint stall situation. If the PHDC is informed by the USB Host API that the device control endpoint is stalled, then the PHDC will attempt to clear the endpoint STALL by issuing a standard CLEAR_FEATURE command request to the device. In the end, the PHDC calls the application registered callback for the control request function, using the USB provided status code, and the PHDC class status code (through the call_param->usb_status pointer). If the PHDC fails to clear the endpoint stall it will call the application send control callback with the PHDC status of USB_PHDC_ERR_ENDP_CLEAR_STALL. Return Value USB_OK / USB_STATUS_TRANSFER_QUEUED (success) PHDC HOST API Reference Manual, Rev Freescale Semiconductor

42 PHDC Host Class API USBERR_NO_INTERFACE (the provided interface is not valid) USBERR_ERROR (parameter error) USBERR_INVALID_REQ_TYPE (invalid type for the request) USBERR_TRANSFER_IN_PROGRESS (a control request SET / CLEAR_FEATURE is already in progress) usb_class_phdc_recv_data USB_STATUS usb_class_phdc_recv_data ( USB_PHDC_PARAM *call_param ) Parameters call_param [IN]: pointer to a USB_PHDC_PARAM structure. The usb_class_phdc_recv_data function is used for receiving PHDC class specific data or metadata packets. It schedules an USB receive on the QoS selected pipe for the lower Host API. The receive transfer will end when the host has received the specified amount of bytes or if the last packet received is less than pipe maximum packet size (MAX_PACKET_SIZE) indicating that the device doesn t have more data to send. Before scheduling the receive action, this function will first validate the provided call_param pointer and Rx relevant fields, by checking the call_param->ccs_ptr (class interface), call_param->qos (QoS bitmap used to identify the pipe for receive), the call_param->buff_ptr (buffer for storing the data received cannot be NULL) and call_param->buff_size (number of bytes to receive cannot be 0). If all the parameters are valid, the function checks if a SET_FEATURE or CLEAR_FEATURE control request is pending. If it is, the function returns USBERR_TRANSFER_IN_PROGRESS and the transaction is refused (the PHDC does not know if the device has metadata feature enabled or not in order to decode the received packet). NOTE: In order to prevent memory alignment issues on certain platforms, it is recommended that the provided receive size (call_param->buff_size) to be always multiple of 4 bytes. If all the checks are passing, this function initiates an USB Host receive action on the designated pipe and registers a PHDC internal callback to handle the finishing of the Tx action. PHDC Receive Callback: The PHDC internal Receive Callback will be called when the USB Host API reception completes. The callback will parse the received data, populate the PHDC status codes in the USB_PHDC_PARAM PHDC HOST API Reference Manual, Rev. 4 Freescale Semiconductor 6-7

43 PHDC Host Class API structure and call the user defined receive callback (the function registered by the user using the usb_class_phdc_set_callbacks). The parameters passed to the user registered callback are: USB_PHDC_PARAM structure. Through the usb_phdc_status, this structure will inform the user if data received are metadata preamble or regular data and if metadata preamble or regular data were expected. Through the usb_status, this informs the user callback about the status of the USB transfer. The PHDC receive callback also checks the type of data received (Plain Data or Metadata) and compares it with the type of data that was expected. In case if the Host was expecting for a metadata but only plain data was received, then, according to the health care standard, the Host will issue a SET_FEATURE (ENDPOINT_HALT) followed by a CLEAR_FEATURE (ENDPOINT_HALT) on the receiving pipe. Return Value USB_OK / USB_STATUS_TRANSFER_QUEUED (success) USBERR_NO_INTERFACE (the provided interface is not valid) USBERR_ERROR (parameter error) USBERR_TRANSFER_IN_PROGRESS (a control request SET / CLEAR_FEATURE is in progress) usb_class_phdc_send_data USB_STATUS usb_class_phdc_send_data ( USB_PHDC_PARAM *call_param ) Parameters call_param [IN]: pointer to a USB_PHDC_PARAM structure. The usb_class_phdc_send_data function is used for sending PHDC class specific data or metadata packets. It schedules an USB send transfer on the Bulk-Out pipe for the lower Host API. Before scheduling the send action, this function will first validate the provided call_param pointer and Tx relevant fields, by checking the call_param->ccs_ptr (class interface), the call_param->buff_ptr (buffer for taking the data to be sent cannot be NULL) and call_param->buff_size (number of bytes to send cannot be 0). If the parameters are valid, this function validates the data buffer provided by the application for transmission. The usb_class_phdc_send function expects that application provides the data buffer constructed accordingly with the metadata preamble feature. The application is responsible of forming the data packet to be sent including the metadata preamble (USB_PHDC_METADATA_PREAMBLE), if this is used. PHDC HOST API Reference Manual, Rev Freescale Semiconductor

Freescale USB Stack Device API Reference Manual

Freescale USB Stack Device API Reference Manual Freescale USB Stack Device API Reference Manual Document Number: USBAPIRM Rev. 10 05/2012 How to Reach Us: Home Page: www.freescale.com E-mail: support@freescale.com USA/Europe or Locations Not Listed:

More information

Upgrade the Solution With No Changes 2 Upgrade the Solution With No Changes If a Codebase does not contain updates to its properties, it is possible t

Upgrade the Solution With No Changes 2 Upgrade the Solution With No Changes If a Codebase does not contain updates to its properties, it is possible t Freescale Semiconductor Application Note Document Number: AN3819 Rev. 0.0, 02/2009 Methods for Upgrading Freescale BeeStack Codebases 1 Introduction This note describes how to upgrade an existing Freescale

More information

MTIM Driver for the MC9S08GW64

MTIM Driver for the MC9S08GW64 Freescale Semiconductor Application Note Document Number: AN4160 Rev. 0, 8/2010 MTIM Driver for the MC9S08GW64 by: Tanya Malik Reference Design and Applications Group India IDC MSG NOIDA 1 Introduction

More information

MPC5200(b) ATA MDMA, UDMA Functionality BestComm Setup Recommendations

MPC5200(b) ATA MDMA, UDMA Functionality BestComm Setup Recommendations Freescale Semiconductor Engineering Bulletin Document Number: EB711 Rev. 0, 05/2009 MPC5200(b) ATA MDMA, UDMA Functionality BestComm Setup Recommendations by: Peter Kardos Application Engineer, Roznov

More information

PCB Layout Guidelines for the MC1321x

PCB Layout Guidelines for the MC1321x Freescale Semiconductor Application Note Document Number: AN3149 Rev. 0.0, 03/2006 PCB Layout Guidelines for the MC1321x 1 Introduction This application note describes Printed Circuit Board (PCB) footprint

More information

Updating the Firmware on USB SPI Boards (KITUSBSPIEVME, KITUSBSPIDGLEVME)

Updating the Firmware on USB SPI Boards (KITUSBSPIEVME, KITUSBSPIDGLEVME) Freescale Semiconductor User s Guide Document Number: KTUSBSPIPRGUG Rev. 1.0, 7/2010 Updating the Firmware on USB SPI Boards (KITUSBSPIEVME, KITUSBSPIDGLEVME) Figure 1. KITUSBSPIEVME and KITUSBSPIDGLEVME

More information

MC56F825x/MC56F824x (2M53V) Chip Errata

MC56F825x/MC56F824x (2M53V) Chip Errata Freescale Semiconductor MC56F825XE_2M53V Chip Errata Rev. 1, 05/2012 MC56F825x/MC56F824x (2M53V) Chip Errata The following errata items apply to devices of the maskset 2M53V. 2012 Freescale Semiconductor,

More information

Electrode Graphing Tool IIC Driver Errata Microcontroller Division

Electrode Graphing Tool IIC Driver Errata Microcontroller Division Freescale Semiconductor User Guide Addendum TSSEGTUGAD Rev. 1, 03/2010 Electrode Graphing Tool IIC Driver Errata by: Microcontroller Division This errata document describes corrections to the Electrode

More information

Design Recommendations to Implement Compatibility Between the MC13783VK and the MC13783VK5

Design Recommendations to Implement Compatibility Between the MC13783VK and the MC13783VK5 Freescale Semiconductor Application Note Document Number: AN3417 Rev. 0.1, 01/2010 Design Recommendations to Implement Compatibility Between the MC13783VK and the MC13783VK5 by: Power Management and Audio

More information

etpu Automotive Function Set (Set 2)

etpu Automotive Function Set (Set 2) Freescale Semiconductor Application Note Document Number: AN3768 Rev. 0, 05/2009 etpu Automotive Function Set (Set 2) by: Geoff Emerson East Kilbride U.K. 1 Introduction This application note complements

More information

SGTL5000 I 2 S DSP Mode

SGTL5000 I 2 S DSP Mode Freescale Semiconductor Application Note Document Number: AN3664 Rev. 2, 11/2008 SGTL5000 I 2 S DSP Mode by Name of Group Freescale Semiconductor, Inc. Austin, TX 1 Description SGTL5000 supports multiple

More information

MPC8349E-mITX-GP Board Errata

MPC8349E-mITX-GP Board Errata Freescale Semiconductor Document Number: MPC8349EMITX-GPBE Rev. 2, 01/2007 MPC8349E-mITX-GP Board Errata This document describes the known errata and limitations of the MPC8349E-mITX-GP reference platform.

More information

MPR121 Jitter and False Touch Detection

MPR121 Jitter and False Touch Detection Freescale Semiconductor Application Note Rev 1, 03/2010 MPR121 Jitter and False Touch Detection INTRODUCTION Touch acquisition takes a few different parts of the system in order to detect touch. The baseline

More information

MPC7410 RISC Microprocessor Hardware Specifications Addendum for the MPC7410TxxnnnLE Series

MPC7410 RISC Microprocessor Hardware Specifications Addendum for the MPC7410TxxnnnLE Series Freescale Semiconductor Technical Data Document Number: MPC7410ECS08AD Rev. 1, 11/2010 MPC7410 RISC Microprocessor Hardware Specifications Addendum for the MPC7410TxxnnnLE Series This document describes

More information

IIC Driver for the MC9S08GW64

IIC Driver for the MC9S08GW64 Freescale Semiconductor Application Note Document Number: AN4158 Rev. 0, 8/2010 IIC Driver for the MC9S08GW64 by: Tanya Malik Reference Design and Applications Group Noida India 1 Introduction This document

More information

Utilizing Extra FC Credits for PCI Express Inbound Posted Memory Write Transactions in PowerQUICC III Devices

Utilizing Extra FC Credits for PCI Express Inbound Posted Memory Write Transactions in PowerQUICC III Devices Freescale Semiconductor Application Note Document Number: AN3781 Rev. 0, 06/2009 Utilizing Extra FC Credits for PCI Express Inbound Posted Memory Write Transactions in PowerQUICC III Devices This application

More information

Component Development Environment Installation Guide

Component Development Environment Installation Guide Freescale Semiconductor Document Number: PEXCDEINSTALLUG Rev. 1, 03/2012 Component Development Environment Installation Guide 1. Introduction The Component Development Environment (CDE) is available as

More information

Using the Project Board LCD Display at 3.3 volts

Using the Project Board LCD Display at 3.3 volts Freescale Semiconductor SLK0100AN Application Note Rev. 0, 1/2007 By: John McLellan Applications Engineering Austin, TX 1 Introduction This document guides you through the steps necessary to use the LCD

More information

ColdFire Convert 1.0 Users Manual by: Ernest Holloway

ColdFire Convert 1.0 Users Manual by: Ernest Holloway Freescale Semiconductor CFCONVERTUG Users Guide Rev.0, 09/2006 ColdFire Convert 1.0 Users Manual by: Ernest Holloway The ColdFire Convert 1.0 (CF) is a free engineering tool developed to generate data

More information

Mechanical Differences Between the 196-pin MAP-BGA and 196-pin PBGA Packages

Mechanical Differences Between the 196-pin MAP-BGA and 196-pin PBGA Packages Freescale Semiconductor Engineering Bulletin EB360 Rev. 1, 10/2005 Mechanical Differences Between the 196-pin MAP-BGA and 196-pin PBGA Packages This document describes the differences between the 196-pin

More information

PDB Driver for the MC9S08GW64

PDB Driver for the MC9S08GW64 Freescale Semiconductor Application Note Document Number: AN4163 Rev. 0, 8/2010 PDB Driver for the MC9S08GW64 by: Tanya Malik Reference Design and Applications Group Noida India 1 Introduction This document

More information

MC33696MODxxx Kit. 1 Overview. Freescale Semiconductor Quick Start Guide. Document Number: MC33696MODUG Rev. 0, 05/2007

MC33696MODxxx Kit. 1 Overview. Freescale Semiconductor Quick Start Guide. Document Number: MC33696MODUG Rev. 0, 05/2007 Freescale Semiconductor Quick Start Guide Document Number: MC33696MODUG Rev. 0, 05/2007 MC33696MODxxx Kit by: Laurent Gauthier Toulouse, France 1 Overview This document provides introductory information

More information

Using the CAU and mmcau in ColdFire, ColdFire+ and Kinetis

Using the CAU and mmcau in ColdFire, ColdFire+ and Kinetis Freescale Semiconductor Document Number: AN4307 Application Note Rev. Rev.0, 5/ 2011 Using the CAU and mmcau in ColdFire, ColdFire+ and Kinetis by: Paolo Alcantara RTAC Americas Mexico 1 Introduction This

More information

Using the Knock Window etpu Function

Using the Knock Window etpu Function Freescale Semiconductor Application Note Document Number: AN3772 Rev. 0, 05/2009 Using the Knock Window etpu Function by: David Paterson 1 Introduction This application note provides simple C interface

More information

Managing Failure Detections and Using Required Components to Meet ISO7637 pulse 1 on MC33903/4/5 Common Mode Choke Implementation

Managing Failure Detections and Using Required Components to Meet ISO7637 pulse 1 on MC33903/4/5 Common Mode Choke Implementation Freescale Semiconductor Application Note AN3865 Rev. 1.0, 2/2010 Managing Failure Detections and Using Required Components to Meet ISO7637 pulse 1 on MC33903/4/5 Common Mode Choke Implementation 1 Overview

More information

SynkroRF Network. User s Guide

SynkroRF Network. User s Guide SynkroRF Network User s Guide Document Number: SYNKROUG Rev. 1.2 06/2011 How to Reach Us: Home Page: www.freescale.com E-mail: support@freescale.com USA/Europe or Locations Not Listed: Freescale Semiconductor

More information

HC912D60A / HC912Dx128A 0.5µ Microcontrollers Mask sets 2K38K, 1L02H/2L02H/3L02H & K91D, 0L05H/1L05H/2L05H

HC912D60A / HC912Dx128A 0.5µ Microcontrollers Mask sets 2K38K, 1L02H/2L02H/3L02H & K91D, 0L05H/1L05H/2L05H Freescale Semiconductor Engineering Bulletin EB664 Rev. 6, 08/2006 HC912D60A / HC912Dx128A 0.5µ Microcontrollers Mask sets 2K38K, 1L02H/2L02H/3L02H & K91D, 0L05H/1L05H/2L05H by: Devaganesan Rajoo HC12

More information

MPC8260 IDMA Timing Diagrams

MPC8260 IDMA Timing Diagrams Freescale Semiconductor Application Note Document Number: AN2177 Rev. 4, 07/2006 MPC8260 IDMA Timing Diagrams By DSD Applications, NCSG Freescale Semiconductor, Inc. The MPC8260 PowerQUICC II integrated

More information

Using DMA to Emulate ADC Flexible Scan Mode on Kinetis K Series

Using DMA to Emulate ADC Flexible Scan Mode on Kinetis K Series Freescale Semiconductor Document Number: AN4590 Application Note Rev 0, 9/2012 Using DMA to Emulate ADC Flexible Scan Mode on Kinetis K Series by: Lukas Vaculik Rožnov pod Radhoštem Czech Republic 1 Introduction

More information

SCI Driver for the MC9S08GW64

SCI Driver for the MC9S08GW64 Freescale Semiconductor Application Note Document Number: AN4161 Rev. 0,8/2010 SCI Driver for the MC9S08GW64 by: Tanya Malik Reference Design and Applications Group Noida India 1 Introduction This document

More information

Using an I 2 C EEPROM During MSC8157 Initialization

Using an I 2 C EEPROM During MSC8157 Initialization Freescale Semiconductor Application Note AN4205 Rev. 0, 11/2010 Using an I 2 C EEPROM During MSC8157 Initialization The MSC8157 family allows you to use an I 2 C EEPROM to to initialize the DSP during

More information

Using the ColdFire+ Family Enhanced EEPROM Functionality Melissa Hunter Derrick Klotz

Using the ColdFire+ Family Enhanced EEPROM Functionality Melissa Hunter Derrick Klotz Freescale Semiconductor Application Note Document Number: AN4306 Rev. 0, 05/2011 Using the ColdFire+ Family Enhanced EEPROM Functionality by: Melissa Hunter Derrick Klotz 1 Introduction The ColdFire+ family

More information

Using IIC to Read ADC Values on MC9S08QG8

Using IIC to Read ADC Values on MC9S08QG8 Freescale Semiconductor Application Note AN3048 Rev. 1.00, 11/2005 Using IIC to Read ADC Values on MC9S08QG8 by Donnie Garcia Application Engineering Microcontroller Division 1 Introduction The MC9S08QG8

More information

MCF54451, MCF54452, MCF54453, MCF54454,

MCF54451, MCF54452, MCF54453, MCF54454, Chip Errata MCF54455DE Rev. 5, 8/21 MCF54455 Chip Errata Revision: All Supports: MCF5445, MCF54451, MCF54452, MCF54453, MCF54454, and MCF54455 Summary of MCF5445x Errata The latest mask of the MCF5445x

More information

etpu General Function Set (Set 1) David Paterson MCD Applications Engineer

etpu General Function Set (Set 1) David Paterson MCD Applications Engineer Freescale Semiconductor Application Note Document Number: AN2863 Rev. 0, 12/2007 etpu General Function Set (Set 1) by David Paterson MCD Applications Engineer 1 Introduction This application note complements

More information

Pad Configuration and GPIO Driver for MPC5500 Martin Kaspar, EMEAGTM, Roznov Daniel McKenna, MSG Applications, East Kilbride

Pad Configuration and GPIO Driver for MPC5500 Martin Kaspar, EMEAGTM, Roznov Daniel McKenna, MSG Applications, East Kilbride Freescale Semiconductor Application Note Document Number: AN2855 Rev. 0, 2/2008 Pad Configuration and GPIO Driver for MPC5500 by: Martin Kaspar, EMEAGTM, Roznov Daniel McKenna, MSG Applications, East Kilbride

More information

MPR121 Proximity Detection

MPR121 Proximity Detection Freescale Semiconductor Application Note Rev 0, 03/2010 MPR121 Proximity Detection INTRODUCTION MPR121 is a feature rich, second generation touch sensor controller after Freescale s initial release of

More information

USB Bootloader GUI User s Guide

USB Bootloader GUI User s Guide Freescale Semiconductor User s Guide Document Number: MC9S08JS16UG Rev. 0, 10/2008 USB Bootloader GUI User s Guide by: Derek Liu Applications Engineering China 1 Overview The MC9S08JS16 (JS16) supports

More information

56F8300 BLDC Motor Control Application

56F8300 BLDC Motor Control Application 56F8300 BLDC Motor Control Application with Quadrature Encoder using Processor Expert TM Targeting Document 56F8300 16-bit Digital Signal Controllers 8300BLDCQETD Rev. 2 08/2005 freescale.com Document

More information

MCF5216 Device Errata

MCF5216 Device Errata Freescale Semiconductor Device Errata MCF5216DE Rev. 1.7, 09/2004 MCF5216 Device Errata This document identifies implementation differences between the MCF5216 processor and the description contained in

More information

Using the Asynchronous DMA features of the Kinetis L Series

Using the Asynchronous DMA features of the Kinetis L Series Freescale Semiconductor Document Number:AN4631 Application Note Rev. 0, 12/2012 Using the Asynchronous DMA features of the Kinetis L Series by: Chris Brown 1 Introduction The power consumption of devices

More information

Introduction to the S12G Family EEPROM Including a Comparison between the S08DZ, S12XE, and S12P Families

Introduction to the S12G Family EEPROM Including a Comparison between the S08DZ, S12XE, and S12P Families Freescale Semiconductor Application Note Document Number: AN4302 Rev. 0, 04/2011 Introduction to the S12G Family EEPROM Including a Comparison between the S08DZ, S12XE, and S12P Families by: Victor Hugo

More information

Freescale BeeStack Documentation Overview Document Number: BSDO Rev /2008

Freescale BeeStack Documentation Overview Document Number: BSDO Rev /2008 Freescale BeeStack Documentation Overview Document Number: BSDO Rev. 1.0 04/2008 How to Reach Us: Home Page: www.freescale.com E-mail: support@freescale.com USA/Europe or Locations Not Listed: Freescale

More information

Using the Multi-Axis g-select Evaluation Boards

Using the Multi-Axis g-select Evaluation Boards Freescale Semiconductor Application Note Rev 2, 10/2006 Using the Multi-Axis g-select Evaluation Boards by: Michelle Clifford and John Young Applications Engineers Tempe, AZ INTRODUCTION This application

More information

16-bit MCU: S12XHY256 Automotive Cluster Demo by: Jose M. Cisneros Steven McLaughlin Applications Engineer Microcontroller Solutions Group, Scotland

16-bit MCU: S12XHY256 Automotive Cluster Demo by: Jose M. Cisneros Steven McLaughlin Applications Engineer Microcontroller Solutions Group, Scotland Freescale Semiconductor Users Guide Document Number: S12XHY256ACDUG Rev. 0, 10/2010 16-bit MCU: S12XHY256 Automotive Cluster Demo by: Jose M. Cisneros Steven McLaughlin Applications Engineer Microcontroller

More information

Using the Kinetis Family Enhanced EEPROM Functionality

Using the Kinetis Family Enhanced EEPROM Functionality Freescale Semiconductor Application Note Document Number: AN4282 Rev. 1, 03/2015 Using the Kinetis Family Enhanced EEPROM Functionality by: Melissa Hunter Derrick Klotz 1 Introduction Some of the Kinetis

More information

Mask Set Errata for Mask 2M40J

Mask Set Errata for Mask 2M40J Mask Set Errata MSE9S08QE8_2M40J Rev. 3, 8/2010 Mask Set Errata for Mask 2M40J Introduction This report applies to mask 2M40J for these products: MC9S08QE8 MCU device mask set identification The mask set

More information

1 Introduction. 2 Problem statement. Freescale Semiconductor Engineering Bulletin. Document Number: EB727 Rev. 0, 01/2010

1 Introduction. 2 Problem statement. Freescale Semiconductor Engineering Bulletin. Document Number: EB727 Rev. 0, 01/2010 Freescale Semiconductor Engineering Bulletin Document Number: EB727 Rev. 0, 01/2010 Enabling and Disabling ECC on MC9S08DE60/MC9S08DE32 Microcontrollers by: Philip Drake, 8-Bit Systems and Applications

More information

MC33897 Single-Wire CAN Transceiver Reliability and Quality Documents

MC33897 Single-Wire CAN Transceiver Reliability and Quality Documents Freescale Semiconductor Reliability & Qualifications RQA33897 Rev. 2.0, 8/2006 MC33897 Single-Wire CAN Transceiver Reliability and Quality Documents The device(s) in this document successfully completed

More information

Changing the i.mx51 NAND Flash Model for Windows Embedded CE TM 6.0

Changing the i.mx51 NAND Flash Model for Windows Embedded CE TM 6.0 Freescale Semiconductor Application Note Document Number: AN3986 Rev. 0, 02/2010 Changing the i.mx51 NAND Flash Model for Windows Embedded CE TM 6.0 by Multimedia Applications Division Freescale Semiconductor,

More information

Functional Differences Between the DSP56307 and DSP56L307

Functional Differences Between the DSP56307 and DSP56L307 Freescale Semiconductor Engineering Bulletin EB361 Rev. 3, 10/2005 Functional Differences Between the DSP56307 and DSP56L307 The DSP56307 and DSP56L307, two members of the Freescale DSP56300 family of

More information

Symphony SoundBite: Quick Start with Symphony Studio. Installation and Configuration

Symphony SoundBite: Quick Start with Symphony Studio. Installation and Configuration Symphony SoundBite: Quick Start with Symphony Studio Installation and Configuration Document Number: DSPB56371UGQS Rev. 2 September 2008 How to Reach Us: Home Page: www.freescale.com E-mail: support@freescale.com

More information

56F805. BLDC Motor Control Application with Quadrature Encoder using Processor Expert TM Targeting Document. 56F bit Digital Signal Controllers

56F805. BLDC Motor Control Application with Quadrature Encoder using Processor Expert TM Targeting Document. 56F bit Digital Signal Controllers 56F805 BLDC Motor Control Application with Quadrature Encoder using Processor Expert TM Targeting Document 56F800 6-bit Digital Signal Controllers 805BLDCQETD Rev. 08/2005 freescale.com BLDC Motor Control

More information

Using the PowerQUICC II Auto-Load Feature

Using the PowerQUICC II Auto-Load Feature Freescale Semiconductor Application Note Document Number: AN3352 Rev. 0, 01/2007 Using the PowerQUICC II Auto-Load Feature by David Smith/Patrick Billings Field Application Engineering/DSD Applications

More information

MSC8144AMC-S Getting Started Guide

MSC8144AMC-S Getting Started Guide Freescale Semiconductor Hardware Getting Started Guide Document Number: MSC8144AMCSHWGSG Rev. 2, 07/2008 MSC8144AMC-S Getting Started Guide This document describes how to connect the MSC8144AMC-S card

More information

Use of PGA on MC56F800x Interaction of PDB, PGA and ADC

Use of PGA on MC56F800x Interaction of PDB, PGA and ADC Freescale Semiconductor Document Number: AN4334 Application Note Rev. 0, 03/2012 Use of PGA on MC56F800x Interaction of PDB, PGA and ADC by: William Jiang System and Application, Microcontroller Solutions

More information

XGATE Library: ATD Average Calculating a rolling average from ATD results

XGATE Library: ATD Average Calculating a rolling average from ATD results Freescale Semiconductor Application Note AN3226 Rev. 0, 2/2006 XGATE Library: ATD Average Calculating a rolling average from ATD results by: Steve McAslan MCD Applications, East Kilbride 1 Introduction

More information

Differences Between the DSP56301, DSP56311, and DSP56321

Differences Between the DSP56301, DSP56311, and DSP56321 Freescale Semiconductor Engineering Bulletin Document Number: EB724 Rev. 0, 11/2009 Differences Between the DSP56301, DSP56311, and DSP56321 This engineering bulletin discusses the differences between

More information

Affected Chips Description Impact and Workaround

Affected Chips Description Impact and Workaround Freescale Semiconductor MC56F8013E Rev. 3, 08/2007 56F8013 Preliminary Chip 56F8013 Digital Signal Controller numbers are in the form n.m, where n is the number of the errata item and m identifies the

More information

Simplified Device Data Structures for the High-End ColdFire Family USB Modules Melissa Hunter Applications Microcontroller Solutions Group

Simplified Device Data Structures for the High-End ColdFire Family USB Modules Melissa Hunter Applications Microcontroller Solutions Group Freescale Semiconductor Application Note Document Number: AN3631 Rev. 0, 03/2008 Simplified Device Data Structures for the High-End ColdFire Family USB Modules by: Melissa Hunter Applications Microcontroller

More information

EchoRemote Evaluation Software for Windows

EchoRemote Evaluation Software for Windows Freescale Semiconductor Application Note Document Number: AN2953 Rev.1, 05/2007 EchoRemote Evaluation Software for Windows 1 Overview EchoRemote is a Microsoft Windows program that communicates with the

More information

MCF5445x Configuration and Boot Options Michael Norman Microcontroller Division

MCF5445x Configuration and Boot Options Michael Norman Microcontroller Division Freescale Semiconductor Application Note Document Number: AN3515 Rev. 1, 04/2008 MCF5445x Configuration and Boot Options by: Michael Norman Microcontroller Division 1 Configuration Modes The Freescale

More information

Converting Earlier Versions of CodeWarrior for StarCore DSPs Projects to Version

Converting Earlier Versions of CodeWarrior for StarCore DSPs Projects to Version Freescale Semiconductor Document Number: AN4253 Application Note Rev. 1, 01/2011 Converting Earlier Versions of CodeWarrior for StarCore DSPs Projects to Version 10.1.8 by DevTech Customer Engineering

More information

BeeStack Consumer Private Profile. Reference Manual

BeeStack Consumer Private Profile. Reference Manual BeeStack Consumer Private Profile Reference Manual Document Number: BSCONPPRM Rev. 1.2 09/2011 How to Reach Us: Home Page: www.freescale.com E-mail: support@freescale.com USA/Europe or Locations Not Listed:

More information

DSP56F827 Digital Signal Controller

DSP56F827 Digital Signal Controller Freescale Semiconductor DSP56F827E Rev. 8.0, 12/2005 56F827 Chip Errata DSP56F827 Digital Signal Controller This document reports errata information on chip revision B. Errata numbers are in the form n.m,

More information

PowerQUICC HDLC Support and Example Code

PowerQUICC HDLC Support and Example Code Freescale Semiconductor Application Note Document Number: AN3966 Rev. 0, 11/2009 PowerQUICC HDLC Support and Example Code High-level data link control (HDLC) is a bit-oriented protocol that falls within

More information

Interfacing HCS12 Microcontrollers to the MFR4200 FlexRay Controller

Interfacing HCS12 Microcontrollers to the MFR4200 FlexRay Controller Freescale Semiconductor Application Note AN3216 Rev. 0, 2/2006 Interfacing HCS12 Microcontrollers to the MFR4200 FlexRay Controller by: David Paterson MCD Applications, East Kilbride 1 Introduction Freescale

More information

MC33794 Touch Panel System Using E-Field Sensor Setup Instructions

MC33794 Touch Panel System Using E-Field Sensor Setup Instructions Freescale Semiconductor MC33794SIUG User s Guide Rev. 1.0, 09/2005 MC33794 Touch Panel System Using E-Field Sensor Setup Instructions Reference Design Documentation for RDMC33794 This document contains

More information

Migrating from the MPC852T to the MPC875

Migrating from the MPC852T to the MPC875 Freescale Semiconductor Application Note Document Number: AN2584 Rev. 1, 1/2007 Migrating from the MPC852T to the MPC875 by Ned Reinhold NCSD Applications Freescale Semiconductor, Inc. Austin, TX This

More information

Mask Set Errata for Mask 5L35K

Mask Set Errata for Mask 5L35K Freescale Semiconductor MSE908GR16_5L35K Mask Set Errata Rev. 2, 12/2010 Mask Set Errata for Mask 5L35K Introduction This report applies to mask 5L35K for these products: MC68HC908GR16 The mask set is

More information

TLB Translation Setup for MPC745x and MPC744x in Non-Extended Mode

TLB Translation Setup for MPC745x and MPC744x in Non-Extended Mode Freescale Semiconductor Application Note AN2796 Rev. 1, 5/2006 TLB Translation Setup for MPC745x and MPC744x in Non-Extended Mode by Amanuel Belay Computing Platform Division Freescale Semiconductor, Inc.

More information

Introduction to LIN 2.0 Connectivity Using Volcano LTP

Introduction to LIN 2.0 Connectivity Using Volcano LTP Freescale Semiconductor White Paper LIN2VOLCANO Rev. 0, 12/2004 Introduction to LIN 2.0 Connectivity Using Volcano LTP by: Zdenek Kaspar, Jiri Kuhn 8/16-bit Systems Engineering Roznov pod Radhostem, Czech

More information

Keil uvision 4 Kinetis Support for Freescale MQX RTOS Release Notes

Keil uvision 4 Kinetis Support for Freescale MQX RTOS Release Notes Keil uvision 4 Kinetis Support for Freescale MQX RTOS 3.7.0 Release Notes PRODUCT: Keil uvision 4 Kinetis Support for Freescale MQX RTOS 3.7.0 PRODUCT VERSION: 1.0 DESCRIPTION: Adding support for Keil

More information

Clock Mode Selection for MSC8122 Mask Set K98M

Clock Mode Selection for MSC8122 Mask Set K98M Freescale Semiconductor Application Note AN2904 Rev. 0, 11/2004 Clock Mode Selection for MSC8122 Mask Set K98M By Donald Simon and Wes Ray This application note describes the MSC8122 clock modes for mask

More information

Interfacing MPC5xx Microcontrollers to the MFR4310 FlexRay Controller David Paterson MCD Applications, East Kilbride

Interfacing MPC5xx Microcontrollers to the MFR4310 FlexRay Controller David Paterson MCD Applications, East Kilbride Freescale Semiconductor Application Note Document Number: AN3256 Rev. 2, 2/2008 Interfacing MPC5xx Microcontrollers to the MFR4310 FlexRay Controller by: David Paterson MCD Applications, East Kilbride

More information

Interrupts in Decoupled Parallel Mode for MPC5675K Configuration and Usage

Interrupts in Decoupled Parallel Mode for MPC5675K Configuration and Usage Freescale Semiconductor Document Number: AN4495 Application Note Rev. 0, 3/2012 Interrupts in Decoupled Parallel Mode for MPC5675K Configuration and Usage by: Tomas Kulig Automotive and Industrial Solutions

More information

Freescale MQX USB Device API Reference Manual

Freescale MQX USB Device API Reference Manual Freescale MQX USB Device API Reference Manual MQXUSBDEVRM Rev. 3 02/2014 How to Reach Us: Home Page: freescale.com Web Support: freescale.com/support Information in this document is provided solely to

More information

Writing Touch Sensing Software Using TSI Module

Writing Touch Sensing Software Using TSI Module Freescale Semiconductor Document Number: AN4330 Application Note Rev. 0, July 2011 Writing Touch Sensing Software Using TSI Module by: Daniel Martínez Microcontroller Solutions Group Guadalajara 1 Before

More information

Support for IEEE 1588 Protocol in PowerQUICC and QorIQ Processors

Support for IEEE 1588 Protocol in PowerQUICC and QorIQ Processors Freescale Semiconductor Application Note Document Number: AN3423 Rev. 0, 09/2010 Support for IEEE 1588 Protocol in PowerQUICC and QorIQ Processors by Networking and Multimedia Group Freescale Semiconductor,

More information

56F805. Digital Power Factor Correction using Processor Expert TM Targeting Document. 56F bit Digital Signal Controllers. freescale.

56F805. Digital Power Factor Correction using Processor Expert TM Targeting Document. 56F bit Digital Signal Controllers. freescale. 56F805 Digital Power Factor Correction using Processor Expert TM Targeting Document 56F800 6-bit Digital Signal Controllers 805DPFCTD Rev. 0 08/2005 freescale.com Digital Power Factor Correction This

More information

VortiQa Enterprise Quick Start Guide

VortiQa Enterprise Quick Start Guide Freescale Semiconductor Document Number: VQSEQSG Quick Start Guide Rev. 0, 06/2009 VortiQa Enterprise Quick Start Guide 1 Introduction This document describes how to set up and install the VortiQa software

More information

Functional Differences Between DSP56302 and DSP56309 (formerly DSP56302A)

Functional Differences Between DSP56302 and DSP56309 (formerly DSP56302A) Freescale Semiconductor Engineering Bulletin EB346 Rev. 3, 10/2005 Functional Differences Between DSP56302 and DSP56309 (formerly DSP56302A) To meet the increasing demands for higher performance and lower

More information

Programming the Keyboard Interrupt Module (KBI) on HC(S)08 MCUs

Programming the Keyboard Interrupt Module (KBI) on HC(S)08 MCUs Freescale Semiconductor Application Note AN2900 Rev. 0, 01/2005 Programming the Keyboard Interrupt Module (KBI) on HC(S)08 MCUs by: Gabriel Sanchez Barba RTAC Americas Mexico Overview This document is

More information

XGATE Library: Using the Freescale XGATE Software Library Steve McAslan MCD Applications, East Kilbride

XGATE Library: Using the Freescale XGATE Software Library Steve McAslan MCD Applications, East Kilbride Freescale Semiconductor Application Note AN3145 Rev. 0, 2/2006 XGATE Library: Using the Freescale XGATE Software Library by: Steve McAslan MCD Applications, East Kilbride 1 Introduction The Freescale S12X

More information

Using GCR4 to Adjust Ethernet Timing in MSC8144 DSPs

Using GCR4 to Adjust Ethernet Timing in MSC8144 DSPs Freescale Semiconductor Application Note Document Number: AN3811 Rev. 0, 4/2009 Using GCR4 to Adjust Ethernet Timing in MSC8144 DSPs This application note assists board designers to implement Ethernet

More information

i.mx31 PDK Power Measurement with GUI

i.mx31 PDK Power Measurement with GUI Freescale Semiconductor Application Note Document Number: AN4061 Rev. 0, 02/2010 i.mx31 PDK Power Measurement with GUI by Multimedia Application Division Freescale Semiconductor, Inc. Austin, TX This application

More information

Errata to the MPC8280 PowerQUICC II Family Reference Manual, Rev. 1

Errata to the MPC8280 PowerQUICC II Family Reference Manual, Rev. 1 Freescale Semiconductor Addendum Document Number: MPC8280RMAD Rev. 1.5, 12/2010 Errata to the MPC8280 PowerQUICC II Family Reference Manual, Rev. 1 This errata document describes corrections to the MPC8280

More information

Interfacing MPC5500 Microcontrollers to the MFR4310 FlexRay Controller Robert Moran MCD Applications, East Kilbride, Scotland

Interfacing MPC5500 Microcontrollers to the MFR4310 FlexRay Controller Robert Moran MCD Applications, East Kilbride, Scotland Freescale Semiconductor Application Note Document Number: AN3269 Rev. 3, 02/2010 Interfacing MPC5500 Microcontrollers to the MFR4310 FlexRay Controller by: Robert Moran MCD Applications, East Kilbride,

More information

MPC8569E Instruction RAM Microcode Package Release 169

MPC8569E Instruction RAM Microcode Package Release 169 Freescale Semiconductor Release Note MPC8569EIRAMPKGRN_169 Dec 1, 2009 Rev. 0 MPC8569E Instruction RAM Microcode Package Release 169 General This release note reflects differences between the QUICC Engine

More information

Optically-Isolated Multilink BDM Interface for the S08/S12 Microcontrollers by Michael A. Steffen

Optically-Isolated Multilink BDM Interface for the S08/S12 Microcontrollers by Michael A. Steffen Freescale Semiconductor Application Note AN3589 Rev. 0, 02/2008 Optically-Isolated Multilink BDM Interface for the S08/S12 Microcontrollers by Michael A. Steffen 1 Introduction This application note explains

More information

PMSM Vector Control with Encoder on Kinetis Setup Guide for Demo Kits without a Tablet PC

PMSM Vector Control with Encoder on Kinetis Setup Guide for Demo Kits without a Tablet PC Freescale Semiconductor User s Guide Document Number: PMSMCONUG Rev. 0, 10/2011 PMSM Vector Control with Encoder on Kinetis Setup Guide for Demo Kits without a Tablet PC by: Matus Plachy System Application

More information

MPR083 Proximity Evaluation Kit User s Guide

MPR083 Proximity Evaluation Kit User s Guide Freescale Semiconductor User s Guide Rev 2, 04/2008 MPR083 Proximity Evaluation Kit User s Guide by: Laura Salhuana Introduction This guide will aid you in connecting the MPR083 Evaluation Kit Board to

More information

Table 1. Summary of MCF523x Errata. Errata Module Affected Date Errata Added Date Code Affected? < XXXX0501 XXXX0501 & < XXXX0511

Table 1. Summary of MCF523x Errata. Errata Module Affected Date Errata Added Date Code Affected? < XXXX0501 XXXX0501 & < XXXX0511 Freescale Semiconductor MCF5235DE Chip Errata Rev. 5, 6/2011 MCF5235 Chip Errata Silicon Revision: All This document identifies implementation differences between the MCF523x processors and the description

More information

Freescale USB Stack OTG Users Guide

Freescale USB Stack OTG Users Guide Freescale USB Stack OTG Users Guide Document Number:USBOTGUG Rev. 2 03/2012 How to Reach Us: Home Page: www.freescale.com E-mail: support@freescale.com USA/Europe or Locations Not Listed: Freescale Semiconductor

More information

Integrating the MC9S08JS16/8 USB Bootloader to Your Application

Integrating the MC9S08JS16/8 USB Bootloader to Your Application Freescale Semiconductor Application Note Document Number: AN3958 Rev. 0, 10/2009 Integrating the MC9S08JS16/8 USB Bootloader to Your Application by: Derek Liu Application Engineer Freescale provides the

More information

Errata to MPC8569E PowerQUICC III Integrated Processor Reference Manual, Rev. 2

Errata to MPC8569E PowerQUICC III Integrated Processor Reference Manual, Rev. 2 Freescale Semiconductor Addendum Document Number: MPC8569ERMAD Rev. 2.1, 12/2011 Errata to MPC8569E PowerQUICC III Integrated Processor Reference Manual, Rev. 2 This errata describes corrections to the

More information

Gallium Arsenide PHEMT RF Power Field Effect Transistor

Gallium Arsenide PHEMT RF Power Field Effect Transistor Technical Data Available at http://www.freescale.com/rf, Go to Tools Rev., 6/2005 Reference Design Library Gallium Arsenide PHEMT Power Field Effect Transistor Device Characteristics (From Device Data

More information

Power Cycling Algorithm using the MMA73x0L 3-Axis Linear Accelerometer

Power Cycling Algorithm using the MMA73x0L 3-Axis Linear Accelerometer Freescale Semiconductor Application Note Rev 1, 06/2007 Power Cycling Algorithm using the MMA73x0L 3-Axis Linear Accelerometer by: Kimberly Tuck Accelerometer Systems and Applications Engineering Tempe,

More information

i.mx31 PDK 1.3 to PDK 1.4 Revision Changes Linux

i.mx31 PDK 1.3 to PDK 1.4 Revision Changes Linux Freescale Semiconductor Document Number: 926-77774 Application Note Rev. 1.2, 10/2008 i.mx31 PDK 1.3 to PDK 1.4 Revision Changes Linux This document explains the application changes for the Linux i.mx31

More information

56F Phase AC Induction Motor V/Hz Control using Processor ExpertTM Targeting Document 56F bit Digital Signal Controllers

56F Phase AC Induction Motor V/Hz Control using Processor ExpertTM Targeting Document 56F bit Digital Signal Controllers 56F8300 3-Phase AC Induction Motor V/Hz Control using Processor Expert TM Targeting Document 56F8300 16-bit Digital Signal Controllers 8300ACIMTD Rev. 1 08/2005 freescale.com Document Revision History

More information