TI C2000 F28379D support package: Mathworks implementation of IPC and how to interface with hand-code ?
3 次查看(过去 30 天)
显示 更早的评论
Hi,
I'm trying to interface via the IPC communication a hand-coded appication running in cpu01 and a generated-code application running in cpu02 of a F28379D microcontroller.
To simplify the generated-code side I use Mathwors IPC transmit and receive block, but I have trouble understanding how Mathworks implements the IPC communication. Does Mathworks provide a library to simplify the implementation of this protocol on the hand-coded side? Is there any documentation that describe the implementation (channels, memory sections to use...)? If none of the above exist, can you please give me the list of the required sources to add to my hand-coded project to be able to send/receive data from the generated code running in cpu02?
Regards,
Vincent.
0 个评论
回答(1 个)
Mark McBroom
2023-2-5
Rather than trying to write the IPC code for your hand-written application, a better approach might be to creaet a Simuilnk model for cpu01. This model will have the IPC block and the C Caller block to call the handwritten code with signal lines connect the IPC block to the relevant signals in the C Caller block. https://www.mathworks.com/help/simulink/ug/integrate-ccode-ccaller.html#
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!