PDA

View Full Version : MCP2200 - USB to UART Converter



pedja089
- 14th November 2010, 10:27
Hello,
I'm currently working on a USB M-bus master project. Every thing work great with PL2303. But it's hard to find...
So I try with MCP2200, and there is problem:confused:When I configure port to 2400,E,8,1 in software, parity bit isn't sent. But when receiving data with parity, it receive correctly. Or if I use any parity bit it isn't sent... In datasheet i couldn't find nothing.
Does anyone have an idea what's going on?
I tried to write the microchip's forum but nobody answers...
Thanks

dhouston
- 14th November 2010, 13:22
Sorry - I cannot help with the MCP2200 but wonder why you don't use FTDI. I'm not familiar with the MCP2200 but FTDI has drivers for Windows, Linux and OSX. Does Microchip have drivers for all platforms?

pedja089
- 14th November 2010, 14:15
Microchip also have drivers for Windows and Linux
MCP2200 have internal eeprom, they also give PID and VID, and most important that I can buy Microchip product without importing it.
FTDI and Prolific doesn't have distributers for my country...

dhouston
- 14th November 2010, 14:51
FTDI and Prolific doesn't have distributers for my country...There is also Silicon Laboratories' CP2102 & CP2103 - they have a complete set of drivers. https://www.silabs.com/products/mcu/Pages/USBtoUARTBridgeVCPDrivers.aspx

pedja089
- 14th November 2010, 14:57
I know for them, but same problem....

dhouston
- 14th November 2010, 15:47
TABLE 1-2: UART CONFIGURATIONS of the MCP2200 datasheet seems to indicate it can only do 8N1. I see no provisions for setting anything other than baud rate.

pedja089
- 14th November 2010, 16:14
I saw it. But I thought it was just an example,so I did not pay attention.
Make a port emulator that only supports 8N1 was really stupid.
Most communication protocols use parity bit...