cancel
Showing results for 
Search instead for 
Did you mean: 

IS_I3C_PRIVATE_MODE in stm32c5xx_hal_i3c.c

Hello,

 

I am working on I3C private transfers. When I build the context buffer with HAL_I3C_CTRL_BuildTransferCtxPrivate I get an assert when IS_I3C_PRIVATE_MODE is checked against HAL_I3C_PRIVATE_WITH_ARB_RESTART.

Is the exclusion of HAL_I3C_PRIVATE_WITH_ARB_RESTART from the macro below intentional?

stm32c5xx_hal_i3c.c: line 574

#define IS_I3C_PRIVATE_MODE(MODE) (((MODE) == HAL_I3C_PRIVATE_WITH_ARB_STOP)                 \
                                   || ((MODE) == HAL_I3C_PRIVATE_WITHOUT_ARB_RESTART)        \
                                   || ((MODE) == HAL_I3C_PRIVATE_WITHOUT_ARB_STOP)           \
                                   || ((MODE) == HAL_I2C_PRIVATE_WITH_ARB_RESTART)           \
                                   || ((MODE) == HAL_I2C_PRIVATE_WITH_ARB_STOP)              \
                                   || ((MODE) == HAL_I2C_PRIVATE_WITHOUT_ARB_RESTART)        \
                                   || ((MODE) == HAL_I2C_PRIVATE_WITHOUT_ARB_STOP))

 Thank you,

-Gil

1 ACCEPTED SOLUTION

Accepted Solutions
Saket_Om
ST Employee

Hello @gil_dobjanschi 

Thank you for bringing this issue to our attention.

I reported this internally.

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

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.
Saket_Om

View solution in original post

1 REPLY 1
Saket_Om
ST Employee

Hello @gil_dobjanschi 

Thank you for bringing this issue to our attention.

I reported this internally.

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

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.
Saket_Om
Announcement

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.