目录
[1 描述符修改](#1 描述符修改)
[1.1 设备描述符修改](#1.1 设备描述符修改)
[1.2 配置描述符修改](#1.2 配置描述符修改)
[1.3 字符串描述符修改](#1.3 字符串描述符修改)
[1.4 编译报错修改](#1.4 编译报错修改)
[2 增加功能函数](#2 增加功能函数)
[2.1 Camera功能模块介绍](#2.1 Camera功能模块介绍)
[2.2 USB复位函数修改](#2.2 USB复位函数修改)
[2.3 Speaker_Data_Setup函数修改](#2.3 Speaker_Data_Setup函数修改)
[2.4 非零端点函数修改](#2.4 非零端点函数修改)
[2.5 JEPG数据获取](#2.5 JEPG数据获取)
[3 运行演示](#3 运行演示)
链接快速定位
源码下载请参考链接:USB -- STM32-FS-USB-Device驱动代码简述(二)
USB -- STM32F103虚拟串口bulk传输讲解(三)
USB -- STM32F103自定义HID设备及HID上位机中断传输讲解(四)
USB -- STM32F103 U盘(MassStorage)SDIO接口SCSI协议Bulk传输讲解(五)
USB -- STM32F103 USB DFU设备固件升级(IAP)控制传输讲解(六)
USB -- STM32F103 USB AUDIO(音频)Speak同步传输(Out传输)讲解(七)
USB -- STM32F103 USB AUDIO(音频)Microphone同步传输(In传输)讲解(八)
前沿
前面两节主要是对USB的基本概念做了简单讲解,学习USB的最本质目的还是要回到USB的应用方向,接下来的几章主要讲解USB的各类应用,包括:
- 虚拟串口(环回测试)-- bulk传输(USB -- STM32F103虚拟串口bulk传输讲解(三))
- 自定义HID -- 中断传输(USB -- STM32F103自定义HID设备及HID上位机中断传输讲解(四))
- U盘 -- bulk传输(USB -- STM32F103 U盘(MassStorage)SDIO接口SCSI协议Bulk传输讲解(五))
- 在线固件升级(DFU)-- 控制传输(USB -- STM32F103 USB DFU设备固件升级(IAP)控制传输讲解(六))
- 语音录制及播放 -- 同步Out传输(USB -- STM32F103 USB AUDIO(音频)Speak同步传输(Out传输)讲解(七))
- 语音录制及播放 -- 同步In传输(USB -- STM32F103 USB AUDIO(音频)Microphone同步传输(In传输)讲解(八))
- 照相机 -- 同步传输(本章讲解)
- 复合设备 -- 中断+bulk传输
这里只讲怎么修改描述符和关键函数,具体含义请参考Video参考手册,我们这里使用《Audio_Speaker》例程进行修改。
1 描述符修改
usb_desc.h文件的描述符宏定义如下:
cpp
/*预定义MJPEG视频帧率*/
#define IMG_MJPG_FRAMERATE 13
#define PACKET_SIZE 64
/*图像Size(Captured)*/
#define IMG_WIDTH 320
#define IMG_HEIGHT 240
#define MAKE_WORD(x) (uint8_t)((x)&0xFF),(uint8_t)(((x)>>8)&0xFF)
#define MAKE_DWORD(x) (uint8_t)((x)&0xFF),(uint8_t)(((x)>>8)&0xFF),(uint8_t)(((x)>>16)&0xFF),(uint8_t)(((x)>>24)&0xFF)
#define MIN_BIT_RATE (100*320*IMG_MJPG_FRAMERATE)
#define MAX_BIT_RATE (IMG_WIDTH*IMG_HEIGHT*IMG_MJPG_FRAMERATE)
#define MAX_FRAME_SIZE (IMG_WIDTH*IMG_HEIGHT) //最大每帧JPEG Byte数,对应Host要求的Buffer Size
#define FRAME_INTERVEL (10000000ul/IMG_MJPG_FRAMERATE) //帧间间隔时间,单位100ns
#define USB_ASSOCIATION_DESCRIPTOR_TYPE 0x0B
#define CAMERA_SIZ_DEVICE_DESC 18
#define CAMERA_SIZ_CONFIG_DESC 144
#define CAMERA_SIZ_STRING_LANGID 0x04
#define CAMERA_SIZ_STRING_VENDOR 0x26
#define CAMERA_SIZ_STRING_PRODUCT 0x1C
#define CAMERA_SIZ_STRING_SERIAL 0x1C
/* USB Descriptor Types */
#define USB_DEVICE_DESCRIPTOR_TYPE 0x01
#define USB_CONFIGURATION_DESCRIPTOR_TYPE 0x02
#define USB_STRING_DESCRIPTOR_TYPE 0x03
#define USB_INTERFACE_DESCRIPTOR_TYPE 0x04
#define USB_ENDPOINT_DESCRIPTOR_TYPE 0x05
1.1 设备描述符修改
cpp
const uint8_t Speaker_DeviceDescriptor[] =
{
CAMERA_SIZ_DEVICE_DESC, /* bLength */
USB_DEVICE_DESCRIPTOR_TYPE, /* bDescriptorType */
0x00, /* 2.00 */ /* bcdUSB */
0x02,
0xEF, /* bDeviceClass */
0x02, /* bDeviceSubClass */
0x01, /* bDeviceProtocol */
0x40, /* bMaxPacketSize 40 */
0x83, /* idVendor */
0x04,
0x30, /* idProduct = 0x5730*/
0x57,
0x00, /* 2.00 */ /* bcdDevice */
0x02,
1, /* iManufacturer */
2, /* iProduct */
3, /* iSerialNumber */
0x01 /* bNumConfigurations */
};
1.2 配置描述符修改
这里包括:
- 接口描述符
- 功能描述符
- 端点描述符
cpp
/* USB Configuration Descriptor */
/* All Descriptors (Configuration, Interface, Endpoint, Class, Vendor */
const uint8_t Speaker_ConfigDescriptor[] =
{
/* Configuration 1 */
0x09, /* bLength */
USB_CONFIGURATION_DESCRIPTOR_TYPE, /* bDescriptorType */
0x90, /* wTotalLength 110 bytes*/
0x00,
0x02, /* bNumInterfaces */
0x01, /* bConfigurationValue */
0x00, /* iConfiguration */
0xC0, /* bmAttributes Self Powered*/
0xFA, /* bMaxPower = 500 mA*/
/* 09 byte*/
/* 1. Standard Video Interface Collection IAD */
0x08, /* bLength */
USB_ASSOCIATION_DESCRIPTOR_TYPE, /* bDescriptorType */
0x00, /* bFirstInterface: Interface number of the VideoControl interface that is associated with this function*/
0x02, /* Number of contiguous Video interfaces that are associated with this function */
0x0E, /* bFunction Class: CC_VIDEO*/
0x03, /* bFunction sub Class: SC_VIDEO_INTERFACE_COLLECTION */
0x00, /* bFunction protocol : PC_PROTOCOL_UNDEFINED*/
0x02, /* iFunction */
/* 08 bytes, total size 17*/
/* 2. Standard VideoControl Interface Descriptor */
0x09, /* bLength */
0x04, /* bDescriptorType */
0x00, /* bInterfaceNumber */
0x00, /* bAlternateSetting */
0x00, /* bNumEndpoints */
0x0e, /* bInterfaceClass : CC_VIDEO */
0x01, /* bInterfaceSubClass : SC_VIDEOCONTROL */
0x00, /* bInterfaceProtocol : PC_PROTOCOL_UNDEFINED */
0x02, /* iInterface */
/* 09 bytes, total size 26*/
/* 2.1. Class-specific VideoControl Interface Descriptor */
0x0d, /* bLength */
0x24, /* bDescriptorType : CS_INTERFACE */
0x01, /* bDescriptorSubType : VC_HEADER subtype */
0x00, /* bcdUVC : Revision of class specification that this device is based upon. For this example, the device complies with Video Class specification version 1.0 */
0x01,
0x1e, /* wTotalLength : Total size of class-specific descriptors*/
0x00,
0x00, 0x60, 0xe3, 0x16, /* dwClockFrequency : 0x16e36000 -> 24,000,000 == 24MHz*/
0x01, /* bInCollection : Number of streaming interfaces. */
0x01, /* baInterfaceNr(1) : VideoStreaming interface 1 belongs to this VideoControl interface.*/
/* 13 Bytes, totoal size 39 */
/* 2.2. Video Input Terminal Descriptor (Composite) */
0x08, /* bLength */
0x24, /* bDescriptorType : CS_INTERFACE */
0x02, /* bDescriptorSubType : VC_INPUT_TERMINAL subtype */
0x02, /* bTerminalID: ID of this input terminal */
0x01, 0x04, /* wTerminalType: 0x0401 COMPOSITE_CONNECTOR type. This terminal is the composite connector. */
0x00, /* bAssocTerminal: No association */
0x00, /* iTerminal: Unused*/
/* 8 Bytes, totoal size 47 */
/* 2.3. Video Output Terminal Descriptor */
0x09, /* bLength */
0x24, /* bDescriptorType : CS_INTERFACE */
0x03, /* bDescriptorSubType : VC_OUTPUT_TERMINAL subtype */
0x03, /* bTerminalID: ID of this output terminal */
0x01, 0x01, /* wTerminalType: 0x0101 TT_STREAMING type. This terminal is a USB streaming terminal. */
0x00, /* bAssocTerminal: No association */
0x02, /* bSourceID: The input pin of this unit is connected to the output pin of unit 2. */
0x00, /* iTerminal: Unused*/
/* 9 bytes, total size 56 */
/* 3. Standard VideoStream Interface Descriptor*/
0x09, /* bLength */
0x04, /* bDescriptorType : INTERFACE */
0x01, /* bInterfaceNumber */
0x00, /* bAlternateSetting */
0x00, /* bNumEndpoints : 0 endpoints -- no bandwidth used*/
0x0e, /* bInterfaceClass : CC_VIDEO */
0x02, /* bInterfaceSubClass : SC_VIDEOSTREAMING */
0x00, /* bInterfaceProtocol : PC_PROTOCOL_UNDEFINED */
0x00, /* iInterface : unused */
/* 9 bytes, total size 65 */
/* 3.1 Class-specific VideoStream Header Descriptor (Input) */
0x0e, /* bLength */
0x24, /* bDescriptorType : CS_INTERFACE */
0x01, /* bDescriptorSubType : VC_HEADER subtype */
0x01, /* bNumFormats : One format descriptor follows. */
0x3f, 0x00, /* wTotalLength : Total size of class-specific descriptors*/
0x81, /* bEndpointAddress : 0x81 */
0x00, /* bmInfo : No dynamic format change supported. */
0x03, /* bTerminalLink : This VideoStreaming interface supplies terminal ID 3 (Output Terminal). */
0x00, /* bStillCaptureMethod : Device supports still image capture method 0. */
0x00, /* bTriggerSupport : Hardware trigger supported for still image capture */
0x00, /* bTriggerUsage : Hardware trigger should initiate a still image capture. */
0x01, /* bControlSize : Size of the bmaControls field */
0x00, /* bmaControls : No VideoStreaming specific controls are supported.*/
/* 14 Bytes, totoal size 79 */
/* 3.2 Class-specific VideoStream Format(MJPEG) Descriptor */
0x0b, /* bLength */
0x24, /* bDescriptorType : CS_INTERFACE */
0x06, /* bDescriptorSubType : VS_FORMAT_MJPEG subtype */
0x01, /* bFormatIndex : First (and only) format descriptor */
0x01, /* bNumFrameDescriptors : One frame descriptor for this format follows. */
0x01, /* bmFlags : Uses fixed size samples.. */
0x01, /* bDefaultFrameIndex : Default frame index is 1. */
0x00, /* bAspectRatioX : Non-interlaced stream -- not required. */
0x00, /* bAspectRatioY : Non-interlaced stream -- not required. */
0x00, /* bmInterlaceFlags : Non-interlaced stream */
0x00, /* bCopyProtect : No restrictions imposed on the duplication of this video stream. */
/* 11 bytes, total size 90 */
/* 3.3 Class-specific VideoStream Frame Descriptor */
0x26, /* bLength */
0x24, /* bDescriptorType : CS_INTERFACE */
0x07, /* bDescriptorSubType : VS_FRAME_MJPEG */
0x01, /* bFrameIndex : First (and only) frame descriptor */
0x02, /* bmCapabilities : Still images using capture method 0 are supported at this frame setting.D1: Fixed frame-rate. */
MAKE_WORD(IMG_WIDTH), /* wWidth : Width of frame, pixels. */
MAKE_WORD(IMG_HEIGHT), /* wHeight : Height of frame, pixels. */
MAKE_DWORD(MIN_BIT_RATE), /* dwMinBitRate : Min bit rate in bits/s */
MAKE_DWORD(MAX_BIT_RATE), /* dwMaxBitRate : Max bit rate in bits/s */
MAKE_DWORD(MAX_FRAME_SIZE), /* dwMaxVideoFrameBufSize : Maximum video or still frame size, in bytes. */
MAKE_DWORD(FRAME_INTERVEL), /* dwDefaultFrame Interval time, unit=100ns */
0x00, /* bFrameIntervalType : Continuous frame interval */
MAKE_DWORD(FRAME_INTERVEL), /* dwDefaultFrame Interval time, unit=100ns */
MAKE_DWORD(FRAME_INTERVEL), /* dwDefaultFrame Interval time, unit=100ns */
0x00, 0x00, 0x00, 0x00, /* dwFrameIntervalStep : No frame interval step supported. */
/* 38 bytes, total size 128 */
/* 4. Operational Alternate Setting 1 */
/* 4.1 Standard VideoStream Interface Descriptor */
0x09, /* Size of this descriptor, in bytes. */
0x04, /* INTERFACE descriptor type */
0x01, /* Index of this interface */
0x01, /* Index of this alternate setting */
0x01, /* endpoints, 0 -- no bandwidth used */
0x0e, /* CC_VIDEO */
0x02, /* SC_VIDEOSTREAMING */
0x00, /* PC_PROTOCOL_UNDEFINED */
0x00, /* Unused */
/* 9 bytes, total size 137 */
/* 4.2 Standard VideoStream Isochronous Video Data Endpoint Descriptor */
0x07, /* Size of this descriptor, in bytes. */
0x05, /* ENDPOINT */
0x81, /* IN endpoint 1 */
0x01, /* Isochronous transfer type. Asynchronous synchronization type. */
MAKE_WORD(PACKET_SIZE), /* Max packet size, in bytes */
0x01, /* One frame interval */
/* 7 bytes, total size 144 */
};
1.3 字符串描述符修改
这里只需要修改StringProduct字符串描述符,修改名称为microphone。
cpp
const uint8_t Speaker_StringProduct[SPEAKER_SIZ_STRING_PRODUCT] =
{
SPEAKER_SIZ_STRING_PRODUCT, /* bLength */
USB_STRING_DESCRIPTOR_TYPE, /* bDescriptorType */
'S', 0, 'T', 0, 'M', 0, '3', 0, '2', 0, ' ', 0,
'C', 0, 'a', 0, 'm', 0, 'e', 0, 'r', 0, 'a', 0
};
1.4 编译报错修改
发现修改了这些位置,会出现报错,我们继续修改,主要修改以下文件:
- usb_desc.c
- usb_desc.h
- usb_prop.c
按照下图修改。
按照上图修改完成,在设备管理器会出现STM32 Camera的设备,证明修改成功,如果修改之后设备管理器没有反应,大概率是D+的上拉电阻没有配对。
2 增加功能函数
2.1 Camera功能模块介绍
由于STM32F103系列没有DCMI外设,如果使用GPIO模拟DCMI时序去读取摄像头数据会显得很卡顿,所以这里仅展示单张图片的显示。
2.2 USB复位函数修改
cpp
/*******************************************************************************
* Function Name : Speaker_Reset.
* Description : Speaker reset routine.
* Input : None.
* Output : None.
* Return : None.
*******************************************************************************/
void Speaker_Reset()
{
/* Set Camera device as not configured state */
pInformation->Current_Configuration = 0;
/* Current Feature initialization */
pInformation->Current_Feature = Speaker_ConfigDescriptor[7];
SetBTABLE(BTABLE_ADDRESS);
/* Initialize Endpoint 0 */
SetEPType(ENDP0, EP_CONTROL);
SetEPTxStatus(ENDP0, EP_TX_NAK);
SetEPRxAddr(ENDP0, ENDP0_RXADDR);
SetEPRxCount(ENDP0, Device_Property.MaxPacketSize);
SetEPTxAddr(ENDP0, ENDP0_TXADDR);
Clear_Status_Out(ENDP0);
SetEPRxValid(ENDP0);
/* Initialize Endpoint 1 */
SetEPType(ENDP1, EP_ISOCHRONOUS);
SetEPDblBuffAddr(ENDP1, ENDP1_BUF0Addr, ENDP1_BUF1Addr);
SetEPDblBuffCount(ENDP1, EP_DBUF_OUT, PACKET_SIZE);
ClearDTOG_RX(ENDP1);
ClearDTOG_TX(ENDP1);
ToggleDTOG_RX(ENDP1);
SetEPRxStatus(ENDP1, EP_RX_DIS);
SetEPTxStatus(ENDP1, EP_TX_VALID);
SetEPRxValid(ENDP0);
/* Set this device to response on default address */
SetDeviceAddress(0);
bDeviceState = ATTACHED;
}
2.3 Speaker_Data_Setup函数修改
增加此函数主要是打开摄像头软件的时候,会请求一些图像的参数,比如像谁,时钟频率等。
cpp
typedef struct _VideoControl
{
uint8_t bmHint[2]; // 0x02
uint8_t bFormatIndex[1]; // 0x03
uint8_t bFrameIndex[1]; // 0x04
uint8_t dwFrameInterval[4]; // 0x08
uint8_t wKeyFrameRate[2]; // 0x0A
uint8_t wPFrameRate[2]; // 0x0C
uint8_t wCompQuality[2]; // 0x0E
uint8_t wCompWindowSize[2]; // 0x10
uint8_t wDelay[2]; // 0x12
uint8_t dwMaxVideoFrameSize[4]; // 0x16
uint8_t dwMaxPayloadTransferSize[4]; // 0x1A
uint8_t dwClockFrequency[4]; // 0x1C
uint8_t bmFramingInfo[1];
uint8_t bPreferedVersion[1];
uint8_t bMinVersion[1];
uint8_t bMaxVersion[1];
} VideoControl;
/*VideoStreaming Requests应答,参考USB_Video_Class_1_1.pdf 4.3.1.1*/
VideoControl videoCommitControl =
{
{0x01, 0x00}, // bmHint
{0x01}, // bFormatIndex
{0x01}, // bFrameIndex
{MAKE_DWORD(FRAME_INTERVEL)}, // dwFrameInterval
{0x00, 0x00,}, // wKeyFrameRate
{0x00, 0x00,}, // wPFrameRate
{0x00, 0x00,}, // wCompQuality
{0x00, 0x00,}, // wCompWindowSize
{0x00, 0x00}, // wDelay
{MAKE_DWORD(MAX_FRAME_SIZE)}, // dwMaxVideoFrameSize
{0x00, 0x00, 0x00, 0x00}, // dwMaxPayloadTransferSize
{0x00, 0x60, 0xe3, 0x16}, // dwClockFrequency
{0x00}, // bmFramingInfo
{0x00}, // bPreferedVersion
{0x00}, // bMinVersion
{0x00}, // bMaxVersion
};
VideoControl videoProbeControl =
{
{0x01, 0x00}, // bmHint
{0x01}, // bFormatIndex
{0x01}, // bFrameIndex
{MAKE_DWORD(FRAME_INTERVEL)}, // dwFrameInterval
{0x00, 0x00,}, // wKeyFrameRate
{0x00, 0x00,}, // wPFrameRate
{0x00, 0x00,}, // wCompQuality
{0x00, 0x00,}, // wCompWindowSize
{0x00, 0x00}, // wDelay
{MAKE_DWORD(MAX_FRAME_SIZE)}, // dwMaxVideoFrameSize
{0x00, 0x00, 0x00, 0x00}, // dwMaxPayloadTransferSize
{0x00, 0x60, 0xe3, 0x16}, // dwClockFrequency
{0x00}, // bmFramingInfo
{0x00}, // bPreferedVersion
{0x00}, // bMinVersion
{0x00}, // bMaxVersion
};
/*******************************************************************************
* Function Name : VideoCommitControl_Command
* Description : Handle the Commit Control.
* Input : Length : uint16_t.
* Output : None.
* Return : The address of the string descriptors.
*******************************************************************************/
uint8_t* VideoCommitControl_Command(uint16_t Length)
{
if (Length == 0)
{
pInformation->Ctrl_Info.Usb_wLength = pInformation->USBwLengths.w;
return NULL;
}
else
{
return ((uint8_t*)(&videoCommitControl));
}
}
/*******************************************************************************
* Function Name : VideoProbeControl_Command
* Description : Handle the Probe Control.
* Input : Length : uint16_t.
* Output : None.
* Return : The address of the string descriptors.
*******************************************************************************/
uint8_t* VideoProbeControl_Command(uint16_t Length)
{
if (Length == 0)
{
pInformation->Ctrl_Info.Usb_wLength = pInformation->USBwLengths.w;
return NULL;
}
else
{
return ((uint8_t*)(&videoProbeControl));
}
}
/*******************************************************************************
* Function Name : Speaker_Data_Setup
* Description : Handle the data class specific requests.
* Input : None.
* Output : None.
* Return : USB_UNSUPPORT or USB_SUCCESS.
*******************************************************************************/
RESULT Speaker_Data_Setup(uint8_t RequestNo)
{
uint8_t *(*CopyRoutine)(uint16_t);
CopyRoutine = NULL;
if ((RequestNo == GET_CUR) || (RequestNo == SET_CUR))
{
if (pInformation->USBwIndex == 0x0100)
{
if (pInformation->USBwValue == 0x0001)
{
// Probe Control
CopyRoutine = VideoProbeControl_Command;
}
else if (pInformation->USBwValue == 0x0002)
{
// Commit control
CopyRoutine = VideoCommitControl_Command;
}
}
}
else
{
return USB_UNSUPPORT;
}
pInformation->Ctrl_Info.CopyData = CopyRoutine;
pInformation->Ctrl_Info.Usb_wOffset = 0;
(*CopyRoutine)(0);
return USB_SUCCESS;
}
2.4 非零端点函数修改
因为这个是Microphone,是同步In传输,所以需要屏蔽OUT函数(usb_endp.c文件中),并增加In函数。
jpeg_data数组是单帧JPEG图片数据。
cpp
#include "usb_desc.h"
#include <string.h>
#define JPEG_SIZE 10000
const unsigned char jpeg_data[JPEG_SIZE] = {
//JPEG图片数据
};
/*******************************************************************************
* Function Name : EP1_IN_Callback
* Description : Endpoint 1 in callback routine.
* Input : None.
* Output : None.
* Return : None.
*******************************************************************************/
uint8_t packet[PACKET_SIZE]={0x00};
void EP1_IN_Callback(void)
{
static uint8_t payload_header[2] = {0x02,0x00};
static uint16_t packet_count = JPEG_SIZE/(PACKET_SIZE-2);
static uint8_t packet_remainder = JPEG_SIZE%(PACKET_SIZE-2);
static uint8_t packet_index = 0;
uint16_t packet_size = 0;
if(packet_index == 0)
{
payload_header[1]^=0x01;
memcpy(packet+2, jpeg_data+packet_index*(PACKET_SIZE-2), PACKET_SIZE-2);
packet_size = PACKET_SIZE;
}
else if(packet_index < packet_count)
{
memcpy(packet+2, jpeg_data+packet_index*(PACKET_SIZE-2), PACKET_SIZE-2);
packet_size = PACKET_SIZE;
}
else if(packet_index == packet_count)
{
memcpy(packet+2, jpeg_data+packet_index*(PACKET_SIZE-2), packet_remainder);
packet_size = packet_remainder+2;
}
else
{
packet_size = 2;
}
packet[0] = payload_header[0];
packet[1] = payload_header[1];
if (GetENDPOINT(ENDP1) & EP_DTOG_RX)
{
SetEPTxCount(ENDP1, PACKET_SIZE);
UserToPMABufferCopy((uint8_t*)packet, ENDP1_BUF0Addr, packet_size);
}
else
{
SetEPTxCount(ENDP1, PACKET_SIZE);
UserToPMABufferCopy((uint8_t*)packet, ENDP1_BUF1Addr, packet_size);
}
SetEPTxValid(ENDP1);
FreeUserBuffer(ENDP1, EP_DBUF_OUT);
packet_index += 1;
if(packet_index >= (packet_count+1))
{
packet_index = 0;
}
}
2.5 JEPG数据获取
获取JPEG图片数据的方法比较简单,方法如下:
1. 网上下载一张JPG格式的图片,如果下载不到,可以使用在线图片转换器进行图片格式的转换;
2. 使用《画图》工具调整图片的尺寸为320*240像素;
3. 使用《winhex》工具,把图片转换成8位的数组。
4. 创建txt文档,把刚才复制的数据粘贴出来。
cpp
const unsigned char jpeg_data[JPEG_SIZE] = {
0xFF, 0xD8, 0xFF, 0xE0, 0x00, 0x10, 0x4A, 0x46, 0x49, 0x46, 0x00, 0x01, 0x01, 0x01, 0x00, 0x60,
0x00, 0x60, 0x00, 0x00, 0xFF, 0xE1, 0x00, 0x22, 0x45, 0x78, 0x69, 0x66, 0x00, 0x00, 0x4D, 0x4D,
0x00, 0x2A, 0x00, 0x00, 0x00, 0x08, 0x00, 0x01, 0x01, 0x12, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01,
0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFE, 0x00, 0x3F, 0x43, 0x52, 0x45, 0x41,
0x54, 0x4F, 0x52, 0x3A, 0x20, 0x67, 0x64, 0x2D, 0x6A, 0x70, 0x65, 0x67, 0x20, 0x76, 0x31, 0x2E,
0x30, 0x20, 0x28, 0x75, 0x73, 0x69, 0x6E, 0x67, 0x20, 0x49, 0x4A, 0x47, 0x20, 0x4A, 0x50, 0x45,
0x47, 0x20, 0x76, 0x36, 0x32, 0x29, 0x2C, 0x20, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6C, 0x74, 0x20,
0x71, 0x75, 0x61, 0x6C, 0x69, 0x74, 0x79, 0x0A, 0x00, 0xFF, 0xDB, 0x00, 0x43, 0x00, 0x02, 0x01,
0x01, 0x02, 0x01, 0x01, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x03, 0x05, 0x03, 0x03,
0x03, 0x03, 0x03, 0x06, 0x04, 0x04, 0x03, 0x05, 0x07, 0x06, 0x07, 0x07, 0x07, 0x06, 0x07, 0x07,
0x08, 0x09, 0x0B, 0x09, 0x08, 0x08, 0x0A, 0x08, 0x07, 0x07, 0x0A, 0x0D, 0x0A, 0x0A, 0x0B, 0x0C,
0x0C, 0x0C, 0x0C, 0x07, 0x09, 0x0E, 0x0F, 0x0D, 0x0C, 0x0E, 0x0B, 0x0C, 0x0C, 0x0C, 0xFF, 0xDB,
0x00, 0x43, 0x01, 0x02, 0x02, 0x02, 0x03, 0x03, 0x03, 0x06, 0x03, 0x03, 0x06, 0x0C, 0x08, 0x07,
0x08, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C,
0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C,
0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C,
0x0C, 0x0C, 0x0C, 0xFF, 0xC0, 0x00, 0x11, 0x08, 0x00, 0xF0, 0x01, 0x40, 0x03, 0x01, 0x22, 0x00,
0x02, 0x11, 0x01, 0x03, 0x11, 0x01, 0xFF, 0xC4, 0x00, 0x1F, 0x00, 0x00, 0x01, 0x05, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x02, 0x03, 0x04,
0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0xFF, 0xC4, 0x00, 0xB5, 0x10, 0x00, 0x02, 0x01, 0x03,
0x03, 0x02, 0x04, 0x03, 0x05, 0x05, 0x04, 0x04, 0x00, 0x00, 0x01, 0x7D, 0x01, 0x02, 0x03, 0x00,
0x04, 0x11, 0x05, 0x12, 0x21, 0x31, 0x41, 0x06, 0x13, 0x51, 0x61, 0x07, 0x22, 0x71, 0x14, 0x32,
0x81, 0x91, 0xA1, 0x08, 0x23, 0x42, 0xB1, 0xC1, 0x15, 0x52, 0xD1, 0xF0, 0x24, 0x33, 0x62, 0x72,
0x82, 0x09, 0x0A, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2A, 0x34, 0x35,
0x36, 0x37, 0x38, 0x39, 0x3A, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49, 0x4A, 0x53, 0x54, 0x55,
0x56, 0x57, 0x58, 0x59, 0x5A, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69, 0x6A, 0x73, 0x74, 0x75,
0x76, 0x77, 0x78, 0x79, 0x7A, 0x83, 0x84, 0x85, 0x86, 0x87, 0x88, 0x89, 0x8A, 0x92, 0x93, 0x94,
0x95, 0x96, 0x97, 0x98, 0x99, 0x9A, 0xA2, 0xA3, 0xA4, 0xA5, 0xA6, 0xA7, 0xA8, 0xA9, 0xAA, 0xB2,
0xB3, 0xB4, 0xB5, 0xB6, 0xB7, 0xB8, 0xB9, 0xBA, 0xC2, 0xC3, 0xC4, 0xC5, 0xC6, 0xC7, 0xC8, 0xC9,
0xCA, 0xD2, 0xD3, 0xD4, 0xD5, 0xD6, 0xD7, 0xD8, 0xD9, 0xDA, 0xE1, 0xE2, 0xE3, 0xE4, 0xE5, 0xE6,
0xE7, 0xE8, 0xE9, 0xEA, 0xF1, 0xF2, 0xF3, 0xF4, 0xF5, 0xF6, 0xF7, 0xF8, 0xF9, 0xFA, 0xFF, 0xC4,
0x00, 0x1F, 0x01, 0x00, 0x03, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0xFF,
0xC4, 0x00, 0xB5, 0x11, 0x00, 0x02, 0x01, 0x02, 0x04, 0x04, 0x03, 0x04, 0x07, 0x05, 0x04, 0x04,
0x00, 0x01, 0x02, 0x77, 0x00, 0x01, 0x02, 0x03, 0x11, 0x04, 0x05, 0x21, 0x31, 0x06, 0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xA2, 0x8A, 0x28, 0x03, 0xFF, 0xD9
};
3 运行演示
- 正确下载程序,能够在设备管理器查看到Camera设备。
- 打开系统自带的照相机软件,显示如下图。
- 逻辑分析仪抓取波形如下,同步传输没有ACK包。
接下来讲解STM32 USB 复合设备传输通信实验,敬请期待。。。