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.

USB and LAN developments using SYSBIOS

Other Parts Discussed in Thread: SYSBIOS, OMAPL138

I am implementing a new design that will use 6746. I started the firmware developments  using LCDK. I evaluated the ethernet with example ndk_evm6748_coff_client . It works fine as a stand alone program, I also took example usb_dev_serial_C674x_C6748_evmC6748 after I modified it to remove the graphic implementation and add a simple data turnaround. It work fine a stand alone program. The next step, I combined the two program with the USB as a task.  I could not get them to work together. Either the USB does not numerate or the ethernet can not obtain address form the DHCP server. I notice a statement that indicate this USB examples can not be used with the LAN because the NDK does not support packed data. I tried to use biosusb_01_10_03 dspite  no CDC class. However, I could not get it to compile with code composer 5. I get an error that indicate invalid pass for this file "

usbdevhid.tcf" despite the pass is correct. What is the best way to start incorporating the LAN and USB with SYSBIOS under CCS5.4?. thanks

  • Monsef,

    I have moved this thread over to the device forum in hopes that it will get a faster response there.

  • Monsef Daniel,
    Thanks for your post. I understand that you are going to integrate the example projects of network stack and USB.
    Please kindly mention the version of NDK and NSP used by you.
    The NSP(nsp_1_10_00_03) have "ndk_evm6748_coff_client" project, it is based on SYSBIOS.
    I think so you have taken the USB(usb_dev_serial) project from StarterWare. It has non-OS example projects.
    In this case, I can suggest you try usb_dev_serial project working setup in SYSBIOS environment.
    It will be good practice also. If this working then you will do those modifications on the NSP example project (ndk_evm6748_coff_client) for USB.
    If you need more clarification about USB, someone can give you best help.

  • Hello,

    Thanks for your response, The  USB(usb_dev_serial)  worked OK with the NDK once I modify it to work with the SYSBIOS. Now, I am working in integrating  24 bits stereo audio ADC. I start by using mcasp_c674x_omap138_lcdkOMAPL138 found in OMAPL138_StarterWare_1_10_04_01. The example works fine for 16 bits ADC. When I changed the data and slot size to 32 bits, I am no longer able to capture the second phase of the ADC. The ADC configured for I2S but I always capture the first 32 bits of the first L/R phase depends which polarity I start the transfer. I tried to change the FIFO size and other parameters with no success. It also generate frame sync error. I used this ADC,  AK5383 dual channel 24 bits, before interfacing to McBSP(6712). I had it configured to ignore the frame sync error.

    Could you tell me what to look for to get all 64 bits of data. I thought the example will configured it self properly once I set the SLOT/WORD size to 32/32 or 36/24.

    Note: It seems the tarnsfer restart that end up having two sucessive  left, left instead of left, right

    thanks

    Monsef