cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F746: CAN1 + CAN2 + LTDC

ekondratiev
Associate II
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
3 REPLIES 3
ekondratiev
Associate II
Posted on May 29, 2017 at 14:14

videoid=1419

This is how it looks...

Posted on May 30, 2017 at 08:15

Hello,

you should check your interrupts sequence.

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

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 🙂