I am trying to use this function:USBH_StatusTypeDef USBH_HID_SetReport(USBH_HandleTypeDef *phost,
uint8_t reportType,
uint8_t reportId,
uint8_t *reportBuff,
uint8_t reportLen...
I have HID keyboard running on HS and trying to add a touch screen on FSbut when it enumerates the touch screen has a pif->bInterfaceSubClass = 0 , causing a fail in USBH_FindInterface pif->bInterfaceSubClass is automatically populated by the Touch ...
I use "sprintf (string,"comment"); everywhere now for some reason, I am getting a hardfault. in an innocuous print.length += sprintf(String + length, "Received Packet from ");length is only 15.String is declared as char String[256];I guess it is us...
You might have to move the function to another pin.You can set the initial state of most of the pins, but not Reset.This is a hardware function. It needs to be high to accept an incoming Reset signal.
I have the same STM32C031 running a SHT40 on this new prototype. (Now running correctly)The code is Cube assisted and running on Visual Studio.I have the Vcc at 2.2v and had a similar issue.I was getting nothing on the IIC pins on the scope.In the cu...