cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX and FDCAN integration

Rowzee
Associate

Hi all,
I am trying to use the STM32H735G-DK as a Dashboard/Speedometer for a car project. However, I am having trouble integrating the FDCAN with the GUI. I have tried building the FDCAN code first then generating the GUI and vice versa.
The Board is receiving CAN messages fine however it is not sending anything back, instead, the TxBuffer fills up and causes error 512. My colleague told me there is something to do with the interrupt timing and FreeRTOS, so I have tried polling and it still wouldn't work. my main way of testing is connecting the two FDCAN peripherals already on the board in normal mode and sending messages.
I have uploaded my .ioc file and main.c 
any pointers and help would be much appreciated, thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
SofLit
ST Employee

Hello @Rowzee  and welcome to the community,

Try first with a basic CAN communication application: remove RTOS and TouchGFX and validate CAN Tx and Rx.

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.

View solution in original post

2 REPLIES 2
SofLit
ST Employee

Hello @Rowzee  and welcome to the community,

Try first with a basic CAN communication application: remove RTOS and TouchGFX and validate CAN Tx and Rx.

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.
Rowzee
Associate

Yes, starting fresh helped me. i realised that my filters were wrong. thank you!