USB -- STM32F103 USB VIDEO(视频)Camera同步传输讲解(九)

news2024/11/24 2:39:23

目录

链接快速定位

前沿  

1 描述符修改

1.1 设备描述符修改

1.2 配置描述符修改

1.3 字符串描述符修改

1.4 编译报错修改

2 增加功能函数

2.1 Camera功能模块介绍

2.2 USB复位函数修改

2.3 Speaker_Data_Setup函数修改

2.4 非零端点函数修改

2.5 JEPG数据获取

3 运行演示


链接快速定位

USB -- 初识USB协议(一)

源码下载请参考链接: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传输)讲解(八)

Video参考手册

前沿  

        前面两节主要是对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文件的描述符宏定义如下:


/*预定义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 设备描述符修改

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 配置描述符修改

        这里包括:

  • 接口描述符
  • 功能描述符
  • 端点描述符
/* 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。

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复位函数修改

/*******************************************************************************
* 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函数修改

        增加此函数主要是打开摄像头软件的时候,会请求一些图像的参数,比如像谁,时钟频率等。

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图片数据。

#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文档,把刚才复制的数据粘贴出来。

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, 0x12, 0x41, 
	0x51, 0x07, 0x61, 0x71, 0x13, 0x22, 0x32, 0x81, 0x08, 0x14, 0x42, 0x91, 0xA1, 0xB1, 0xC1, 0x09, 
	0x23, 0x33, 0x52, 0xF0, 0x15, 0x62, 0x72, 0xD1, 0x0A, 0x16, 0x24, 0x34, 0xE1, 0x25, 0xF1, 0x17, 
	0x18, 0x19, 0x1A, 0x26, 0x27, 0x28, 0x29, 0x2A, 0x35, 0x36, 0x37, 0x38, 0x39, 0x3A, 0x43, 0x44, 
	0x45, 0x46, 0x47, 0x48,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, 0xDA, 0x7F, 0xC1, 0xC6, 0x5F, 0xB1, 0x7D, 0xF3, 0xAA, 0xC7, 0xF1, 0xC3, 0x49, 0x1B, 
	0xB0, 0x41, 0x7D, 0x0B, 0x56, 0x45, 0x00, 0xF4, 0xC9, 0x6B, 0x50, 0x07, 0xE3, 0x5E, 0x9B, 0xF0, 
	0xCF, 0xFE, 0x0A, 0xF5, 0xFB, 0x2F, 0xFC, 0x5E, 0xB9, 0x86, 0x0D, 0x07, 0xE3, 0xD7, 0xC2, 0xEB, 
	0x8B, 0x9B, 0x8E, 0x23, 0x82, 0xE7, 0x5F, 0x82, 0xCA, 0x67, 0x3D, 0x70, 0x12, 0x72, 0x8C, 0x4F, 
	0xB6, 0x33, 0x40, 0x1F, 0x46, 0xD1, 0x55, 0x74, 0x6D, 0x6E, 0xCF, 0xC4, 0x7A, 0x64, 0x37, 0xDA, 
	0x7D, 0xDD, 0xAD, 0xFD, 0x95, 0xC2, 0xEF, 0x8A, 0xE2, 0xDA, 0x55, 0x96, 0x29, 0x47, 0xAA, 0xB2, 
	0x92, 0x08, 0xF7, 0x06, 0xAD, 0x50, 0x01, 0x45, 0x14, 0x50, 0x01, 0x45, 0x14, 0x50, 0x01, 0x45, 
	0x14, 0x50, 0x01, 0x45, 0x14, 0x50, 0x01, 0x45, 0x14, 0x50, 0x01, 0x45, 0x14, 0x50, 0x01, 0x45, 
	0x14, 0x50, 0x01, 0x45, 0x14, 0x50, 0x01, 0x45, 0x14, 0x50, 0x01, 0x45, 0x14, 0x50, 0x01, 0x45, 
	0x14, 0x50, 0x01, 0x45, 0x14, 0x50, 0x01, 0x45, 0x14, 0x50, 0x01, 0x45, 0x14, 0x50, 0x01, 0x45, 
	0x14, 0x50, 0x01, 0x41, 0x38, 0x14, 0x13, 0x8A, 0xFC, 0xDD, 0xFF, 0x00, 0x82, 0xEA, 0x7F, 0xC1, 
	0x75, 0x34, 0xFF, 0x00, 0xF8, 0x27, 0x26, 0x88, 0x3E, 0x1F, 0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0x8A, 0x28, 0x00, 0xA2, 0x8A, 0x28, 0x00, 0xA2, 0x8A, 0x28, 0x00, 0xA2, 0x8A, 0x28, 
	0x00, 0xA2, 0x8A, 0x28, 0x00, 0xA2, 0x8A, 0x28, 0x00, 0xA2, 0x8A, 0x28, 0x00, 0xA2, 0x8A, 0x28, 
	0x00, 0xA2, 0x8A, 0x28, 0x00, 0xA2, 0x8A, 0x28, 0x00, 0xA2, 0x8A, 0x28, 0x00, 0xA2, 0x8A, 0x28, 
	0x00, 0xA2, 0x8A, 0x28, 0x00, 0xA2, 0x8A, 0x28, 0x03, 0xFF, 0xD9
};

3 运行演示

1. 正确下载程序,能够在设备管理器查看到Camera设备。

2. 打开系统自带的照相机软件,显示如下图。

3. 逻辑分析仪抓取波形如下,同步传输没有ACK包。

接下来讲解STM32 USB 复合设备传输通信实验,敬请期待。。。

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/1343329.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

IDEA使用HDFS的JavaApi

注&#xff1a;以下代码操作是利用junit在java测试文件夹中实现。 1. 准备工作 1.1 创建测试类 创建测试类&#xff0c;并定义基本变量 public class HDFSJAVAAPI {// 定义后续会用到的基本变量public final String HDFS_PATH "hdfs://hadoop00/";Configuration …

骑砍战团MOD开发(27)-module_tableau_materials.py材质

一.配置材质资源 OpenBrf寻找对应材质资源. tableau配置材质资源 ("round_shield_1", 0, "sample_shield_round_1", 512, 256, 0, 0, 0, 0,[(store_script_param, ":banner_mesh", 1),(set_fixed_point_multiplier, 100),(init_position, pos1),…

基于Freeswitch实现的Volte网视频通知应用

现在运营商的Volte网络已经很好的支持视频通话了&#xff0c;因此在原来的电话语音通知的基础上&#xff0c;可以更进一步实现视频的通知&#xff0c;让用户有更好的体验&#xff0c;本文就从技术角度&#xff0c;基于Freeswitch来实现此类应用&#xff08;本文假设读者已对Fre…

【Maven】linux部署maven

简介 最近学习hyperledger-fabric超级账本&#xff08;区块链&#xff09;&#xff0c;需要使用到java和maven&#xff0c;所以重新学习了一下如何部署maven&#xff0c;这里附上参考文档。在附上官方网站的下载地址&#xff1a;https://maven.apache.org/download.cgi。首先去…

刷算法-- leetcode 96. 不同的二叉搜索树

思路 观察树的组成&#xff0c;可以发现n3时的二叉搜索树可以由&#xff0c;头节点分别为1、2、3时的所有结果组成&#xff01;定义dp[i]为由i个节点组成的二叉搜索树的个数。确定递推公式&#xff0c;dp[i] 由1为头节点组成的二叉搜索树个数由2为头组成的个数…由i为头节点组…

idea远程开发环境搭建

idea远程开发环境搭建 一、安装包下载二、环境准备2.1服务器端jdk、maven安装&#xff0c;代码下载略2.2JetBrainsClients下载配置 三、远程环境配置3.1 创建项目3.2 填写服务器连接信息![在这里插入图片描述](https://img-blog.csdnimg.cn/direct/4aa09073af5e4a66a5e83e7c5d1…

《异常检测——从经典算法到深度学习》25 基于深度隔离林的异常检测算法

《异常检测——从经典算法到深度学习》 0 概论1 基于隔离森林的异常检测算法 2 基于LOF的异常检测算法3 基于One-Class SVM的异常检测算法4 基于高斯概率密度异常检测算法5 Opprentice——异常检测经典算法最终篇6 基于重构概率的 VAE 异常检测7 基于条件VAE异常检测8 Donut: …

《论文阅读:Backdoor Attacks Against Dataset Distillation》

数据浓缩下的后门攻击 1. 摘要 数据集蒸馏已成为训练机器学习模型时提高数据效率的一项重要技术。它将大型数据集的知识封装到较小的综合数据集中。在这个较小的蒸馏数据集上训练的模型可以获得与在原始训练数据集上训练的模型相当的性能。然而&#xff0c;现有的数据集蒸馏技…

儿童学python语言能做什么,孩子学python哪个机构好

大家好&#xff0c;小编为大家解答儿童学python语言能做什么的问题。很多人还不知道孩子学python哪个机构好&#xff0c;现在让我们一起来看看吧&#xff01; Source code download: 本文相关源码 我们准备了很久的Python3课程终于要来了。 为什么Python3课程花了我们这么久的时…

draw.io学习笔记

1、链接 1.1、自动连接图形 鼠标放在图形上&#xff0c;点击出现的箭头&#xff0c;会自动出常用图形 1.2、固定连接 如果拖动其中一个图形的话&#xff0c;固定链接的形状会是曲线连过去。 方法&#xff1a;不要点击左边图形鼠标放在边框上面左边出现绿圆点鼠标左键点击图形的…

【模拟电路】常见电子元器件

一、常见电子元器件 二、电阻器 三、电容器 四、电感器 五、电容电感组成LRC振荡电路 六、保险丝、熔断器 七、锂电池 八、接插件 九、蜂鸣器 立创商城_一站式电子元器件采购自营商城-嘉立创电子商城 华秋商城(原"华强芯城")官网_电子元器件采购网_自营现货电子元器…

Python之自然语言处理库snowNLP

一、介绍 SnowNLP是一个python写的类库&#xff0c;可以方便的处理中文文本内容&#xff0c;是受到了TextBlob的启发而写的&#xff0c;由于现在大部分的自然语言处理库基本都是针对英文的&#xff0c;于是写了一个方便处理中文的类库&#xff0c;并且和TextBlob不同的是&…

【Azure 架构师学习笔记】- Azure Databricks (4) - 使用Azure Key Vault 管理ADB Secret

本文属于【Azure 架构师学习笔记】系列。 本文属于【Azure Databricks】系列。 接上文 【Azure 架构师学习笔记】- Azure Databricks (3) - 再次认识DataBricks 前言 Azure Databricks有access token&#xff0c;是具有ADB内部最高权限的token。在云环境中这些高级别权限的sec…

Javaweb小案例-基于SpringBoot+Vue实现的Timo商城

前言 Timo商城是基于Springbootvue的web商城系统&#xff0c;包含了商城的后台管理系统手机端微信小程序端 底层采用web-flash作为底层基础框架搭建 基本功能包含一下模块基础模块 部门管理用户管理角色管理菜单管理权限分配参数管理数据字典管理定时任务管理操作日志登录日志…

写回(write back)与 写分配(write allocate)的差异

写回&#xff08;write back&#xff09;&#xff1a; 写回是一种缓存策略&#xff0c;它延迟将修改后的数据写入主存。当发生写入操作时&#xff0c;修改的数据首先被写入缓存中。相应的缓存行被标记为“脏”&#xff0c;表示已经被修改。写操作在此时被视为完成&#xff0c;…

饥荒Mod 开发(二五):常用组件 总结

饥荒Mod 开发(二四)&#xff1a;制作一把万能工具 在前面的文章介绍了很多和饥荒相关的知识点&#xff0c;做了很多有趣的东西&#xff0c;接下来简单做个总结&#xff0c;总结一下组件的用法 组件用法 一个预制物可以添加多个组件&#xff0c;每个组件会有自己的功能&#x…

模板匹配方法

模板匹配 类似于卷积&#xff0c;模板在原图像上从原点进行滑动&#xff0c;计算模板与原图像被覆盖的地方的差别程度&#xff0c;共用6种计算方法&#xff0c;将每次计算的结果放到一个矩阵里&#xff0c;作为结果输出。 假如原图像大小为AxB&#xff0c;模板为axb&#xff0…

启动springboot时报错 APPLICATION FAILED TO START 包冲突

启动springboot时报错 APPLICATION FAILED TO START 包冲突 problem 具体日志如下 *************************** APPLICATION FAILED TO START ***************************Description:An attempt was made to call a method that does not exist. The attempt was made fr…

【开源】基于Vue+SpringBoot的公司货物订单管理系统

目录 一、摘要1.1 项目介绍1.2 项目录屏 二、功能模块2.1 客户管理模块2.2 商品维护模块2.3 供应商管理模块2.4 订单管理模块 三、系统展示四、核心代码4.1 查询供应商信息4.2 新增商品信息4.3 查询客户信息4.4 新增订单信息4.5 添加跟进子订单 五、免责说明 一、摘要 1.1 项目…

GLTF编辑器实现逼真的石门模型

在线工具推荐&#xff1a; 3D数字孪生场景编辑器 - GLTF/GLB材质纹理编辑器 - 3D模型在线转换 - Three.js AI自动纹理开发包 - YOLO 虚幻合成数据生成器 - 三维模型预览图生成器 - 3D模型语义搜索引擎 在凹凸贴图中&#xff0c;每个像素点都包含了一个法线向量&#xff0…