12F1822 embedded host?


+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2005
    Posts
    1,073

    Default 12F1822 embedded host?

    This may be in the wrong place so feel free to move it, if so.

    I'm researching using a small PIC (12F1822) with a MAX3421E as a Serial<->USB_Host adapter for a specific device. Is this feasible? ...using internal oscillator?

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898

    Default Re: 12F1822 embedded host?

    Yes you can, it's a SPI device, no problem using the internal OSC.

    You may also check Microchip's MCP2200 which is a USART type.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Dec 2005
    Posts
    1,073

    Default Re: 12F1822 embedded host?

    Thanks Steve - the MCP2200 looks even better as I want to also design an Arduino shield that serves as a USB host and my ZarduinoTM boards are all 3.3V or 5V. It's also a better price. And the RS232 eval board may solve an immediate problem for someone else looking for a way to interface a USB peripheral to an existing embedded device that has multiple RS232 ports.

    I had posted a similar query on Jan Axelson's Ports Forum asking if there was a similar 3.3V-5V chip but now I have the answer.

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898

    Default Re: 12F1822 embedded host?

    For really small and simple USB stuff, you could even skip the PIC thing.

    It is also really easy to configure, you can even develop your own PC software around their DLL. There's one DLL for managed and one for unmanaged code. Really interestng.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  5. #5
    Join Date
    Dec 2005
    Posts
    1,073

    Default Re: 12F1822 embedded host?

    After looking at the datasheet, the MCP2200 appears to be Serial<->USB_Peripheral only. I need to play embedded host to a peripheral.

    I would still like to find a chip like the MAX3421E with SPI but able to operate from 3.3-5V.

    Microchip's USB-enabled PICs can play host but that's overkill for my need.
    Last edited by dhouston; - 18th September 2011 at 19:13.

  6. #6
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,386

    Default Re: 12F1822 embedded host?

    Hi,
    Correct me if I'm wrong but aren't those two chips (MCP2200 and MAX3421E) two different things?
    The MCP2200 seems to be like the ever so popular FTDI232, ie it acts as a USB device. The MAX3421 however seems to be a USB host to which you connect a device, like a thumb drive or whatever. Actually it seems like the MAX3421 can act as either device or a host.

    /Henrik.

    EDIT: Ah, OK you noticed that while I was typing....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts