Skip to main content
Visitor II
December 2, 2021
Question

Incorrect register in LL_UCPD_ReadRxPaySize function

  • December 2, 2021
  • 2 replies
  • 1293 views
/** 
 * @brief Read the Rx paysize 
 * @rmtoll TX_PAYSZ TXPAYSZ LL_UCPD_ReadRxPaySize 
 * @param UCPDx UCPD Instance 
 * @retval RXPaysize. 
 */ 
__STATIC_INLINE uint32_t LL_UCPD_ReadRxPaySize(UCPD_TypeDef const *const UCPDx) 
{ 
 return READ_BIT(UCPDx->TX_PAYSZ, UCPD_RX_PAYSZ_RXPAYSZ); 
} 

Firmware package: STM32Cube_FW_G4_V.1.5.0

Need to change TX_PAYSZ to RX_PAYSZ

    This topic has been closed for replies.

    2 replies

    Technical Moderator
    December 6, 2021

    Hi @Alexandration​ ,

    Thanks for reporting this issue.

    I tracked it internally to be fixed by our development team.

    Internal ticket number: 118982 (PS: This is an internal tracking number and is not accessible or usable by customers).

    Amel

    ST Employee
    January 27, 2022

    Hi @Alexandration​ 

    Thank you for reporting this issue.

    It has been fixed on our side and is currently being deployed. This update will be available in future releases.

    Best regards.

    Visitor II
    July 2, 2022

    Hi @HFISTM​ 

    Just updated to 1.51 (No release notes describing the diferences in CubeIDE) and a grep reveals that this issue isn't fixed. I have been having trouble to get UCPD to work in G4 wonder if this is the culprit.

    ST Employee
    July 4, 2022

    Hi @Correa​,

    I just checked our tracker, the patch has been postponed to 1.5.2. Sorry about the delay.

    If you have trouble making UCPD to work because of something, I advise you to open a new thread in this forum.

    Thank you and sorry again for the delay,

    Heol