Ticket Name: TDA2: does ti rtos provide standard socket interface like linux Query Text: Part Number: TDA2 Hi, I am using TI Vision SDK PROCESSOR_SDK_VISION_03_02_00_00 does ti rtos provide standard socket interface like linux? BR HUI Responses: Hi HUI, You will need to include NDK for socket support. There are already some utility function and socket being used in vision_sdk\links_fw\src\rtos\utils_common\src\network_api.c Rgds, Brijesh Hi Brijesh, I found this below configuration, # Supported values: ipu1_0 ipu1_1 ipu2 a15_0 none NDK_PROC_TO_USE=none my question is whether dsp support socket? if yes , how to enable it. And also i read vision_sdk\links_fw\src\rtos\utils_common\src\network_api.c it is tcp socket, does TI has udp socket, alternatively, does ti rtos support all socket interface like linux? Thank you in advance. BR HUI And also how to configure the ip address in rtos , in order to make socket work. My purpose is that A15 DSP IPU , each core has one ip , then communicate with each other through socket. Is it possible? Hi HUI, IP Address cannot be assigned to each core. It is assigned to ethernet ip. Also i think NDK is not supported in DSP. Btw, why do you want to use socket to communicate across cores? You could use IPC. There are IPC links in the vision sdk to communicate across different cores.. Rgds, Brijesh Hi Brijesh, I am struggling on link, based on business team, they do not want chain. Ex: there are three link in three different core, like A15, DSP , IPU. They want to send data to any core between each other at any time any place, similar to socket, if i have destination ip and port, i can send data to it rather than defining chain. I am trying to understand whether current sdk support it. Meanwhile, if each core has one ethernet ip, and also rtos support socket. I can easily do it. Please let me know your idea. Thank you. BR HUI Hi HUI, Even in Sockets, you need to connect port on each cores. This is similar, even in links, you could have link running on each core and communicate with any core. First i think you need to come up with your data flow, we could suggest/help in creating usecase. Rgds, Brijesh In udp socket, there is one function , sendto, if you know the destination ip and port , you can send. In receive side, just need bind to one udp port, then do recvfrom. I want the similar things in IPC. Business team did not share data flow, they said it is still in discussing. They give me an example, A B C three tasks in three cores , communicate with each other. they do not want to define any chain. They want to define three links ,then each link can talk with each other. Can current sdk support this process? Hi Brijesh, where can i find some documents to introduce the mechanism of System_ipcMsgQSendMsg ? How does different cores send msg to each other? It looks in A15 linux using rpmsg socket, and how about rtos (Notify_sendEvent)? Thank you in advance. BR Richard Hi Richard, we cannot use socked for this. We have support for NDK, but it can enabled only on one core and so cannot be used in this way. I think you could use shared memory and hard mail box to communicate across cores. This is what VSDK internally uses to communicate with different cores. Please have a look into System_ipcSendMessage API to understand how it works. Regards, Brijesh