Помощь - Поиск - Пользователи - Календарь
Полная версия этой страницы: PIC микроконтроллеры с USB
Форум разработчиков электроники ELECTRONIX.ru > Микроконтроллеры (MCs) > Все остальные микроконтроллеры > PIC
zvv
Доброго времени суток!!!

Ситуация такая : все время работал с микроконтроллерами SiliconLaboratories, которые оставили хорошее впечатление, и тут пришлось использовать микроконтроллеры Microchip. Необходимо передавать данные по USB к ПК и обратно. SiliconLaboratories для работы с USB предоставляет специальный драйвер, и две библиотеки - одна для самого микроконтроллера , другая для ПК (USBXpress) - в которых содержаться функции для работы(передать , отправить данные в USB, прерывания , ....) с помощью которых можно даже не разбираться с процессом передачи - написал что отправлять , количество байт для отправки и все. Существует ли что-нибудь подобное для микроконтроллеров Microchip ??? На их сайте я даже драйвера не нашел, неужели надо все делать вручную самому????????? sad.gif sad.gif sad.gif sad.gif sad.gif
=AK=
Full Speed USB Solutions
http://www.microchip.com/stellent/idcplg?I...USB%20Solutions

Communication Device Class (CDC) firmware
http://www.microchip.com/stellent/idcplg?I...¶m=en022625
The Communication Device Class firmware is the most direct way or migrating a serial port (legacy) application to USB. In fact this firmware provides direct emulation of a serial port on PC running Windows 2K and Windows XP. As the PIC18F4550 is attached to the PC, a virtual COMx port is created. All PC software using a COM1-4 port will work without modifications with the virtual COM port if only at a much higher speed (approx 1Mbit/s)

Microchip Custom Driver
http://www.microchip.com/stellent/idcplg?I...¶m=en022629
Microchip Custom Driver is the ultimate solution for the more advance users. It allows full flexibility and configurability to allow the use of all data transfer modes (control, interrupt, bulk, isochronous) defined in the USB 2.0 specs and provides the highest bandwidth. It requires a deeper understanding of the internal workings of the bus as well as the development of custom interfaces (Windows code development) on the PC.
zvv
Большое спасибо что уделили время!
Herz
Цитата(=AK= @ Mar 25 2006, 02:53) *
Full Speed USB Solutions
http://www.microchip.com/stellent/idcplg?I...¶m=en022625
The Communication Device Class firmware is the most direct way or migrating a serial port (legacy) application to USB. In fact this firmware provides direct emulation of a serial port on PC running Windows 2K and Windows XP. As the PIC18F4550 is attached to the PC, a virtual COMx port is created. All PC software using a COM1-4 port will work without modifications with the virtual COM port if only at a much higher speed (approx 1Mbit/s)

Цитата из AN956:
Цитата
• Maximum throughput speed of about 80 Kbytes

Маловато как-то... sad.gif
Alex B._
>> Маловато как-то...
Потому что в родном софте только 1 pipe и ping-pong буферы не используются. Можно больше =)
-=Sergei=-
Цитата(Herz @ Jul 9 2006, 11:08) *
Цитата из AN956:
Цитата
• Maximum throughput speed of about 80 Kbytes

Маловато как-то... sad.gif


Берите вот этот.

http://www.milandr.ru/doc/specsura.pdf

1 Мегобайт в сек из него лекго выжимал. Ядро PIC совместимое.
Herz
Цитата(-=Sergei=- @ Jul 9 2006, 13:24) *
Цитата(Herz @ Jul 9 2006, 11:08) *

Цитата из AN956:
Цитата
• Maximum throughput speed of about 80 Kbytes

Маловато как-то... sad.gif


Берите вот этот.

http://www.milandr.ru/doc/specsura.pdf

1 Мегобайт в сек из него лекго выжимал. Ядро PIC совместимое.

Красота! "Сургуч" - это круто! Не ожидал... Спасибо, получил хорошее настроение. biggrin.gif
Для просмотра полной версии этой страницы, пожалуйста, пройдите по ссылке.
Invision Power Board © 2001-2025 Invision Power Services, Inc.