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.

TMDSCNCD28388D: TMDSCNCD28388D Inquiry

Part Number: TMDSCNCD28388D
Other Parts Discussed in Thread: C2000WARE

Dear TI Experts,

I have followed the Expert's guide on the below E2E link, however,

I am not sure whether the file I added by the engineer is correct. How to use the software on the notebook to receive the data sent by the development board?

Please refer to the attachment files and see what needs to be adjusted or corrected.

sn_customerservice_case_ef5e302e1bdcf85c602cf715464bcb10_attachments.zip

If you can help modify the file so as it will function as per the customer's request above, it would be best.

Thank you for your usual support.

Regards,

JOnard Rico

  • Hi Jonard,

    Thanks for your question! Could you please provide more details on the issue? For example:

    * Please provide the missing E2E link being referred to (was mentioned but is missing from original post)

    * Peripheral (like EPWM, Ethernet [which I believe your code shows is the issue], ADC, etc.) that you are seeing the issue with

    * Document Literature # (SPRUI33 for example) referred to when mentioning "Expert's guide"

    * The exact hardware being used (Launchpad, ControlCARD, or custom board)

    * Any external devices being used (transmitters, etc.)

    Regards,

    Vince

  • Hi Jonard,

    As Vince pointed out can you clarify on the issue. 

    If its about how to use ethernet examples i hope you have referred to the document C2000Ware_3_04_00_00\libraries\communications\Ethernet\docs\Ethernet_Examples_Guide.pdf

    You can find the enet_lwip example here C2000Ware_3_04_00_00\libraries\communications\Ethernet\third_party\lwip\examples\enet_lwip\cm

    and understood the steps given in the readme.txt file for that project. 

    # Ethernet with lwIP
    
    About:
    This example application demonstrates the operation of the F2838x microcontroller
    Ethernet controller using the lwIP TCP/IP Stack. This example sets up the Ethernet 
    MAC. It then configures the lwIP network stack with a static IP address of 
    192.168.0.4.
    
    Protocols enabled:
    ARP, ICMP, TCP/IP, HTTP
    
    Current Capabilities:
    Once programmed, the device sits in an endless loop and all the processing takes
    place in the interrupt context. This example is capable of the following:
    1.ICMP ping - sends ping responses to ping requests.
    2.HTTP Webserver example - displays a webpage with a basic bidirectional data 
    transfer utility.
    
    Note: The sender should be in the same network (192.168.0.x / 255.255.255.0).
    
    Steps to run this example:
    1. Program the c28 core with correct pinmux configuration. 
    2. Program the cm core with the enet_lwip example binary. Let the controller run.
       It is programmed with a static IP address - 192.168.0.4.
    3. On any sending device, set the IP address to something like 192.168.0.x so that
       the sending device and the f2838x device are in the same network. Now, both the 
       device can be connected directly or even through a switch in between. Since the
       f2838x device supports ARP, it will be able to respond to ICMP/HTTP requests
       even through the switch.
    4. For ping example:   
        a. Ping the f2838x device which can be typically done with standard 'ping' command
           on most devices. 
                        ping 192.168.0.4
        b. The sender device should be able to see ping replies from the f2838x device's 
           IP address.
    5. For Webserver example:
        a. Open a web browser in the other device. Type 192.168.0.4 in the address bar.
        b. A webpage shows up with TI logo and an interactive button. Clicking on the 
           button should update a number value on the webpage. Button click sends an
           HTTP query to the device which sends back the value of a global counter and
           then increments the value of the counter. So, the webpage value should increase
           with each button click.
           
    +Note: The webserver is currently capable of handling only the HTTP requests and not
          cgi/ssi scripting.
    
    ++Note on Custom Webserver Pages/FileSystem :
    1. Design your own webserver pages and store them in a folder under 
       {LWIP_DIR}/src/apps/http/fs. Run the makefsdata.exe program which will generate 
       "fsdata.c" file in the same directory which has all the files converted and stored
       as C arrays.
    2. Copy the contents of this file into the {LWIP_DIR}/src/apps/http/fsdata.c file. 
       This file is included in this enet_lwip project and hence the webserver will 
       get updated in the device and query to the device IP address in the network will
       show the updated webpages.
    
    For additional details on lwIP, refer to the lwIP web page at:
    http://savannah.nongnu.org/projects/lwip/
    

    Regards,

    Yashwant