Page 1
HCC Embedded is expressly forbidden. HCC Embedded reserves the right to make changes to this document and to the related software at any time and without notice. The information in this document has been carefully checked for its accuracy;...
Page 2
USB ISP1161 Host Controller User Guide Table of Contents System Overview ______________________________________________________________________ 3 Introduction _________________________________________________________________________ 3 Feature Check _______________________________________________________________________ 4 Packages and Documents ______________________________________________________________ 5 Packages ________________________________________________________________________ 5 Documents ______________________________________________________________________ 5 Change History ______________________________________________________________________ 6 Source File List ________________________________________________________________________ 7...
1 System Overview 1.1 Introduction This guide is for those who want to implement HCC Embedded's USB host stack with NXP Semiconductors' ISP1161 and ISP1161A1 USB host controllers. The module provides a high speed USB 2.0 host controller which provides both full and low speed USB functions.
Conforms to the HCC Advanced Embedded Framework. Designed for integration with both RTOS and non-RTOS based systems. Integrated with the HCC USB Host stack and all its class drivers. Supports NXP Semiconductor ISP1161 and ISP1161A1 USB host controllers. Supports multiple simultaneous ISP1161 host controllers, each with multiple devices attached.
Also follow the when HCC provides package updates. HCC Source Tree Guide This document describes the HCC source tree. It gives an overview of the system to make clear the logic behind its organization. HCC USB Host Base System User Guide This document defines the USB host base system upon which the complete USB stack is built.
1.4 Change History This section describes past changes to this manual. To view or download earlier manuals, see Archive: USB ISP1161 Host Controller User Guide For the history of changes made to the package code itself, see History: usbh_drv_isp1161 The current version of this manual is 1.10. The full list of versions is as follows:...
USB ISP1161 Host Controller User Guide 2 Source File List This section describes all the source code files included in the system. These files follow the HCC Embedded standard source tree system, described in the HCC Source Tree Guide . All references to file pathnames refer to locations within this standard source tree, not within the package you initially receive.
USB ISP1161 Host Controller User Guide 2.4 Version File The file src/version/ver_usbh_isp1161.h contains the version number of this module. This version number is checked by all modules that use this module to ensure system consistency over upgrades. 2.5 Platform Support Package (PSP) Files...
USB ISP1161 Host Controller User Guide 3 Configuration Options Set the following system configuration options in the file src/config/config_usbh_isp1161.h Note: For full details of these options, refer to the manufacturer's manual for the device. ISP_MAX_PORTS The maximum number of ports in ISP1161. The default is 2.
USB ISP1161 Host Controller User Guide 4 Starting the Host Controller This section shows how to start the host controller and describes the task created. It includes a code example. 4.1 usbh_isp_hc This external interface function provides the host controller descriptor required by the usbh_hc_init() function.
USB ISP1161 Host Controller User Guide 4.3 Code Example This example shows how to initialize the host controller. Note the following: There is only one external interface function, usbh_isp_hc() . To link this host controller to the system, you call the usbh_hc_init() function with this function as a parameter.
This section specifies the elements of this package that need porting, depending on the target environment. 5.1 OS Abstraction Layer All HCC modules use the OS Abstraction Layer (OAL) that allows the module to run seamlessly with a wide variety of RTOSes, or without an RTOS.
The host controller makes use of the following function provided by the PSP template file psp_isp1161.h Function Description isp_hwinit() Initializes the device. These function is described in the following section. Note: HCC can provide samples for different configurations; contact support@hcc-embedded.com Copyright HCC Embedded 2017 www.hcc-embedded.com...
USB ISP1161 Host Controller User Guide isp_hwinit This function is provided by the PSP to initialize the device. This enables the clocks, GPIO pin, external memory interface, and so on. Format isp_hwinit ( void Arguments None. Return Values Return value Description Successful execution.
Need help?
Do you have a question about the USB ISP1161 and is the answer not in the manual?
Questions and answers