Could you tell me what the 0x03 stands for in this code.
(USB_DMA_BufAdr(0x03
or point to any documentation on keil code and Buffer addresses.
What does the documentation for USB_DMA_BufAdr tell you?
This is a capture of Usb sound card
USB Composite Device Connection Status Device connected Current Configuration 1 Speed Full Device Address 1 Number Of Open Pipes 1 Device Descriptor USB Sound Device Offset Field Size Value Description 0 bLength 1 12h 1 bDescriptorType 1 01h Device 2 bcdUSB 2 0110h USB Spec 1.1 4 bDeviceClass 1 00h Class info in Ifc Descriptors 5 bDeviceSubClass 1 00h 6 bDeviceProtocol 1 00h 7 bMaxPacketSize0 1 08h 8 bytes 8 idVendor 2 0D8Ch C-Media Electronics, Inc. 10 idProduct 2 0102h 12 bcdDevice 2 0010h 0.10 14 iManufacturer 1 00h 15 iProduct 1 02h "USB Sound Device " 16 iSerialNumber 1 00h 17 bNumConfigurations 1 01h Configuration Descriptor 1 Bus Powered, 500 mA Offset Field Size Value Description 0 bLength 1 09h 1 bDescriptorType 1 02h Configuration 2 wTotalLength 2 0216h 4 bNumInterfaces 1 04h 5 bConfigurationValue 1 01h 6 iConfiguration 1 00h 7 bmAttributes 1 80h Bus Powered 4..0: Reserved ...00000 5: Remote Wakeup ..0..... No 6: Self Powered .0...... No, Bus Powered 7: Reserved (set to one) (bus-powered for 1.0) 1....... 8 bMaxPower 1 FAh 500 mA 0 bLength 1 09h 1 bDescriptorType 1 05h Endpoint 2 bEndpointAddress 1 06h 6 Out 3 bmAttributes 1 09h Isochronous, Adaptive, Data 1..0: Transfer Type ......01 Isochronous 3..2: Sync Type ....10.. Adaptive 5..4: Usage Type ..00.... Data 7..6: Reserved 00...... 4 wMaxPacketSize 2 0310h 784 bytes 6 bInterval 1 01h 1 ms 7 bRefresh 1 00h 8 bSynchAddress 1 00h
This is keil board
URB 0650-0637 4:36:59.306 1.640728 s 34.542 ms Isoch Transfer 640 bytes buffer out 01:01:03 85FFF6F0h USBPDO-5 usbhub 85CC2E28h Success (Success) URB 0651-0636 4:36:59.306 1.640733 s 34.564 ms Isoch Transfer 640 bytes buffer out 01:01:03 869EC358h 000000f9 usbccgp 85CC2E28h Success (Success) URB 0652 4:36:59.312 1.646162 s Isoch Transfer 640 bytes data E1 FE CA FE C9 FE D5 FE... out 01:01:03 86
How do I increase the ISO transfer size for the keil board. The wMaxPacketSize I can change but I can not get the ISO transfer size to change.
Usb sound card has 1764 ISO transfer, how do I change the keil board to match.
URB 0030-0023 22:43:41.390 3.267701 s 15.092 ms Isoch Transfer 1764 bytes buffer out 01:01:06 8673B6F0h USBPDO-5 usbhub 85B4A208h Success (Success) URB 0031-0022 22:43:41.391 3.267706 s 15.109 ms Isoch Transfer 1764 bytes buffer out 01:01:06 86041288h 00000083 usbccgp 85B4A208h Success (Success) URB 0032 22:43:41.392 3.269017 s Isoch Transfer 1764 bytes data E7 00 EB 00 74 00 73 00... out 01:01:06 86041288h 00000083 usbccgp 85B4A208h