eblot / pyftdi

FTDI device driver written in pure Python
Other
509 stars 212 forks source link

FTDI - URL string is missing device port #285

Closed RazKor closed 2 years ago

RazKor commented 2 years ago

API documentation » serialext - UART API

Using a device ft231x and trying to read data at baud rate of 1000000 , it does not work

Using the 2 command lines

import pyftdi.serialext
port = pyftdi.serialext.serial_for_url('ftdi://ftdi:ft231x', baudrate=1000000)

There is example of :

import pyftdi.serialext
port = pyftdi.serialext.serial_for_url('ftdi://ftdi:2232h/2', baudrate=3000000)

What Can be the problem ?

eblot commented 2 years ago

Have you tried

import pyftdi.serialext
port = pyftdi.serialext.serial_for_url('ftdi:///?')

to get the actually supported URL strings?

eblot commented 2 years ago

No feedback, closing. See Discussions to ask for help on how to use Pyftdi.