Skip to main content
ekondratiev
Associate II
May 28, 2017
Question

STM32F746: CAN1 + CAN2 + LTDC

  • May 28, 2017
  • 1 reply
  • 1036 views
Posted on May 28, 2017 at 09:21

Hello!

We've found some strange behaviour in STM32F746 when turn on both CAN1 and CAN2 and LTDC is running. In such case there is a synchronization issue on the display like HSYNC sometimes misses its frame. It looks like a bug or so.

Every CAN interface running alone works perfectly but when we enable clock on both of them the display starts to blink on some lines. SDRAM, video buffer, CAN busses everything work well and the only screen scanning breaks.

We need two CAN lanes and maybe somebody knows the way to run both of them and a display all together? And second question, is STM32F767 does the same way? There are 3 CAN interfaces and how do they affect the LTDC?

Thank you in advance.

#stm32f767 #stm32f746 #stm32f7-lcd #stm32f7
This topic has been closed for replies.

1 reply

ekondratiev
Associate II
May 29, 2017
Posted on May 29, 2017 at 14:14

videoid=1419

This is how it looks...

Max
ST Employee
May 30, 2017
Posted on May 30, 2017 at 08:15

Hello,

you should check your interrupts sequence.

LTDC update may be delayed by lengthy CAN interrupt....

ekondratiev
Associate II
May 30, 2017
Posted on May 30, 2017 at 12:35

Hi! It is OK with the interrupts. They were the first thing I've checked.

I've solved the issue.It was very stange behaviour of the stack overflow :)

So, CAN1 + CAN2 + LTDC work well now.

And I think that it was not HSYNC probled. It was a problem inside the graphics library but so fast that looked like LTDC :)