NEED example FRDM-K64 code to transmit raw data via TCP/IP Ethernet

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

NEED example FRDM-K64 code to transmit raw data via TCP/IP Ethernet

750 Views
mignacio
Contributor III

 

Hello,

I don't see any FRDM-K64 SDK example that simply transmits raw data out via TCP/IP Ethernet.   I only see ports for http, echo, ping and such applications. 

Can someone point me to an example application C-language source code for Kinetis K64 that can use its LWIP drivers for the lower TCP/IP PHY OSI layers while the application code just takes logged data and transmits them periodically out through the configured connection to a specific IP address?

Thanks for the help.

MI

Labels (1)
0 Kudos
2 Replies

664 Views
mjbcswitzerland
Specialist V

Hi

See also the open source uTasker project at https://github.com/uTasker/uTasker-Kinetis which includes FRDM-K64F methods with HTTP, FTP client, MQTT, TELNET and raw TCP Client or Server for transmitting such data (although Telnet is usually simplest since it can be put on any TCP port number).

It also allows UDP and IGMP multi-cast logging.

In addition it allows the FRDM-K64F and all of the Ethernet TCP/IP stack to be emulated in (approx.) real-time in Visual Studio to greatly simplify coding testing, debugging and analysing.

For professional requirements there is a supported version with more features which allows code developed on the K64F to run on i.MX RT10xx platforms with no porting effort when more performance is required in future designs (without new learning curves).

Regards

Mark
[uTasker project developer for Kinetis and i.MX RT]
Contact me by personal message or on the uTasker web site to discuss professional training, solutions to problems or product development requirements

 

0 Kudos

675 Views
danielchen
NXP TechSupport
NXP TechSupport

There is not a demo as your required in current SDK. You can refer to below link for raw LWIP send TCP transmission to static IP.

https://stackoverflow.com/questions/44423345/raw-lwip-send-tcp-transmission-to-static-ip

 

Regards

Daniel

0 Kudos