User Activity

Posted on May 19, 2015 at 22:07Functions in usbd_cdc.c which return values of USBD_StatusTypeDef as defined in usbd_def.h (e.g USBD_OK) are defined as uint_8.This causes IAR to issue ''enumerated type mixed with another type'' errors when properly t...
Posted on May 13, 2015 at 01:18 * @file    usbd_cdc.c  * @author  MCD Application Team  * @version V2.4.0  * @date    28-February-2015Line 658:  * @brief  usbd_audio_DataInshould read:  * @brief  usbd_CDC_DataIn  since this file deals with CDC funct...
Posted on April 23, 2015 at 03:20The function (as defined in usbd_cdc.c) uint8_t  USBD_CDC_TransmitPacket(USBD_HandleTypeDef *pdev)in fact returns values of type USBD_StatusTypeDef, not uint8_t.This causes type collisions, and IAR warnings of the fo...
Posted on February 20, 2015 at 03:04The usbd_desc.h file in STM32CubeF4 contains&sharpdefine         DEVICE_ID1          (0x1FFF7A10)&sharpdefine         DEVICE_ID2          (0x1FFF7A14)&sharpdefine         DEVICE_ID3          (0x1FFF7A18)Since the ...
Posted on February 10, 2015 at 18:29I am working with a slave I2C device (Kionix KX022 acccelerometer)  which uses a ''repeated start'' mechanism to send data requested by the master (STM32F405), e.g. to read two bytes of data (from register N and r...