cancel
Showing results for 
Search instead for 
Did you mean: 

Is this a bug in STM32Cube_FW_F1_V1.6.0?

one V
Associate III
Posted on November 15, 2017 at 09:39

CAN

 ******************************************************************************

  * @file    stm32f1xx_hal_can.h

  * @author  MCD Application Team

  * @version V1.1.1

  * @date    12-May-2017

  * @brief   Header file of CAN HAL module.

  ******************************************************************************

#define CAN_FLAG_TXOK0             ((uint32_t)((TSR_REGISTER_INDEX << 8U) | CAN_TSR_TXOK0_BIT_POSITION))  /*!< Transmission OK MailBox0 flag */

#define CAN_FLAG_TXOK1             ((uint32_t)((TSR_REGISTER_INDEX << 8U) | CAN_TSR_TXOK1_BIT_POSITION))  /*!< Transmission OK MailBox1 flag */

#define CAN_FLAG_TXOK2             ((uint32_t)((TSR_REGISTER_INDEX << 8U) |

CAN_TSR_RQCP0_BIT_POSITION

))  /*!< Transmission OK MailBox2 flag */

it should be

CAN_TSR_TXOK2_BIT_POSITION

-------------------------------------------------------------------------------------------------------------------------------------------------

AFIO

/**

  * @brief Enable the remapping of SPI1 alternate function NSS, SCK, MISO and MOSI.

  * @note  ENABLE: Remap     (NSS/PA15, SCK/PB3, MISO/PB4, MOSI/PB5)

  * @retval None

  */

#define __HAL_AFIO_REMAP_SPI1_ENABLE()  SET_BIT(AFIO->MAPR,

AFIO_MAPR_SPI1_REMAP

AFIO_MAPR_SPI1_REMAP   ======>

AFIO_MAPR_SPI1_REMAP|AFIO_MAPR_SWJ_CFG

/**

  * @brief Disable the remapping of SPI1 alternate function NSS, SCK, MISO and MOSI.

  * @note  DISABLE: No remap (NSS/PA4,  SCK/PA5, MISO/PA6, MOSI/PA7)

  * @retval None

  */

#define __HAL_AFIO_REMAP_SPI1_DISABLE()

CLEAR_BIT(

AFIO->MAPR, AFIO_MAPR_SPI1_REMA)

CLEAR_BIT=====>

MODIFY_REG

3 REPLIES 3
Imen.D
ST Employee
Posted on November 15, 2017 at 16:49

Hello, 

I will check your reported issue and come back to you as soon as possible.

Best Regards

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Imen.D
ST Employee
Posted on November 21, 2017 at 13:16

Hello

v.v.010

,

Thank you for your reported issues.

I confirm CAN issue and raised it internally to the appropriate team for fix.

About SPI1 REMAP issue, could you please precise which device F1 are yous using ?

Best Regards

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Posted on December 19, 2017 at 17:03

Hi,

What I really do not understand is why ST does not use any Source Control System like Github, Bitbucket or a own Gitlab Solution with Issue Tracking. That would be an improvement for everything.