Configuring USB port on PIC

Author
john0bravo
Starting Member
  • Total Posts : 65
  • Reward points : 0
  • Joined: 2017/05/30 00:40:01
  • Location: 0
  • Status: offline
2018/11/08 13:03:14 (permalink)
0

Configuring USB port on PIC

Hi, 
 
I am wondering which PIC to use which has 12 bit ADC and USB module. I need to sample 10 KHz signal with sampling frequency of 100 Kilo samples per second using 12 bit ADC and then I need to send it to computer through USB port. I need suggestion which PIC is suitable for that purpose ? How difficult is to configure USB module ? Is there any demo example ?   
#1

2 Replies Related Threads

    vloki
    Jo, alla!
    • Total Posts : 6784
    • Reward points : 0
    • Joined: 2007/10/15 00:51:49
    • Location: Germany
    • Status: offline
    Re: Configuring USB port on PIC 2018/11/08 14:22:16 (permalink)
    0
    Which PIC has 12bit ADC and USB
    -> https://www.microchip.com/maps/Microcontroller.aspx
     
    12bit ADC at 100kHz sampling rate continuous? (200 Byte/ms?)

    Uffbasse !
    #2
    qhb
    Superb Member
    • Total Posts : 7545
    • Reward points : 0
    • Joined: 2016/06/05 14:55:32
    • Location: One step ahead...
    • Status: offline
    Re: Configuring USB port on PIC 2018/11/08 14:38:21 (permalink)
    5 (1)
    Note, USB is much more complex than just "configuring a module".
    Your firmware has to support all the back end of the USB protocol, so unless you're an expert it's not feasible to implement it yourself from scratch, you have to adapt one of the supplied libraries to do it.
    If you simply want to stream data into a PC via USB, an external USB/Serial chip like an FT232R can make your life much simpler.
    https://www.ftdichip.com/Products/ICs/FT232R.htm
     
    #3
    Jump to:
    © 2018 APG vNext Commercial Version 4.5