SDAA062
September 2025
TMS320F28P559SJ-Q1
1
Abstract
Trademarks
1
Introduction
1.1
Intelligent Cabin and IVI System
1.2
USB Interface Application in IVI
1.3
TMS320F28P55x Introduction
2
USB Composite Device Enumeration and Data Report
2.1
USB Composite Device Enumeration
2.1.1
Descriptor Structure
2.1.2
Descriptor Types
2.1.2.1
Device Descriptor
2.1.2.2
Configuration Descriptor
2.1.2.3
Interface Descriptor
2.1.2.4
Endpoint Descriptor
2.1.2.5
String Descriptor
2.2
USB Composite Device HID Data Report
2.2.1
Data Report Item
2.2.2
HID Report Descriptor Structure
2.2.2.1
Main Item
2.2.2.2
Global Item
2.2.2.3
Local Item
2.3
Example of Building a HID Report Descriptor
3
Software Realization
3.1
APIs for USB Composite Device Initialization
3.1.1
USBStackModeSet
3.1.2
USBDCDCCompositeInit
3.1.3
USBDHIDCustomCompositeInit
3.1.4
USBDCompositeInit
3.2
APIs for USB Composite Device CDC Data Report
3.2.1
USBBufferSpaceAvailable
3.2.2
USBBufferWrite
3.2.3
USBBufferRead
3.2.4
USBDCDCTxHandler
3.2.5
USBDCDCRxHandler
3.3
APIs for USB Composite Device HID Data Report
3.3.1
USBDHIDCustomTouchEvent
3.3.2
USBDHIDCustomReportKey
3.4
APIs for USB Composite Device Simulation
3.4.1
MultTouchSimHandler
3.4.2
KeySimHandler
3.5
APIs for USB Device Operate States Query
3.5.1
USBDCDCControlHandler
3.5.2
CustomHandler
4
System Test
4.1
Test Setup
4.2
USB SCI CDC Device Function Test
4.3
USB Touch Screen HID Device Function Test
4.4
USB Button HID Device Function Test
5
Summary
6
References
7
Appendix
Application Note
Implement HID and CDC USB Composite Device With TMS320F28P559SJ-Q1 in IVI