FMC

Can the STM32H743's FMC drive a 16-bit 8080 bus faster than 1.6MHz when clocked at 480MHz?

随声附和 提交于 2020-03-05 00:39:01
问题 I'm using the FMC of the STM32H743 to drive a 16-bit 8080-bus LCD controller. I've tried using DMA, MDMA and a CPU-loop to transfer data to the 8080-bus, via the FMC. The transfer frequency does not depend on whether DMA, MDMA or CPU-loop is used. This make me think that the DMA/MDMA/CPU-loop is not the limiting factor. At a 480MHz FMC clock, the transfer happens at just 1.6MHz, giving me only 20fps on a 16-bit colour 320x240 LCD. At a 240MHz FMC clock, the transfer happens at just 0.8MHz,

Can the STM32H743's FMC drive a 16-bit 8080 bus faster than 1.6MHz when clocked at 480MHz?

99封情书 提交于 2020-03-05 00:35:08
问题 I'm using the FMC of the STM32H743 to drive a 16-bit 8080-bus LCD controller. I've tried using DMA, MDMA and a CPU-loop to transfer data to the 8080-bus, via the FMC. The transfer frequency does not depend on whether DMA, MDMA or CPU-loop is used. This make me think that the DMA/MDMA/CPU-loop is not the limiting factor. At a 480MHz FMC clock, the transfer happens at just 1.6MHz, giving me only 20fps on a 16-bit colour 320x240 LCD. At a 240MHz FMC clock, the transfer happens at just 0.8MHz,

Can the STM32H743's FMC drive a 16-bit 8080 bus faster than 1.6MHz when clocked at 480MHz?

孤街浪徒 提交于 2020-03-05 00:33:11
问题 I'm using the FMC of the STM32H743 to drive a 16-bit 8080-bus LCD controller. I've tried using DMA, MDMA and a CPU-loop to transfer data to the 8080-bus, via the FMC. The transfer frequency does not depend on whether DMA, MDMA or CPU-loop is used. This make me think that the DMA/MDMA/CPU-loop is not the limiting factor. At a 480MHz FMC clock, the transfer happens at just 1.6MHz, giving me only 20fps on a 16-bit colour 320x240 LCD. At a 240MHz FMC clock, the transfer happens at just 0.8MHz,

设置对话框的背景颜色及设置透明

只谈情不闲聊 提交于 2019-12-09 09:45:48
现说设置背景颜色。 我用了很多方法都不行,查了很多资料,现在说一下解决方案吧。 在XXXXXXDlg.头文件的protected:中加入CBrush m_brush; 在XXXXXXDlg.cpp文件中的OnInitDialog()初始化函数中加入画刷m_brush.CreateSolidBrush(RGB(255,255,255));RGB中的颜色自己定义。 然后在类向导中添加WM_CTLCOLOR消息函数。在里面只写一句话:return m_brush; 背景颜色就改了。 现在说怎么设计透明了,那就更简单了。 在OnInitDialog()初始化函数中添加两行代码: SetWindowLong(GetSafeHwnd(),GWL_EXSTYLE,GetWindowLong(GetSafeHwnd(),GWL_EXSTYLE)|WS_EX_LAYERED); SetLayeredWindowAttributes(0,200,LWA_ALPHA); 第二行中的200为透明度,0为全透明,255为不透明。 来源: oschina 链接: https://my.oschina.net/u/555701/blog/56617