Hi,I have found it too.I worked around as: ( in USBH_CtrReg.c) add static uint16_t timeout value;in case CMD_WAIT, add timeout handle.USBH_StatusTypeDef USBH_CtlReq (USBH_HandleTypeDef *phost, uint8_t *buff, u...
Posted on January 23, 2017 at 07:52
Hi,
You use HAL_UART_Receive_DMA(&huart1, (uint8_t *)rxbytes, 32)
may received maxium 32 bytes, but receive various size of data (strings),
so you CAN use UART_IT_IDLE interrupt to solve it.
__HAL_UAR...
Posted on January 21, 2017 at 15:02void HAL_I2C_MspInit(I2C_HandleTypeDef* i2cHandle){GPIO_InitTypeDef GPIO_InitStruct; if(i2cHandle->Instance==I2C1) { /* USER CODE BEGIN I2C1_MspInit 0 *//* USER CODE END I2C1_MspInit 0 */.... __HAL_LINKDMA(i2cHandl...
Posted on January 20, 2017 at 02:36Hello,When you use DMA with I2C to Transmit or Receive data, you should Enable I2Cx_ER_IRQn and I2Cx_EV_IRQn interrupts. because they all called I2C_DMAXferCplt (hi2c->hdmarx->XferCpltCallback = I2C_DMAXferCplt) a...