Author Topic: Best way/chip for an easy embedded interface between a PC <==>MCU ?  (Read 1185 times)

0 Members and 1 Guest are viewing this topic.

Offline PCB.Wiz

  • Frequent Contributor
  • **
  • Posts: 407
  • Country: au
Re: Best way/chip for an easy embedded interface between a PC <==>MCU ?
« Reply #25 on: August 19, 2019, 07:49:19 pm »
USB to parallel printer port adaptors have no programming language interface drivers for general I/O, their only use is to interface with the Win printer drivers.
Google finds this
https://www.vogons.org/viewtopic.php?f=62&t=57919

The appeal of the Cypress CY7C68013A, is it uses HS-USB, and so the USB microframes are 125us spaced, or 8 time more frequent than FS-USB.
That extra speed, would help to 'look' more like a standard port, but the on-board MCU likely manages the handshake anyway. 
CY7C68013A modules are widely available so this would also be easy to verify.
 

Offline PCB.Wiz

  • Frequent Contributor
  • **
  • Posts: 407
  • Country: au
Re: Best way/chip for an easy embedded interface between a PC <==>MCU ?
« Reply #26 on: August 19, 2019, 07:52:34 pm »
After what happened with the drivers, still considering buying FTDI parts from dubious sources is complete madness. :-DD
Buy them from official distributors or just buy something else.
Fair point, I was merely commenting on the price, as the FT231X were strangely high. Maybe no clones for those ?
CP2102N is a better mainstream choice. Digikey have low cost (sub $10) compact modules like CP2102N-MINIEK
 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 5439
  • Country: fr
Re: Best way/chip for an easy embedded interface between a PC <==>MCU ?
« Reply #27 on: August 19, 2019, 08:11:26 pm »
Agreed.

While (contrary to many who got totally put-off by FTDI's attitude) I consider FTDI products pretty good and recommend them for many reasons, I particularly do so for applications in which you need relatively high throughput (which to me means > 1MByte/s).

Now if all you need is a simple USB connection with an UART port with low speed at one end (to me 115200 bds is low) and a virtual serial port on the host's side, there are cheaper solutions out there that are just as good. One thing that FTDI products offer that I'm not sure others do, is the ability to store some custom info such as VID/PID, a description string, serial number, etc. I don't know if CP21xx chips do? Or the CH34x ones?
 

Offline nigelwright7557

  • Frequent Contributor
  • **
  • Posts: 263
  • Country: gb
    • Murton-Pike Systems
Re: Best way/chip for an easy embedded interface between a PC <==>MCU ?
« Reply #28 on: August 19, 2019, 09:00:55 pm »
I took the USB project from www.waitingforfriday.com's website.
It basically is a pc program and a PIC18F4550 PIC program and circuit that toggles an LED.
You just build on that.
Its a bit old hat now as it uses the C18 compiler.
So I converted it to a PIC32MX and modern XC32 compiler.
Done numerous projects with it now and all work well.


PCBCAD51/PCBCAD360/PCBCAD720 PCB design software https://www.murtonpikesystems.co.uk
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf