Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CAN driver - comparison between HAL Driver and Standard Peripheral Driver #39

Open
carlo-dev-git opened this issue Feb 3, 2025 · 2 comments
Assignees
Labels
can Controller Area Network hal HAL-LL driver-related issue or pull-request. internal bug tracker Issue confirmed and logged into the internal bug tracking system question Further information is requested

Comments

@carlo-dev-git
Copy link

From STM32F4xx Standard Peripherals Drivers V1.8.1 (27-January-2022) release notes:

stm32f4xx_can.c:

  • Update to avoid race condition
    • Update CAN_Receive(), CAN_FIFORelease() & CAN_CancelTransmit() APIs to use '=' instead of '|='.

Analyzing the current code of the file stm32f4xx_hal_can.c you can still see the use of SET_BIT().
Is this race condition not present in the HAL driver and/or has it been resolved elsewhere?

@ALABSTM ALABSTM added the question Further information is requested label Feb 5, 2025
@ALABSTM ALABSTM added hal HAL-LL driver-related issue or pull-request. can Controller Area Network labels Feb 5, 2025
@ASEHSTM
Copy link

ASEHSTM commented Feb 11, 2025

Hello @carlo-dev-git,

Thank you for your report. This point has been tracked internally.

With Regards,

@ASEHSTM
Copy link

ASEHSTM commented Feb 11, 2025

ST Internal Reference: 202753

@ASEHSTM ASEHSTM added the internal bug tracker Issue confirmed and logged into the internal bug tracking system label Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
can Controller Area Network hal HAL-LL driver-related issue or pull-request. internal bug tracker Issue confirmed and logged into the internal bug tracking system question Further information is requested
Projects
Development

No branches or pull requests

3 participants