Search found 6 matches

by Emara
Tue Feb 17, 2026 7:20 am
Forum: ChibiOS/HAL
Topic: I2Cv2 driver
Replies: 3
Views: 3302

Re: I2Cv2 driver

Hi thanks for replying,

Yes, for the first point of NACK,the driver reports I2C_ACK_FAILURE, then the driver needs to be restarted by upper layer to recover.
regarding the second point it is hard to reproduce but under high noise environment i get different kinds of errors that's okay, but the ...
by Emara
Mon Feb 16, 2026 12:03 pm
Forum: ChibiOS/HAL
Topic: I2Cv2 driver
Replies: 3
Views: 3302

I2Cv2 driver

Hi everyone,

I’m running into some issues with the I2Cv2 driver on STM32F769 in a high-noise I²C environment and would like some guidance:

1- When the driver receives a NACK, it stops communication on the bus and does not recover until I fully reinitialize the driver (calling i2cStart). Is it ...
by Emara
Wed Dec 24, 2025 1:12 pm
Forum: ChibiOS/HAL
Topic: FDCAN On STM32H563
Replies: 7
Views: 6864

Re: FDCAN On STM32H563

Hi,
Regarding the same file stm32_isr.h for the STM32H563, I believe there may be a minor naming issue in the following definition:

Code: Select all

#define STM32_TIM1_UP_TIM16_NUMBER 42

It seems this should instead be:

Code: Select all

#define STM32_TIM1_UP_NUMBER 42
by Emara
Fri Dec 12, 2025 1:17 pm
Forum: ChibiOS/HAL
Topic: FDCAN On STM32H563
Replies: 7
Views: 6864

Re: FDCAN On STM32H563

Hi! thanks for the update, also in stm32_isr.c fdcan irqs need to be initialized in irqInit()

Code: Select all

  fdcan1_irq_init();
  fdcan2_irq_init();


and in irqDeinit()

Code: Select all

  fdcan1_irq_deinit();
  fdcan2_irq_deinit();
by Emara
Thu Dec 11, 2025 10:42 am
Forum: ChibiOS/HAL
Topic: FDCAN On STM32H563
Replies: 7
Views: 6864

Re: FDCAN On STM32H563

HI!
FDCAN Handlers are not linked to its vectors there, Had to add it manually to stm32_isr.inc


#define STM32_FDCAN1_IT0_NUMBER 39
#define STM32_FDCAN1_IT1_NUMBER 40
#define STM32_FDCAN2_IT0_NUMBER 109
#define STM32_FDCAN2_IT1_NUMBER 110
#define STM32_FDCAN1_IT0_HANDLER VectorDC
#define STM32 ...
by Emara
Wed Dec 10, 2025 4:36 pm
Forum: ChibiOS/HAL
Topic: FDCAN On STM32H563
Replies: 7
Views: 6864

FDCAN On STM32H563

Hi! Is FDCAN fully supported on STM32H563??
I didn't find the FDCAN ISRs in stm32_isr.inc of the stm32h563, is it not fully supported or defined somewhere else?