完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,我有一个触摸显示器与SSD1963和XPT2046控制器上。现在我需要一个司机的XPT2046与SPI通信。什么是最好的起点,司机使用ARI?谢谢!
以上来自于百度翻译 以下为原文 Hi, i have a touch display with an ssd1963 and a xpt2046 controller on it. Now i need a driver for the xpt2046 with SPI communication. What is the best starting point for the driver to use with aria? Thanks! |
|
相关推荐
6个回答
|
|
HTTP://www. McCHIP.COM/FUMMS/FUNDSPE/10400 38 POST 25
以上来自于百度翻译 以下为原文 http://www.microchip.com/forums/FindPost/1040038 post 25 |
|
|
|
附件是如何破解现有的和声驱动程序的一个例子。它修改了MTCH6303触摸驱动器和谐,以支持一个焦点技术FT5X06驱动程序。虽然焦点技术使用I2C命令接口,而不是SPI,但它至少提供了一个和谐的地方,以提供触摸(x,y)信息,以便图形堆栈能够正确地对触摸事件作出反应。FT5x06与大多数电容式触摸驱动器一样,驱动中断PI。N低,提醒主机,这是一个触摸事件。主机通过使用I2C命令接口来响应控制器上的存储器来检索触摸事件的坐标。因此,在代码示例中有一个中断服务例程(ISR),它启动查询。我不确定你的触摸驱动程序是如何报告事件的。
PIC32 EF SKIT+MI.P,Abbreviated.zip(88.47 KB)-下载90次 以上来自于百度翻译 以下为原文 Attached is an example of how to hack an existing Harmony driver. It modifies a MTCH6303 touch driver in Harmony to support a Focal Tech FT5x06 driver. While the Focal Tech uses an I2C command interface, instead of a SPI, it at least provides an example of where within Harmony to provide the touch (x,y) information so that the graphics stack can react correctly to a touch event. The FT5x06, like most capacitive touch drivers, drives an interrupt pin low to alert the host that is a touch event. The host responds by using the I2C command interface to read memory on the controller to retrieve the coordinates of the touch event. Thus there is an interrupt service routine (ISR) in the code example that launches the query. I'm not sure how your touch driver reports events. Attachment(s) FT5x06_SSD1963_Example.zip (401.83 KB) - downloaded 107 times PIC32 EF Skit + Mi...p, Abbreviated.zip (88.47 KB) - downloaded 90 times |
|
|
|
我修改了ADCHITCH和声驱动程序,并构建了一个与XPT2046相同的ADS7846接口。它可以使用MHC来配置。该驱动程序使用SPI驱动程序与触摸控制器进行协调,启动驱动程序构造,认为我的显示器具有ADS7843,但是它具有XPT2046,所以我实现了Z压力触摸例程,它可以在配置中启用。希望它有帮助。
以上来自于百度翻译 以下为原文 I modified the ADCTouch harmony driver and build an ADS7846 interface that is the same as the XPT2046. It can be configured using MHC. This driver uses SPI driver to comunicate with the touch controller. I started the driver construction thinking my display has the ADS7843, but it had the XPT2046 so I implemented the Z pressure touch routine. It can be enabled in the configuration. Hope it helps Attachment(s) ADS7843.zip (26.41 KB) - downloaded 126 times |
|
|
|
|
|
|
|
米迦勒,感谢为FoCalTeo触摸面板发布一个工作固件。我可以确认它与FT5316一起工作。我有困难的代码,使它工作,我在另一个帖子。谢谢。弗朗西斯科。
以上来自于百度翻译 以下为原文 Michael, thanks for posting a working firmware for Focaltech Touch Panel. I can confirm it works even with FT5316. I was having hardtimes with the code to make it work as I stated in another post. Thanks. Francisco. |
|
|
|
埃内斯托,非常感谢您的文章和代码的贡献。我想补充的是,代码需要一个小的修改(使用MPLAB 4.15和HORANCE 2.05.01),以便触摸服务正确地中继PNEUP UP状态。在文件DRVYADS7843.C.FTL中,第850行和第925行(在函数GE中)。TX和GetY)被修改为:((CalibMatrix.Divider)!= 0)和(和);= -1)&;{= 1){因此当笔上升时,发送- 1,- 1…在AR1021第669行中读到这一点有点奇怪,“/*设置笔状态”(注意,如果可能需要设置坐标到有效位置*/”
以上来自于百度翻译 以下为原文 Ernesto, thank you very much for your post and contribution with code. I would like to add that the code required a minor modification (using MPLAB 4.15 and Harmony 2.05.01) in order for the touch service to correctly relay a PEN_UP state. In file drv_ads7843.c.ftl, lines 850 and 925 (in functions GetX and GetY) were modified to : if((CalibMatrix.Divider != 0) && (xPosActual != -1) && (yPosActual !=-1)){ Thus sending -1,-1 when pen is up... it was a bit strange to find this after reading in the ar1021, line 669, that "/* set pen up state - (note if may be necessary to set coordinate to a valid position */" |
|
|
|
只有小组成员才能发言,加入小组>>
5160 浏览 9 评论
1998 浏览 8 评论
1927 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3170 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2225 浏览 5 评论
727浏览 1评论
612浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
501浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
626浏览 0评论
524浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 05:21 , Processed in 1.167278 second(s), Total 88, Slave 71 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号