OPC-UA with CORTEX-M4

Questions regarding the use of the ANSI C SDK for Server or Client development or integration into customer products ...

Moderator: uasdkc

Post Reply
kvintagav
Jr. Member
Jr. Member
Posts: 1
Joined: 21 Nov 2014, 07:29

OPC-UA with CORTEX-M4

Post by kvintagav »

Hello support team,

I have a device with controller on the architecture of Cortex-M4 - STM32F4.
is it possible to run a embedded version of the OPC-UA Server on this controller?

Best Regards, Andrey.

User avatar
Support Team
Hero Member
Hero Member
Posts: 3070
Joined: 18 Mar 2011, 15:09

Re: OPC-UA with CORTEX-M4

Post by Support Team »

Hello Andrey,

the current edition of our ANSIC based OPC UA Server SDK will very unlikely run on the STM32F4. The reason is not the Cortex M4 processor, but the RAM memory size available. Even on the larger editions of the F4 series there are only 256kBytes of RAM available.

You could strip down the ANSIC Server SDK and make an OPC UA Server without any security features and with very limited number of nodes (one). You could also compile out OPC UA features like alarms and events and history. In addition you could reduce the capabilities of the UA Server to a "micro" or even "nano" profile (see http://opcfoundation-onlineapplications ... reporting/ for details). However, than only few UA Clients (one) can connect simultaniously and you loose nice feature like "subscription" and by this monitoring of nodes.

Our ANSI C based SDK is designed for the "embedded" use case and has many optimization (like memory pools and stringtables, etc.), but we recommend to have at least 500k better 1M of RAM.

Best Regards
Support Team

Post Reply