完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
大家好,
我试图得到一个ARDUIO TFT盾牌工作在我的PSoC 5LP原板。到目前为止没有运气。我已经把板放在一个实际的ARDUNO上了,效果不错,所以显示硬件就可以了。到目前为止,我已经尝试使用“图形LCD接口”组件,当失败时,我编写了一个例程,通过软件生成总线信号。不幸的是,没有来自显示器的爱。我发送的唯一命令是“休眠”(0x11),“显示在”(0x29),然后是“数据模式”(0x2c),然后只是将一些随机数据推到帧缓冲区,只需托盘,看到一些东西。我得到了其他ILIXXX显示控制器工作,但这ILI948我逃避。 只是想知道是否有人成功地将基于ILI981的显示器连接到PSoC上?是否有任何人愿意分享的提示/源代码。 谢谢。 -布瑞恩 以上来自于百度翻译 以下为原文 Hi Everyone, I am trying to get an Arduino TFT Shield working on my PSoC 5LP proto Board. So far no luck. I have put the board on an actual Arduino and it works fine, so the display hardware is okay. So far I have tried using the "Graphics LCD Interface" component and when that failed, I wrote a routine to generate the bus signals via software. Unfortunately no love from the display. The only commands I am sending are the "Sleep Out" (0x11), "Display On" (0x29) and then "Data Mode" (0x2C) and then just pushing some random data to the frame buffer just to tray and see something. I have gotten other ILIxxxx display controllers working, but this ILI9481 eludes me. Just wondering if anyone has successfully interfaced an ILI9481 based display to a PSoC? Does anyone have any tips/source code they're willing to share. Thanks. -Brian |
|
相关推荐
5个回答
|
|
PCOS4 TFT240203S.Z.ZIP项目
HTTP://MyLab.WMITSIT.RU/FTPGETFIL.PHP?ID=109 还有一点: HIPP//MyLab.WMITSIT.RU/MOI RASABLA/CyPress -PSOC/ 以上来自于百度翻译 以下为原文 Project for PCOS4 TFT240_320_SD.zip http://mylab.wmsite.ru/ftpgetfile.php?id=109 And a little more here: http://mylab.wmsite.ru/moi-razrab/cypress-psoc/ |
|
|
|
chenzhenbo1984 发表于 2018-12-7 17:08 谢谢你的回复… 我查看了你的代码,根据你发送的初始化命令来判断,也许我无法通过发送“休眠”和“显示”命令来在屏幕上看到一些东西。 我可能发现了一个问题… 图形SLCDIF(8位)不像我想象的那样工作。它似乎在发送无用的信号。我编写了一个启动模块的小测试程序,发送一个递增的255字节数据,然后停止。我在总线上看到的是数据值0到4,在发送0到255之前重复了几次,但是缺少了值。另外,CS线似乎是随机断言的。非常奇怪。必须调查这个问题。 -布瑞恩 以上来自于百度翻译 以下为原文 Thanks for the reply... I looked over your code and judging by the amount of initialization commands you send, maybe I can't get away with just sending the "Sleep Out" and "Display On" commands to see something on the screen. I may have found an issue... The GraphicsLCDInf (8-bit) is not working like I assumed it would. It seems to be sending useless signals. I wrote a tiny test program that starts the module, the sends an incrementing 255 bytes of data and then halts. What I see on the bus is the data values 0 through 4 repeating a few times before 0 through 255 is sent but with missing values. Plus, the CS line seems to randomly asserted. Very odd. Have to look into this. -Brian |
|
|
|
LGmark 发表于 2018-12-7 17:15 只是一个FIY… 显然,在我的PSoC 5LP原型板上写数据作为总线会导致位2、3和4一直停留在“0”。不管我选择哪个端口出现同样的问题。不过,我可以单独切换每个引脚没有问题。然后,我在PSoC 4200米原型板上重新创建了这个项目,这似乎没有同样的问题,至少在P0[07]端口上没有。因此,我的PSoC 4200米工作良好,但我的PSoC 5LP板工作正常。六羟甲基三聚氰胺六甲醚。。。 -布瑞恩 以上来自于百度翻译 以下为原文 Just an FYI... Apparently writing data as a bus on my PSoC 5LP prototyping board causes bits 2,3 and 4 to stay stuck at a '0' all the time. It doesn't matter what ports I pick the same problem occurs. However, I can toggle each pin separately without problems. I then recreated the project on a PSoC 4200M prototyping board and that does not seem to have the same problem, at least not on port P0[0-7]. So my PSoC 4200M works fine but neither of my PSoC 5LP boards work correctly. Hmmm... -Brian |
|
|
|
LGmark 发表于 2018-12-7 17:20 几个触点有电容器。检查你的棋盘。 如: HTTPS://Cultuy.CyPress .COM/THEAD/1259. 以上来自于百度翻译 以下为原文 Several contacts have capacitors. Check your board. eg: https://community.cypress.com/thread/12559 |
|
|
|
谢谢你的提示。我忘了PSoC 5LP原型套件有一些线路上的旁路电容器。这就是问题所在。 再一次,谢谢你的洞察力。 -布瑞恩 以上来自于百度翻译 以下为原文 Thank you for that tip. I forgot that the PSoC 5LP Prototyping Kit has bypass capacitors on some of the lines. That turned out to be the problem. Again, thank you for your insight. -Brian |
|
|
|
只有小组成员才能发言,加入小组>>
751个成员聚集在这个小组
加入小组2063 浏览 1 评论
1823 浏览 1 评论
3631 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1759 浏览 6 评论
1507 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
501浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
353浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
408浏览 2评论
353浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
850浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-19 16:26 , Processed in 1.480691 second(s), Total 87, Slave 70 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号