This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Problem with rs232 to usb converters on beagle board

Hi!

I have the following problem: a touch screen is connected with a rs232 to usb adapter (ftdi or prolific) to a

4 port usb hub which is connected to the otg port of a beagle board. The touch screen sends with 9600 baud

(8N1) packets of 5 bytes which contain touch state and coordinates, but only when the screen is touched (3M EXII

Protocol). When released a last packet follows where the touch state is off. In principle everything works, but when I touch

the screen (which then starts to send packets) the system seems to freeze for 300 to 400 ms. Therefore there is a latency

until a toch is registered. When releasing a touch this is quite fast, i.e. no freezing. Per frame there is only one read

call to the serial port, the screen is rendered with opengl es 2.0. But the problem is also visible if there is only debug

output and no rendering at all (console based test program). The same test program runs ok on Mac OS.

Do you have any idea where this may come from? Which information can I provide?

Thanks,

Jochen

  • Has no one experience with usb to rs232 adapters?

    my gfx_check looks like this:

    # ./gfx_check.sh
    WSEGL settings
    [default]
    #WindowSystem=libpvrPVR2D_FRONTWSEGL.so
    WindowSystem=libpvrPVR2D_FLIPWSEGL.so

    ------
    ARM CPU information
    Processor    : ARMv7 Processor rev 3 (v7l)
    processor    : 0
    BogoMIPS    : 713.17

    Features    : swp half thumb fastmult vfp edsp thumbee neon vfpv3
    CPU implementer    : 0x41
    CPU architecture: 7
    CPU variant    : 0x1
    CPU part    : 0xc08
    CPU revision    : 3

    Hardware    : OMAP3 Beagle Board
    Revision    : 0020
    Serial        : 0000000000000000
    ------
    SGX driver information
    Version 1.6.16.4117 (release) /home/jochen/buildroot/Graphics_SDK_4_05_00_03/GFX_Linux_KM
    System Version String: SGX revision = 1.2.1
    ------
    Framebuffer settings
    ./gfx_check.sh: line 12: fbset: not found
    ------
    Rotation settings
    0
    ------
    Kernel Module information
    Module                  Size  Used by    Not tainted
    omaplfb                10563  0
    pvrsrvkm              143376  1 omaplfb
    ------
    Boot settings
    console=ttyO2,115200n8 vram=4M omapfb.mode=dvi:1024x768MR-16@60 omapfb.vram=0:4M consoleblank=0 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
    ------
    Linux Kernel version
    Linux buildroot 2.6.37 #7 SMP Wed Jan 25 19:15:10 CET 2012 armv7l GNU/Linux