File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -169,3 +169,23 @@ void setup() {
169169 pinMode (LED_BUILTIN, OUTPUT);
170170}
171171```
172+
173+ # HAL FDCAN for STM32G0xx series
174+
175+ > [ !NOTE]
176+ > Required core version higher or equal to 2.8.0.
177+
178+ STM23G0xx series shared an irq with the ` HardwareTimer ` but the default irq handler did not managed the ` FDCAN ` one as the core does not support it.
179+
180+ Since https://github.com/stm32duino/Arduino_Core_STM32/pull/2301 the handler properly forward to the correct handler.
181+
182+ Anyway, application have to declare the ` phfdcan1 ` and ` phfdcan2 ` handles.
183+
184+ Example:
185+ ``` C
186+ FDCAN_HandleTypeDef myhfdcan1;
187+ FDCAN_HandleTypeDef *phfdcan1 = &myhfdcan1;
188+ #if defined(FDCAN2_BASE)
189+ FDCAN_HandleTypeDef * phfdcan2 = NULL;
190+ #endif
191+ ```
You can’t perform that action at this time.
0 commit comments