完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
嗨,我正在设计一个子面板[dB],需要数据记录作为其中的一个特性。DB将有自己的MCU,它将通过SPI协议与PIC18 MCU(在主设备上)通信。我需要数据记录以这样的方式工作,它可以记录从连接到它的外围设备(包括从PIC18 MCU发送的数据)发送到USB闪存驱动器中的数据。据我所知,DB上的MCU将需要具有HNP(主机协商协议)的特性来充当主机。我试图搜索一个8位的MCU,有一个数据记录工具,有SPI和USB协议(USB在闪存驱动器中记录数据),但是没有一个在5V上工作。E PIC18和MCU上的DB具有5V的工作电压。一个8位的MCU将更好地与PIC18进行通信,这也是8位。所以我的问题是,“不管怎么说,有一个8位微控制器具有SPI和USB协议,但没有主机的特性,仍然记录数据”?也许有一些额外的电路或集成电路?先谢谢你。
以上来自于百度翻译 以下为原文 Hi, I'm designing a Daughter Board [DB] and need data logging as one of the features in it. The DB will have its own MCU, which will communicate with a PIC18 MCU(on the main device) over the SPI protocol. I need the data logging to work in such a way that it can it can log data, sent from the peripherals connected to it (including the data sent from the PIC18 MCU), into a USB flash drive. To my understanding, the MCU on the DB will need to have the feature HNP(Host Negotiation Protocol) to act like a host. I tried to search for a MCU which is 8-bit, has a data logging facility, has SPI and USB protocols (USB for logging data in a flash drive), but none of them work on 5v. I'd like the PIC18 and MCU on the DB to have 5v of operating voltage. An 8-bit MCU would be better to communicate with the PIC18 which is also 8-bit. So my question is, "Is there anyway that a 8-bit MCU that has SPI and USB protocols, but doesn't have the host feature, still log data"? Maybe with some additional circuitry or IC? Thank You in advance. |
|
相关推荐
4个回答
|
|
没有8位图片可以是USB主机。任何带有USB的PIC24都可以是主机。
以上来自于百度翻译 以下为原文 There are no 8-bit PICs that can be a USB host. Any PIC24 with USB can be a host. |
|
|
|
是的,要写入USB设备(闪存棒),你的PIC将需要作为USB主机。你找不到。8位设备都不能作为USB主机。有两个PIC24,还有很多PIC32设备可以做。你现在限制了你的选择。最先进的设备现在运行在较低的电压。垃圾。不。您的选择将是使用SD卡,并使用SPI进行通信。
以上来自于百度翻译 以下为原文 Yes, to write to a USB device (the FLASH stick), your PIC will need to act as a USB host. You won't find one. NONE of the 8 bit devices can act as a USB host. There are a couple of PIC24, and a lot of PIC32 devices which can do it. You are very much limiting your choices then. The most advanced devices are running on lower voltages now. Rubbish. No. Your alternative would be to use an SD card, and communicate with that using SPI. |
|
|
|
不,你撒谎。无论你下一个愚蠢的问题是,首先用任何PIC制作一个LED闪烁,忘记USB记录很长一段时间。
以上来自于百度翻译 以下为原文 No. You lie. Whatever your next stupid question is, first make a single LED blinking using any PIC and forget about USB logging for a long time. |
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
5203 浏览 9 评论
2016 浏览 8 评论
1942 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3188 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2243 浏览 5 评论
754浏览 1评论
641浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
549浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
653浏览 0评论
553浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-5 07:22 , Processed in 1.225104 second(s), Total 53, Slave 46 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号