2016-06-15 08:31 AM
According to RM0351 Rev.4, all OTG_GINTSTS (interrupt status register) bits are rc_w1 (except those which are read-only or reserved). However, the macro supposed to be used for clearing these bits in [STM32Cube_FW_L4_V1.5.0]\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_hal_pcd.h goes:
#define __HAL_PCD_CLEAR_FLAG(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->GINTSTS) &= (__INTERRUPT__)) Not a hard bug, but IMO the RMW is redundant. Am I overlooking something? JW2017-06-02 04:06 AM
Any news?
Meantime, things got worse. I am mostly interested in answer on question nr.4 the mysterious bits in DOEPINT.
Comparing old and new (v1.8) CubeL4:
And of course, not a iota of the Core ID register, or bits 5 and 15 in DOEPINT, in RM0351, as of now rev.5.
Can please this be resolved in less than a few years?
Thanks,
Jan Waclawek
2017-06-02 09:23 AM
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2017-06-02 09:43 AM
Alreadu updated:
INEPNE is “r� (read only), B2BSETUP is “rc_w1�.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2017-06-02 09:45 AM
Bits 5 and 15 of DOEPINT shouldn't be reserved ==> to be confirmed and description of bits will be provided soon
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2017-06-06 07:23 AM
Issue fixed since the version 1.0 of STM32CubeF4 package adding this call:
/* Get hclk frequency value */
hclk = HAL_RCC_GetHCLKFreq();�?�?
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2017-06-06 07:58 AM
This error is already tracked internally, but it seems fix not yet applied. I will check this.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2017-06-06 08:17 AM
The context seems to be missing, as if there is a post lost in this discussion.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2017-06-06 08:43 AM
In attachment the saved content of this thread from the old forum in MHTML format, together with Tsuneo's post.
Jan
________________ Attachments : Forum - 'L4 Cube - clearing OTG_GINTSTS bits - STMicroelectronics.mht : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HycU&d=%2Fa%2F0X0000000bAA%2FdzUVxWWkDMfySkGWbYO6Qwl7_sYoRA4zIRRXWJ1ATnk&asPdf=false2017-06-06 08:52 AM
And the post from
to_deletest
mentioned in my post previous to Tsuneo's .Jan
2017-06-07 04:24 AM
Thanks Jan.
That's strange how post got lost.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.