完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
您好,是否可以直接使用来自FX2LP固件的端点向主机FIFO写入数据而不需要主机?如果是,请发布一些示例代码。
或者,我们有没有一种方法可以在没有主机和USB接口的情况下从8051接口写入FIFO?谢谢和问候,Paramesh 以上来自于百度翻译 以下为原文 Hello, Is it possible to write data to Slave fifo using Endpoints from firmware of fx2lp directly without Host? If so please do post some sample code. Or, is there anway through which we can write from 8051 interface to FIFO without host and USB interface? Thanks and regards, Paramesh |
|
相关推荐
6个回答
|
|
您将能够从8051.HTTP://wwwyCysP.com/手动模式向从属FIFO写入数据。Re= 45 850详细解释,并附带了示例代码。当做,
阿南德 以上来自于百度翻译 以下为原文 You'll be able to write data to slave FIFO in manual mode from the 8051. http://www.cypress.com/?rID=45850 explains it in detail and has sample code along with it. Regards, Anand |
|
|
|
|
|
|
|
你好,
你是说你想要一个不从主机获得数据的外端点。您只需在端点上写入数据,并将其武装到从FIFO域,以便主机可以读取它? 正如Nikhil所要求的,请分享你的申请。 -加里马 以上来自于百度翻译 以下为原文 Hi, Are you saying you want an OUT endpoint, which does not get data from host. You simply write data on the endpoint and arm it to the Slave FIFO domain, so that master can read it? As Nikhil asked, please share your application. -Garima |
|
|
|
嗨,正如Garima所说,如果你想从FX2LP数据源到奴隶FIFO,你可以这样做如下。保持端点(在这种情况下的EP2)作为无效端点,但在缓冲、方向和自动/手动模式方面配置正确。在这个例子中,我选择了EP2是一个外端点,四缓冲,每个字节512个,手动模式。EP2CFG=0x7f;EP2CFOFFG=0x00;FiPosit=0x80;SimcCdTe= 0x02;SycCdEnter;EP2FIFOBUF(0)=0xAA;SycCdEnter;EP2BCH=0x02;SYNCDELAY;//EP2BCL=0x00;SYNCDELAY;/EP2BCH=0x02;SYNCDELAY;/EP2BCL=0x00;SimcDelp;EP2BCH=0x02;SimcDelp;EP2BCL=0x0;(0;同步延迟;EP2BCH= 0x02;同步延迟;EP2BCL=0x00;同步延迟;FippET= 0x00;问候,Gayathri
以上来自于百度翻译 以下为原文 Hi, As Garima said, if you want to source the data from FX2LP to the Slave FIFO, you can do so as below. Keep the endpoint (EP2 OUT in this case) as invalid endpoint, but configured properly with respect to buffering, direction and Auto/ Manual mode. In this example, I have chosen EP2 to be an OUT endpoint, quad buffered, of 512 bytes each, manual mode. (EP2CFG = 0xA0; EP2CFG &= 0x7F; EP2FIFOCFG = 0x00; ) FIFORESET = 0x80; SYNCDELAY; FIFORESET = 0x02; SYNCDELAY; EP2FIFOBUF[0] = 0xAA; SYNCDELAY; EP2BCH = 0x02; SYNCDELAY; // EP2BCL = 0x00; SYNCDELAY; // EP2BCH = 0x02; SYNCDELAY; // EP2BCL = 0x00; SYNCDELAY; EP2BCH = 0x02; SYNCDELAY; EP2BCL = 0x00; SYNCDELAY; EP2BCH = 0x02; SYNCDELAY; EP2BCL = 0x00; SYNCDELAY; FIFORESET = 0x00; Regards, Gayathri |
|
|
|
抱歉格式化。FiPosit=0x80;FiPosit=0x02;PycPoTe= 0xAa;EP2FIFOBU= 0xAa;SycCdEnter;EP2BCH= 0x02;SycCdEnter;EP2BCL=0x00;SycCdEnter;EP2BCH=0x02;SycCdEnter;EP2BCL=0x00;SycCdEnter;EP2BCH=0x02;SycCdEnter;EP2BCL=0x00;SimcDelp;EP2BCH=0x02;SimcDelp;EP2BCL=0x00;SYNCDELAY;FippET= 0x00;
以上来自于百度翻译 以下为原文 Sorry about the formatting. FIFORESET = 0x80; SYNCDELAY; FIFORESET = 0x02; SYNCDELAY; EP2FIFOBUF[0] = 0xAA; SYNCDELAY; EP2BCH = 0x02; SYNCDELAY; EP2BCL = 0x00; SYNCDELAY; EP2BCH = 0x02; SYNCDELAY; EP2BCL = 0x00; SYNCDELAY; EP2BCH = 0x02; SYNCDELAY; EP2BCL = 0x00; SYNCDELAY; EP2BCH = 0x02; SYNCDELAY; EP2BCL = 0x00; SYNCDELAY; FIFORESET = 0x00; |
|
|
|
我不知道我不能把它做成一个好的格式。:(
以上来自于百度翻译 以下为原文 I do not know I am not able to make it in a good format. :( |
|
|
|
只有小组成员才能发言,加入小组>>
750个成员聚集在这个小组
加入小组2055 浏览 1 评论
1811 浏览 1 评论
3622 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1747 浏览 6 评论
1499 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
484浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
337浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
401浏览 2评论
343浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
834浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-10 13:11 , Processed in 0.721465 second(s), Total 54, Slave 49 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号