Hi Guys,
Can somebody help me with USB master implementation? I need to make the device which will read the USB scanner (USB Master) and forward the data to two PC simultaneously ( USB slave HID). Since the scanner is like a keyboard, I hope that standard keyboard HID would work here.
FC8 has support for USB HID - a keyboard emulation, but I'm not sure how I can connect the USB keyboard to PIC and be able to read data. I understand that only PIC32 or PIC24 is capable of supporting the USB master, is that correct?.
I would appreciate if somebody can direct me what would be the correct way to do it using the FC8.
Thanks,
Igor
USB master
Moderator: Benj
-
- Posts: 78
- Joined: Mon Jul 31, 2017 11:14 am
- Has thanked: 7 times
- Been thanked: 13 times
- Contact:
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: USB master
Hello Igor,
We don't currently support the USB master mode. It's a bit of a can of worms even with a simple device like a keyboard as the master would have to be able to parse the HID slave device and then be able to interact with it.
Microchip have some examples as part of their application libraries which you could maybe investigate.
We don't currently support the USB master mode. It's a bit of a can of worms even with a simple device like a keyboard as the master would have to be able to parse the HID slave device and then be able to interact with it.
Microchip have some examples as part of their application libraries which you could maybe investigate.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Valued Contributor
- Posts: 654
- Joined: Fri Aug 19, 2016 2:09 pm
- Location: switzerland
- Has thanked: 182 times
- Been thanked: 179 times
- Contact:
Re: USB master
Hi Ben
Can we use this USB pin from the PIC32 with FC8 in a way to comunicate with scada or a PC?
here a link to PIC32-HMZ144 from olimex
https://www.olimex.com/Products/PIC/Dev ... e-hardware
Can we use this USB pin from the PIC32 with FC8 in a way to comunicate with scada or a PC?
here a link to PIC32-HMZ144 from olimex
https://www.olimex.com/Products/PIC/Dev ... e-hardware