Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 09, 2019, 02:03:56 02:03


Login with username, password and session length


Pages: [1]
Print
Author Topic: PIC32 + USB-host (HID)  (Read 1170 times)
0 Members and 1 Guest are viewing this topic.
gurksallad
Newbie
*
Offline Offline

Posts: 21

Thank You
-Given: 5
-Receive: 3


« on: November 15, 2019, 05:35:02 17:35 »

There are a lot of examples for PIC32 as USB device, but there seems to be a shortage of examples for USB host (in particular HID, I want to toy around with a USB-keyboard).

Some people recommend Harmony, some detest it. I will not use Harmony for this test, instead I will use MCC.

Does anyone know of an available example code to connect USB keyboard to a PIC32? A big plus if it's possible to connect it directly to a PIC32 USB Curiosity board (DM320107), so I can plug and play sort of. Otherwise I'll just have to rewrite it a bit.

What I want to do, basically, is attaching a USB-keyboard, and show what's being typed on an OLED-screen so I can test my OLED-library fonts in full.
Logged
towlerg
Active Member
***
Offline Offline

Posts: 237

Thank You
-Given: 421
-Receive: 90

What is this for?


« Reply #1 on: November 16, 2019, 05:27:28 05:27 »

Oops scrub that
« Last Edit: November 16, 2019, 05:32:33 05:32 by towlerg » Logged

Win 7 Ult x64 SP1 on HP2570p
bobcat1
Active Member
***
Offline Offline

Posts: 196

Thank You
-Given: 2613
-Receive: 42


« Reply #2 on: November 17, 2019, 02:14:42 02:14 »

USB host demand lot's of processing power - hard to do on the PIC32
it is time now to move to STM32 and ARM processor
"one you walk that way you will never go back"

All the best

Bobi

Logged
towlerg
Active Member
***
Offline Offline

Posts: 237

Thank You
-Given: 421
-Receive: 90

What is this for?


« Reply #3 on: November 17, 2019, 05:36:58 05:36 »

If all you want to do is ".... attaching a USB-keyboard, and show what's being typed on an OLED-screen so I can test my OLED-library fonts in full." why not just bit bang a PS2 keyboard? BTW you can get USB to PS2 convertors.
Logged

Win 7 Ult x64 SP1 on HP2570p
metal
Global Moderator
Hero Member
*****
Online Online

Posts: 2231

Thank You
-Given: 700
-Receive: 571


Top Topic Starter


« Reply #4 on: November 17, 2019, 08:11:03 08:11 »

USB host demand lot's of processing power - hard to do on the PIC32
it is time now to move to STM32 and ARM processor
"one you walk that way you will never go back"

All the best

Bobi



https://www.youtube.com/watch?v=wASG7kgN2K4
https://www.youtube.com/watch?v=0zoeLBUxpLI
https://www.youtube.com/watch?v=xufZyQf4O7Y
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC