ΣSigmaStudio Ask AI Русский Log in

System Implementation ...

SigmaDSP & SigmaStudio inventis Jan 22, 2010 00:00 2 replies Original on forum ↗
Subscribe
inventis Question
Jan 22, 2010 00:00

Hello,

I'm writing the code for a microcontroller.

Reading the example in the "SYSTEM IMPLEMENTATION" chapert of the sigmastudio help I have some dubts:

In the example there is a To523 function

in this function a float value is converted and stored in an array with the array[0] the MSB and the array[3] the LSB.

In the example function SafeParam()

the array values computed with the To523 function seem to be inverded...

the sample code send array[4] .... array[0].

I'm a little confused.

ADIApproved Reply
Jan 25, 2010 00:00

Good catch! You're correct that the bytes in these two examples are reversed. If the To523 function is kept as it is, then the bytes in safeparam() should be written in the opposite order than what is shown.

EZAdministrator Reply
Aug 2, 2018 00:00

This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.

Thank you,
EZ Admin