完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛扫一扫,分享给好友
|
夏威夷群岛
蜕化: 我用“CyPress USB控制台”和“我自己的VS2008程序”将EP2填充512字节,值为05。它成功地将数据写入EP2。在TRM页9-18外部逻辑(AVR MEGA85 35)检查FLAC(空)时,它未被断言(高),它读取数据并在LCD上显示。在512次读取之后,将声明空标志。 问题: 1 -读取数据不是05,它们是65-165-218-138201-491743-173-27 -146……(它们不是随机的,因为不同的尝试结果是相同的) 2 -因为只有2个写入成功,所以我认为这个外部读取不会清空FIFO。 我是不是读错了FIFO,或者除了TRM页9-18以外的另外一个阶段应该完成FIFO空? 当做 以上来自于百度翻译 以下为原文 HI descreption: I fill ep2 with 512 bytes with value of 05 using "cypress u*** console" and "my own VS2008 program". it successfully writes data to ep2. following trm page 9-18 external logic(avr mega8535) checks flagc(empty) when is not asserted(high) it reads data and shows on LCD. after 512 reads empty flag will be asserted. Problem: 1- The read data are not 05 they are 65-165-218-138-201-49-174-30-173-27-146 ....(they are not random because with defferent tries results are the same) 2- because only 2 writes are successful i think this external reads will not empty the fifo am I reading from wrong fifo OR an additional stage other than TRM page 9-18 should be done to empty fhe fifo? regards |
|
相关推荐
8个回答
|
|
|
你好,
你能上传你的代码吗? 当做, 普拉吉斯 以上来自于百度翻译 以下为原文 Hi, Can you upload your code? Regards, Prajith |
|
|
|
|
|
|
|
|
|
|
|
硬件:3684 DVK
外部逻辑包含一个MEGA85 35(AVR)端口,它连接到7LS245(数据缓冲区)和FD0到FD7。 AVR的PORTD用于FIFO控制引脚(SLUE,SLRD,FIFOADR [0-1),…),并通过一个7LS245(控制缓冲器)与它们连接,PORTC连接到LCD 16×2,PORTB。0连接到一个LED闪烁,以显示该设备正在工作。 以上来自于百度翻译 以下为原文 hardware: 3684 dvk the external logic contains a mega8535 (avr) porta of which is connected to 74ls245(data_buffer) and to fd0 to fd7 portd of avr is used for fifo control pins (sloe, slrd, fifoadr[0-1], ...) and connected to them through a 74ls245 (control_buffer), portc is connected to LCD 16*2 , portb.0 is connected to an led to blink to show the device is working. |
|
|
|
|
|
|
|
|
|
|
|
您好!
这不是硬件问题!!!! 我用逻辑分析仪检查了所有的信号被正确地传递到3682板,但它仍然给出相同的数据。 DSCR.A51 PrP.C和UBGET.BAS(外部逻辑程序)附上。 提前感谢。 文件1.ZIP 5.2 K 以上来自于百度翻译 以下为原文 Hi it was not hardware problem!!! I checked it with logic analyzer all the signals are passed correctly to the 3682 board but it still gives the same data. dscr.a51 priph.c and u***Get.bas(program for external logic) are attached. thanks in advance.
|
|
|
|
|
|
亲爱的普拉吉斯
附件有什么不对吗? 以上来自于百度翻译 以下为原文 Dear Prajith files attached is there any thing wrong? |
|
|
|
|
|
你好,
你使用倒置的IFCK信号吗? 是否将FLAC配置为空标志? EP6、2X或4X的配置是什么? 请尝试附上的代码。我使用FLAGD检查EP2的状态(空)。 当做, 普拉吉斯 新西兰 2.5 K 以上来自于百度翻译 以下为原文 Hi, Are you using inverted IFCLK signal? Have you configured FLAGC as Empty flag? What is the configuration for EP6, 2x or 4x? Please try with the attached code. I used FLAGD for checking status (Empty) of EP2. Regards, Prajith
|
|
|
|
|
|
亲爱的普拉吉斯
我使用了你的代码和指导,只是在FIFO重置之后添加了一个OutpkStay= 0x82. FLAC正在作为空标志工作。 现在效果很好。非常感谢。 以上来自于百度翻译 以下为原文 Dear Prajith I used your code and guidance just added a OUTPKTEND=0x82 after FIFOs reset. flagc is Working currectly as empty flag. Now it works great. thank you very much. |
|
|
|
|
只有小组成员才能发言,加入小组>>
786个成员聚集在这个小组
加入小组cyUSB3014一直显示2.1,不能到3.0情况,谁遇到过
7102 浏览 0 评论
2477 浏览 1 评论
2166 浏览 1 评论
4031 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
2074 浏览 6 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
7585浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
6134浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
742浏览 2评论
710浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
7980浏览 2评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-3 05:00 , Processed in 0.979988 second(s), Total 87, Slave 70 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
1561