cancel
Showing results for 
Search instead for 
Did you mean: 

Incorrect register in LL_UCPD_ReadRxPaySize function

Alexandration
Associate
/** 
  * @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

4 REPLIES 4
Amel NASRI
ST Employee

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

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.

HFISTM
ST Employee

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.

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.

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