Raspberry Pi3 + QT + FTDI

354 views
Skip to first unread message

kasturi karandikar

unread,
Nov 21, 2016, 7:13:13 AM11/21/16
to Levana-technologies
Hiii,

I have raspberry pi 3 with Raspbian jessie and QT5 + QT creator installed on it.
I have other device with FT230X USB-Serial Converter IC (FTDI) and i want to develop QT app which sends data to device through FT230X link. (on windows it is detected as virtual comm port and works well with QTSerialPort class without any further settings)

I have installed FTDI D2XX driver as per linux installation guide and can run its demo programs to open port as well as read/write data. (on RPi3)

Now i want to call it from QT. Is it possible through QTSerialPort class or do i need to write program using FTDI lib functions?

Regards,

Mugdha Jog

ganesh bhosle

unread,
Nov 21, 2016, 12:38:40 PM11/21/16
to levana-te...@googlegroups.com

Hello,

If you could communicate your FTDI device using minicom then you could access it through at serial port class.

You can check the log messages once you connect the device for its capabilities.

Thanks and regards,
Ganesh


--
You received this message because you are subscribed to the Google Groups "Levana Technologies" group.
To unsubscribe from this group and stop receiving emails from it, send an email to levana-technologies+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

kasturi karandikar

unread,
Nov 24, 2016, 5:31:48 AM11/24/16
to levana-te...@googlegroups.com

Its working with minicom, just i had to disable flow control both hardware and software.
In QT the port is detected properly with proper FTDI port info, but App hangs after any read/write activity on port. I have set NoFlowControl with QSerialPort class setting.

The other issue is App works without FTDI activity but it always shows libEGL warning: DRI2: failed to authenticate error.

Please guide..

Mugdha Jog


To unsubscribe from this group and stop receiving emails from it, send an email to levana-technolo...@googlegroups.com.

ganesh bhosle

unread,
Nov 24, 2016, 5:42:49 AM11/24/16
to levana-te...@googlegroups.com

These two issues reported seem to be different.
One regarding serial and other related to rendering.

Could you please post the code snippet and log.

Thanks and regards,
Ganesh


On 24-Nov-2016 4:01 pm, "'kasturi karandikar' via Levana Technologies" <levana-te...@googlegroups.com> wrote:

Its working with minicom, just i had to disable flow control both hardware and software.
In QT the port is detected properly with proper FTDI port info, but App hangs after any read/write activity on port. I have set NoFlowControl with QSerialPort class setting.

The other issue is App works without FTDI activity but it always shows libEGL warning: DRI2: failed to authenticate error.

Please guide..

Mugdha Jog
On Monday, 21 November 2016 11:08 PM, ganesh bhosle <ganeshb...@gmail.com> wrote:


Hello,
If you could communicate your FTDI device using minicom then you could access it through at serial port class.
You can check the log messages once you connect the device for its capabilities.
Thanks and regards,
Ganesh

On 21-Nov-2016 5:43 pm, "'kasturi karandikar' via Levana Technologies" <levana-technologies@googlegroups.com> wrote:
Hiii,

I have raspberry pi 3 with Raspbian jessie and QT5 + QT creator installed on it.
I have other device with FT230X USB-Serial Converter IC (FTDI) and i want to develop QT app which sends data to device through FT230X link. (on windows it is detected as virtual comm port and works well with QTSerialPort class without any further settings)

I have installed FTDI D2XX driver as per linux installation guide and can run its demo programs to open port as well as read/write data. (on RPi3)

Now i want to call it from QT. Is it possible through QTSerialPort class or do i need to write program using FTDI lib functions?

Regards,

Mugdha Jog
--
You received this message because you are subscribed to the Google Groups "Levana Technologies" group.
To unsubscribe from this group and stop receiving emails from it, send an email to levana-technologies+ unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/ optout.
--
You received this message because you are subscribed to the Google Groups "Levana Technologies" group.
To unsubscribe from this group and stop receiving emails from it, send an email to levana-technologies+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Levana Technologies" group.
To unsubscribe from this group and stop receiving emails from it, send an email to levana-technologies+unsub...@googlegroups.com.

kasturi karandikar

unread,
Nov 24, 2016, 6:50:00 AM11/24/16
to levana-te...@googlegroups.com


Have I done any mistake while installing QT or do i need to add permissions for QT to access virtual serial port (FTDI)?


On Thursday, 24 November 2016 4:12 PM, ganesh bhosle <ganeshb...@gmail.com> wrote:


These two issues reported seem to be different.
One regarding serial and other related to rendering.
Could you please post the code snippet and log.
Thanks and regards,
Ganesh
On 24-Nov-2016 4:01 pm, "'kasturi karandikar' via Levana Technologies" <levana-te...@googlegroups.com> wrote:

Its working with minicom, just i had to disable flow control both hardware and software.
In QT the port is detected properly with proper FTDI port info, but App hangs after any read/write activity on port. I have set NoFlowControl with QSerialPort class setting.

The other issue is App works without FTDI activity but it always shows libEGL warning: DRI2: failed to authenticate error.

Please guide..

Mugdha Jog
On Monday, 21 November 2016 11:08 PM, ganesh bhosle <ganeshb...@gmail.com> wrote:


Hello,
If you could communicate your FTDI device using minicom then you could access it through at serial port class.
You can check the log messages once you connect the device for its capabilities.
Thanks and regards,
Ganesh

On 21-Nov-2016 5:43 pm, "'kasturi karandikar' via Levana Technologies" <levana-technologies@ googlegroups.com> wrote:
Hiii,

I have raspberry pi 3 with Raspbian jessie and QT5 + QT creator installed on it.
I have other device with FT230X USB-Serial Converter IC (FTDI) and i want to develop QT app which sends data to device through FT230X link. (on windows it is detected as virtual comm port and works well with QTSerialPort class without any further settings)

I have installed FTDI D2XX driver as per linux installation guide and can run its demo programs to open port as well as read/write data. (on RPi3)

Now i want to call it from QT. Is it possible through QTSerialPort class or do i need to write program using FTDI lib functions?

Regards,

Mugdha Jog
--
You received this message because you are subscribed to the Google Groups "Levana Technologies" group.
To unsubscribe from this group and stop receiving emails from it, send an email to levana-technologies+ unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/ optout.
--
You received this message because you are subscribed to the Google Groups "Levana Technologies" group.
To unsubscribe from this group and stop receiving emails from it, send an email to levana-technologies+ unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/ optout.
--
You received this message because you are subscribed to the Google Groups "Levana Technologies" group.
To unsubscribe from this group and stop receiving emails from it, send an email to levana-technologies+ unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/ optout.
--
You received this message because you are subscribed to the Google Groups "Levana Technologies" group.
To unsubscribe from this group and stop receiving emails from it, send an email to levana-technolo...@googlegroups.com.
main.cpp
mainwindow.cpp
mainwindow.h
mainwindow.ui
Test.pro
Test.pro.user

ganesh bhosle

unread,
Nov 24, 2016, 8:14:27 AM11/24/16
to levana-te...@googlegroups.com

1. Try running terminal project given on qt5 documnetation
qtserialport-terminal-example

2 Refer FAQ for Pi3 bugs
GLX DRI2 not supported or failed to authenticate. Need to create some symbolic link.

Thanks and Regards,
Ganesh


On 24-Nov-2016 5:20 pm, "'kasturi karandikar' via Levana Technologies" <levana-te...@googlegroups.com> wrote:


Have I done any mistake while installing QT or do i need to add permissions for QT to access virtual serial port (FTDI)?


On Thursday, 24 November 2016 4:12 PM, ganesh bhosle <ganeshb...@gmail.com> wrote:


These two issues reported seem to be different.
One regarding serial and other related to rendering.
Could you please post the code snippet and log.
Thanks and regards,
Ganesh
To unsubscribe from this group and stop receiving emails from it, send an email to levana-technologies+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Levana Technologies" group.
To unsubscribe from this group and stop receiving emails from it, send an email to levana-technologies+unsub...@googlegroups.com.

kasturi karandikar

unread,
Nov 25, 2016, 1:57:55 AM11/25/16
to levana-te...@googlegroups.com
Im getting following messages in general messages tab

/home/pi/qtserialport/src/serialport/serialport-lib.pri(3): 'qtConfig' is not a recognized test function.
Project MESSAGE: perl -w /usr/lib/arm-linux-gnueabihf/qt5/bin/syncqt.pl -module QtSerialPort -version 5.9.0 -outdir /home/pi/build-qtserialport-Desktop-Debug /home/pi/qtserialport
/home/pi/qtserialport/tests/auto/auto.pro(4): 'qtConfig' is not a recognized test function.

I can see qtConfig executable in /usr/bin/

Regards,
Mugdha


On Thursday, 24 November 2016 6:44 PM, ganesh bhosle <ganeshb...@gmail.com> wrote:


1. Try running terminal project given on qt5 documnetation
qtserialport-terminal-example
2 Refer FAQ for Pi3 bugs
GLX DRI2 not supported or failed to authenticate. Need to create some symbolic link.
Thanks and Regards,
Ganesh
On 24-Nov-2016 5:20 pm, "'kasturi karandikar' via Levana Technologies" <levana-te...@googlegroups.com> wrote:


Have I done any mistake while installing QT or do i need to add permissions for QT to access virtual serial port (FTDI)?


On Thursday, 24 November 2016 4:12 PM, ganesh bhosle <ganeshb...@gmail.com> wrote:


These two issues reported seem to be different.
One regarding serial and other related to rendering.
Could you please post the code snippet and log.
Thanks and regards,
Ganesh
To unsubscribe from this group and stop receiving emails from it, send an email to levana-technolo...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages