I have deployed the project using Open CMSIS-PACK and imported it into ARM MDK. How can I get the model to run?

Hello, I am currently importing the model into Keil and have completed it, but I am not sure how to call these functions to make the model run. Could you please tell me what I need to do? The code is as shown in my screenshot.Thanks for your help.

Hi @sq18856514787

you can take a look at these projects:

They are based on ST targets but can be easily ported.

Have you checked the documentatio : https://docs.edgeimpulse.com/docs/run-inference/arm-keil-cmsis ?

regards,
fv

1 Like

Thanks for your reply.

1 Like

May I ask if I can deploy the Cube.MX CMSIS-PACK to RAM in MDK? I find it much more convenient to use Cube.MX CMSIS-PACK for deployment. I look forward to your reply. Thank you!

Since the board I am using is not the one provided by your company, could you please advise me on how to convert the data collected from my sensors into the corresponding feature data after I complete the model deployment? I noticed that the example only shows how to copy the raw feature data from Edge Impulse to Keil. What steps should I take to transform the data from my sensors into the corresponding feature data, as shown in the image below? I look forward to your response. Thank you!

I copied this original feature data from this location. What do I need to do to convert the corresponding sensor data into the feature data corresponding to the image? Thank you!

Hi @sq18856514787 ,

are you collecting accelerometer data ?

Then, it depends which represtantion you want for your data ie m/s2 or g-force.

Sensors usually returns raw data that you need to convert, you can check here some examples:

Probably you can find how to convert the raw data in the sensor’s datasheet.

regards,
fv

1 Like

Hi@ei_francesco,
Thanks for your reply!I will try to it.
regards,
@sq18856514787

@sq18856514787
if you want, you can use just the raw data returned from sensor - but then the model should be trained with the same “raw data” - data format of training and when you run inference must be the same format to get good results.

regards,
fv