完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
嗨,我正在尝试自制USB微硬件跟随USB启动器套件3。我的USB设备没有被识别。我假设我的微型USB连接到PIC32 MX470微控制器有错误。附上图片。谁能告诉我我做错了什么?我已经直接应用VBUS连接到微控制器。在USB启动器工具包3手册中,有一个电源分配芯片,我认为不一定需要。屏蔽接地连接也接地。
以上来自于百度翻译 以下为原文 hi, I am trying out self made USB micro hardware following the USB starter kit 3. My USB device is not recognized. I assume I have mistake in my micro USB connection to PIC32MX470 microcontroller. Attached is the picture. Can anybody tell me what I am doing wrong? I have applied VBUS connection directly to microcontroller. In USB starter kit 3 manual, there is power distribution chip which I think is not necessarily required. The shield ground connection is also grounded. Attached Image(s) |
|
相关推荐
19个回答
|
|
|
不确定你的完整的原理图,你通常需要一个低ESR帽在VUSB引脚,去耦帽在电源引脚,适当的晶体和振荡器配置设置,然后3.3V的PIC和5V在VBUS…
以上来自于百度翻译 以下为原文 Not sure about your full schematics, you usually need a low-ESR cap at VUSB pin, decoupling caps at power pins, proper crystal and Oscillator CONFIG settings, and then 3.3V for the PIC and 5V at VBUS... |
|
|
|
|
|
嗨,你太简单了USB接口,将陷入麻烦…VBUS是浮动……它应该有一个下拉(像在启动套件)如果你没有对USB电路的保护,它可能是敏感的放电…问候
以上来自于百度翻译 以下为原文 Hi, You oversimplified the USB interface and will get in trouble... Vbus is floating....it should have a pull down (like on the starter kit) If you put no protection on the USB circuitry it may be sensitive to discharges... Regards |
|
|
|
|
|
我试过以下电路,设备还没有检测到,但是电路连接行吗?
以上来自于百度翻译 以下为原文 i tried the following circuit, device still not detected, but is the circuit connection ok? Attached Image(s) |
|
|
|
|
|
我确实有LeD1,LeD2 on,指示在开发板中USB的复位状态。但是PC没有检测到设备。这两个LED甚至保持在我从PC上拔出USB之后。只有在我拔出微控制器电源之后,LED才会熄灭。当电源再次应用和USB插入PC,这些LED再次打开。
以上来自于百度翻译 以下为原文 i do have the LED1,LED2 ON, indicating Reset state of the USB like in the developments boards. But PC is not detecting the device. these two LEDs remains ON even after i plug out the USB from PC. Only after I plug out the microcontroller supply the LEDs go OFF. When power supply applied again and USB inserted in PC, these LEDs again turn ON. Attached Image(s) |
|
|
|
|
|
最后,我设法找到了问题,但现在我得到了“未知设备”。尝试浏览.INF文件的App文件夹,但是PC/Windows不接受它。
以上来自于百度翻译 以下为原文 finally i managed to find out the problem but now I get "Unknown Device". Tried browsing to the app folder for the .inf file but PC/window is not taking it. |
|
|
|
|
|
嗨,只是为了确认:你的PIC32是代理USB设备(不是主机)?是否仔细检查PIC32 MX470数据表页28最小连接:VCAP…AVDD…AVS7如果您不使用ADC,这些引脚必须连接。您必须在VBUS上放置一个10uf低ESR电容器(请看PIC32 MX USBⅢ初学者工具包用户手册页25连接器J4)。您是否连接了VUSB 3V3到VDD?(检查起动器工具箱PAN55)(您的示意图显示它没有连接)我部分地看到您的示意图,但是看起来您仍然需要几个修正。
以上来自于百度翻译 以下为原文 Hi, Just to confirm : your PIC32 is acting USB device (not HOST) ? Did you check carefully PIC32MX470 datasheet page 28 minimum connections : Vcap...AVdd...AVss Even if you don't use ADC these pins must be connected You must put a 10uF low ESR capacitor on Vbus (look at the PIC32MX USB III starter kit user manual page 25 connector J4). Did you connect Vu***3v3 to Vdd ? (check starter kit schematic pin55) (your schematic shows it is not connected) I partly see your schematic but it seems you still need several corrections Regards |
|
|
|
|
|
HII认为撇开USB连接一切都就位(VCAP,AVDD,其他电容器),因为我没有遇到任何问题与其他程序,如ADC,USAT,交换机。是的,VUSB 3V3连接到VDD。但是对于10uf低ESR电容器,我使用常规10uF电解盖,因为我没有任何。可能是这个吗?
以上来自于百度翻译 以下为原文 hi i think leaving aside the USB connection everything is in place(Vcap, AVDD, other capacitors) because i faced no problem with other programs like ADC, USART, switches. yes, the Vu***3v3 is connected to Vdd. But for 10uF low ESR capacitor I am using regular 10uF electrolytic cap because I don't have any of that. Could it be this? |
|
|
|
|
|
我有时使用普通电容器,而制作原型,它们通常工作。
以上来自于百度翻译 以下为原文 I did use sometimes the normal capacitors, while making up prototypes, and they were usually working |
|
|
|
|
|
- PIC32作为主机,做CDCKOMIXPORTION单实例,以确定确切的电容器,我必须等待4到5天,尝试交换D,D+,看其他的,还有其他的建议我应该看看吗?
以上来自于百度翻译 以下为原文 -the PIC32 is acting as host and doing the cdc_com_port_single example -to order the exact capacitor I would have to wait for 4 to 5 days -tried swapping the D-,D+, looked at everything else, any other suggestion I should look at? |
|
|
|
|
|
找到一个备件10uf(EMK212BJ106MG-T,我希望它是低ESR帽),并把它,仍然得到著名的“USB设备不承认”的消息。
以上来自于百度翻译 以下为原文 found a spare part 10uF(EMK212BJ106MG-T, I hope it is low ESR cap) and put it, still getting the famous "USB device not recognized" message. |
|
|
|
|
|
嗨,你应该从一开始就告诉我们你要实现主机…你连接的设备想要连接到你的PIC32类型的连接器吗?请发送一个链接到设备的数据表。你有这个设备的驱动程序在你的电脑上运行吗?如果是的话,启动USBDEVIEW并告诉我们:VID、PID、S/NE硬件,遵循PIC32 MX SARTITKIT III用户手册26页的图9A,您必须复制完整的电路,因为PIC32不能提供500 MAIT显示100UF,但这超出规范。USB规范指定120 U。f min,所以我建议你放一个150 UF。所以在VBUS上放一个150 UF,删除VBUS下拉电阻。我强烈建议你购买PIC32 MX启动器工具包III作为参考,否则你将继续挣扎…如果你有启动工具包,你可以检查原始工具包与你的设备一起工作。硬件。然后你可以在自己的板上实现它。
以上来自于百度翻译 以下为原文 Hi, You should have told us from the beginning that you want to implement HOST.... Which devices do you connect want to connect into your PIC32 type A connector ? Please send a link to the datasheet of the device. Do you have a driver for this device which runs on your PC ? If yes, launch USBdeview and tell us : VID, PID, S/N Regarding hardware, follow the schematic of the PIC32MX starterkit III user manual page 26 figure A-9 you must copy the complete circuit because the PIC32 cannot supply 500mA It shows a 100uF but this is out of spec...USB specification specifies 120uF MIN so I recommend you put a 150uF. So put a 150uF on Vbus, remove the Vbus pulldown resistor. I strongly suggest you buy a PIC32MX starter kit III as reference otherwise you will continue to struggle... If you have the starter kit you can check that the original kit works with your device on a known hardware. then you can implement it on your own board. Regards |
|
|
|
|
|
我错误地写了主机,我的意思是PIC32是设备。是的,我注意到了500毫安的问题,并想问这是否可能是发行后,我有计划做主人,但我记得你的建议,在150 UF,我会记住。
以上来自于百度翻译 以下为原文 i mistakenly wrote host, I mean the PIC32 is device. yes, i had noticed the 500mA issue and wanted to ask whether this might be the issue afterwards i have plan to do the host, but i remember your advice on the 150uF which I will keep in mind. |
|
|
|
|
|
您好,请展示您的完整的示意图…将所有的连接,你实际制作的照片和你的董事会。XTAR是强制性的。与起动器工具包上的频率相同。没有XTAL,USB将永远不会工作。在软件项目中,很可能仍然有一些错误的东西没有改变。你有PIC32 USB启动器工具包III还是打算作为参考?当做
以上来自于百度翻译 以下为原文 Hi, Please show your complete schematic...will all connections you actually made and a picture of your board. A XTAL is mandatory. Put the same frequency as the one on the starter kit. USB will never work without XTAL. There is most probably still something missing Do not change anything in the software project. Do you have a PIC32 USB starter kit III or are you planning to get one as reference ? Regards |
|
|
|
|
|
嗨,我在软件中唯一改变的是从8 MHz到12MHz(外部晶体)的频率。然后,我配置了时钟设置,使系统频率为80MHz,外围总线FRQ.是80MHz,USB有如原起动器套件3时钟频率的48兆赫。PIC32与我所做的所有其他示例项目一起工作,所以我认为没有任何关于电容器等USB连接显示为以上电路图,除了现在我有一个3.3V连接在VBUS线(其中100KoHm和10uf也满足)我没有起动器套件3,但可以考虑购买它
以上来自于百度翻译 以下为原文 hi, the only thing I have changed in software is the frequency from 8 MHz to 12MHz(external crystal). Then I configured the clock setting such that the system frequency is 80MHz, peripheral bus freq. is 80MHz and the USB has 48MHz as in the original starter kit 3 clock frequencies. the PIC32 is working with everything else example project I have done so I don't think there is anything regarding the capacitors etc. the u*** connection is shown as above circuit diagram except now I have a 3.3V connection in the VBUS line(where 100KOhm and 10uF also meet) i don't have the starter kit 3 but may consider buying it |
|
|
|
|
|
嗨,你不应该连接VBUS到3.3V在PIC侧…这将造成短路,因为PC侧输出5V在VBUS上。一般来说,在PC上有一个保护,但是记住只有主机提供5V电压的VBUS。确保你的PC USB端口仍然在读这个优秀的USB基础网站:HTTP://www. UbMaEdSimul.C.UK/你使用哪个和声版本?你试过调试吗?软件循环在哪里?当做
以上来自于百度翻译 以下为原文 Hi, You should not connect Vbus to 3.3V on the PIC side...this will make a short circuit because the PC side output 5V on Vbus. Generally there is a protection on the PC but remember that only HOST supplies Vbus with 5V voltage. Make sure your PC USB port is still working OK Read this excellent website for USB basics : http://www.u***madesimple.co.uk/ Which Harmony version do you use ? Did you try to debug ? where does the software loop ? Regards |
|
|
|
|
|
你是指下面的电路图吗?同一个PC USB端口正在与其他人合作,所以它的工作我以前已经读过了,确实很棒,更简洁,然后USB完成BooGi我使用和声V1.11NO,我还没有试过调试。
以上来自于百度翻译 以下为原文 do you mean like in the following circuit diagram? The same PC u*** port is working with others so its working i have read them previously, indeed great, more concise then USB complete book I am using Harmony v1.11 No, i haven't tried debug |
|
|
|
|
|
|
|
|
|
|
|
LED(LeD2和LeD3)指示在设备未被PC识别后,设备处于挂起状态。
以上来自于百度翻译 以下为原文 the LEDs(LED2 and LED3) indicate that the device is in suspended state after the device is not recognized by PC |
|
|
|
|
|
我是初学者的调试和所有这些,但无论如何,我进入代码从主开始。在系统初始化后,程序进入下面的循环,打开到USB等:SysStasks-(-gt;AppHytasks-)-& Gt;SysStasks-()在AppyTasks-()中,它转到以下状态:
以上来自于百度翻译 以下为原文 i am beginner with debug and all this but anyway, i stepped into the code starting from main. the program goes into the following loop after system initialization, opening handle to USB etc: SYS_Tasks() --> APP_Tasks() -->SYS_Tasks() inside APP_Tasks() it goes to the following state: case APP_STATE_WAIT_FOR_CONFIGURATION: /* Check if the device was configured */ if(appData.isConfigured) { /* If the device is configured then lets start reading */ appData.state = APP_STATE_SCHEDULE_READ; } break; |
|
|
|
|
只有小组成员才能发言,加入小组>>
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
473 浏览 0 评论
5793 浏览 9 评论
2334 浏览 8 评论
2224 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3530 浏览 3 评论
1121浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
1095浏览 1评论
我是Microchip 的代理商,有PIC16F1829T-I/SS 技术问题可以咨询我,微信:A-chip-Ti
872浏览 1评论
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
473浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-1 19:49 , Processed in 1.099800 second(s), Total 108, Slave 91 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
1119