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... - Наука та технологія
Thank you so much!!!!!!
Thank you, Great vid
Is the builtin UART on this chip compatible with old RS232 devices that run around 19 volt signals?
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.
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?
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.
Links in the video description, maybe? :)
Brother, can we programme this chip using pickit3? I couldn't find this in mplab device list. Please advise.
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.
Om bagaimana caranya mengngonekkan kabel midi di piano. Yamaha 250. Hartono tuban jatim makasih
Can we set the i2c clock speed bro?
Indeed you can, check the MCP2221 library and C/C++ API manual for details.
@@KarimElrayes I want to change the speed up to 1MHz so can it be possible? and thanks for your reply
@@phuocangvan5280 unfortunately this is not possible, the highest I2C speed for the MCP2221 is 400KHz. The FT260 chip can achieve higher I2C speeds.
@@KarimElrayes thanks you so much
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.
That's my normal voice, so, just turn on the volume or get a better pair of speakers lol
@@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