7240| 17
|
LCD12864显示屏不显示字符 |
8金钱
最佳答案目前排查出一个问题,stm32f103的PA15默认开启JTAG功能,故PA15对应的LCD_CS端口一直处于高电平状态,
需要添加以下两行代码,释放PA15端口
RCC_APB2PeriphClockCmd(RCC_APB2Periph_AFIO,ENABLE); //使能端口复用时钟
GPIO_PinRemapConfig(GPIO_Remap_SWJ_JTAGDisable,ENABLE); //关闭JTAG,释放PB3,PB4,PA15
添加后,PA15可以正常输出高低电平信号
但目前,LCD仍然无法显示字符,继续排查中。。。:dizz ...
| ||
| ||
| ||
发表于 2019-11-29 01:48:18
|
显示全部楼层
| ||
发表于 2019-11-29 09:48:40
|
显示全部楼层
| ||
发表于 2019-11-29 16:34:43
|
显示全部楼层
| ||
成功没有捷径
|
||
发表于 2019-12-2 13:34:22
|
显示全部楼层
| ||
He who fights with monsters should look to it that he himself does not become a monster, when you gaze long into the abyss, the abyss also gazes into you.
过于执着就会陷入其中,迷失自己,困住自己。 |
||
| ||
| ||
| ||
| ||
发表于 2019-12-2 16:50:59
|
显示全部楼层
| ||
He who fights with monsters should look to it that he himself does not become a monster, when you gaze long into the abyss, the abyss also gazes into you.
过于执着就会陷入其中,迷失自己,困住自己。 |
||
发表于 2019-12-2 18:47:08
|
显示全部楼层
| ||
成功没有捷径
|
||
| ||
| ||
发表于 2019-12-7 13:45:44
|
显示全部楼层
| ||
| ||
发表于 2019-12-9 13:38:59
|
显示全部楼层
| ||
|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )
GMT+8, 2025-2-1 04:50
Powered by OpenEdv-开源电子网
© 2001-2030 OpenEdv-开源电子网