Introduction to MCP2221 USB to UART/I2C Interfacing Chip

Поділитися
Вставка
  • Опубліковано 1 сер 2024
  • A brief introduction to the MCP2221 chip and its specs, circuitry and programming.
    GitHub repo for MCP2221 examples:
    github.com/kelray/MCP2221-Exa...
  • Наука та технологія

КОМЕНТАРІ • 18

  • @drstrangelove09
    @drstrangelove09 4 роки тому +2

    Thank you so much!!!!!!

  • @dany241
    @dany241 4 роки тому +1

    Thank you, Great vid

  • @hexdude24
    @hexdude24 4 роки тому

    Is the builtin UART on this chip compatible with old RS232 devices that run around 19 volt signals?

    • @KarimElrayes
      @KarimElrayes  3 роки тому

      Unfortunately not compatible, the output levels are +5 and 0V if you are using +5v supply, and +3.3 and 0 if you are using +3.3v supply.

  • @nullpointerworks4036
    @nullpointerworks4036 4 роки тому +1

    Do you know of any method to get a GPIO pin on the MCP2221 to act like a DTR pin like on your regular FT232RL?

    • @KarimElrayes
      @KarimElrayes  4 роки тому

      Unfortunately there is no direct way to set up one of the GPIO as DTR according to the datasheet. You might need to write a specific code using Microchip DLL to control the GPIO pin.

  • @FreedomAirguns
    @FreedomAirguns 2 роки тому

    Links in the video description, maybe? :)

  • @dileeppaul4301
    @dileeppaul4301 3 роки тому

    Brother, can we programme this chip using pickit3? I couldn't find this in mplab device list. Please advise.

    • @KarimElrayes
      @KarimElrayes  3 роки тому +1

      Unfortunately bro it cannot be reprogrammed. To my knowledge the flash memory is locked and firmware can't be modified. I read somewhere the MCP2221 is based on a PIC16F14xx microcontroller, I have used a similar one PIC16F1459, which is a 16 pin MCU with built-in USB.

  • @ronggohartono8895
    @ronggohartono8895 3 роки тому

    Om bagaimana caranya mengngonekkan kabel midi di piano. Yamaha 250. Hartono tuban jatim makasih

  • @phuocangvan5280
    @phuocangvan5280 3 роки тому +1

    Can we set the i2c clock speed bro?

    • @KarimElrayes
      @KarimElrayes  3 роки тому

      Indeed you can, check the MCP2221 library and C/C++ API manual for details.

    • @phuocangvan5280
      @phuocangvan5280 3 роки тому

      @@KarimElrayes I want to change the speed up to 1MHz so can it be possible? and thanks for your reply

    • @KarimElrayes
      @KarimElrayes  3 роки тому +1

      @@phuocangvan5280 unfortunately this is not possible, the highest I2C speed for the MCP2221 is 400KHz. The FT260 chip can achieve higher I2C speeds.

    • @phuocangvan5280
      @phuocangvan5280 3 роки тому

      @@KarimElrayes thanks you so much

  • @justforhavens
    @justforhavens 3 роки тому +1

    This video has great info, but I wish you would not be whiispering. It will be easier to understand and listen to if you just speak with a full normal voice. Sounds like you're trying not to wake up somebody or something. I have to turn it up a lot and then I hear your breath and mouth very loudly, lol. SPEAK! :) Thanks for making this video.

    • @KarimElrayes
      @KarimElrayes  3 роки тому +1

      That's my normal voice, so, just turn on the volume or get a better pair of speakers lol

    • @justforhavens
      @justforhavens 3 роки тому

      @@KarimElrayes I'm using studio monitors, I can hear everything lol. I guess you just don't project your voice very much that's okay