2017-05-28 12:21 AM
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 #stm32f72017-05-29 05:14 AM
videoid=1419
This is how it looks...
2017-05-30 01:15 AM
Hello,
you should check your interrupts sequence.
LTDC update may be delayed by lengthy CAN interrupt....
2017-05-30 05:35 AM
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 :)