我想使用lpc1768读取和写入usb海量存储设备,我应该使用这个Fig30? 图30或这个图29? Fig29
读取和写入USB MASS STORAGE DEVICE? 我在问它的硬件设计
i want use lpc1768 to read and write to usb mass storage device should i use this Fig30? Fig30 or this Fig29? Fig29
for reading and writing to USB MASS STORAGE DEVICE? I'm asking about hardware design of it
最满意答案
USB大容量存储设备显然是USB 设备 ,因此您的LPC17xx电路必须提供+5伏的VBUS线路。 这是数据表中的图31。
但是这也意味着您必须在LPC17xx中实现困难的USB主机,并使用SCSI来实现大容量存储。
如果您需要将lpc17xx本身连接到PC等主机,则可以使用图30(OTG)。
请注意,SD卡在软件中使用(通过SPI) 要简单得多。 它们可以更快:25 MBit / s而不是12 MBit / s通过USB。
The USB Mass storage device is obviously an USB device and thus your LPC17xx circuit must supply the +5 volts VBUS line. That is figure 31 in the datasheet.
But that also means you have to implement the difficult USB host in the LPC17xx, and SCSI for mass storage.
You could use figure 30 (OTG) if you needed to connect the lpc17xx itself to host like a PC.
Note that SD cards are much simpler to use (via SPI) in Software. And they can be faster: 25 MBit/s instead of 12 MBit/s via USB.
更多推荐
发布评论