pyftdi icon indicating copy to clipboard operation
pyftdi copied to clipboard

MPSSE mode to UART

Open Stimprod opened this issue 5 years ago • 3 comments

Hey, thx for this good python module :) I've one question: is it possible to switch dynamically between MPSSE mode and UART ?

Thx in advance.

Stimprod avatar Jan 28 '20 08:01 Stimprod

I'm not sure to fully understand the question.

You want to close the MPSSE port and re-open it as UART. However the port configuration is lost, and you may experience glitches on FTDI output pins.

eblot avatar Jan 28 '20 09:01 eblot

Thx for your support. I have a non conventional application:

  • I have to be in input PU on RX and TX pins in default (I configure it via eeprom with ft_prog so it's OK)
  • Switch to UART mode to send some data over serial
  • Return in MPSSE input PU on RX and TX pins

Stimprod avatar Jan 28 '20 10:01 Stimprod

Sorry, I do not get what "PU" means here.

I'm not sure how FTDI behaves with an alternative EEPROM configuration. FTDI doc is quite sparse on this matter.

eblot avatar Jan 29 '20 07:01 eblot