Patrick Roberto de Almeida 0 Posted February 24, 2014 Share Posted February 24, 2014 Hello. I am to beginning to learn Piccolo F28027. I am to trying to make a transformation from fixed point to string(ASC2) in the F28027. I used the example file 3386IQmath_Quickstart as below: char buffer[30]; _iq x1 = _IQ(1.125);_iq1 x2 = _IQ1(-6789546.3);_iq14 x3 = _IQ14(-432.6778);_iq30 x4 = _IQ30(1.127860L);int error;// Global_Qerror = _IQtoa(buffer, "%10.10f", x1);// IQ1 error = _IQ1toa(buffer, "%8.2f", x2);// IQ14error = _IQ14toa(buffer, "%6.6f", x3);// IQ30error = _IQ30toa(buffer, "%11.12f", x4); I discovered that this example works when using the ram memory, however when using the flash memory doesn't work. The transformation to string is incorrect, with error. How i should configure the flash memory in this case? Best regards. Quote Link to post Share on other sites
TI_Trey 38 Posted February 25, 2014 Share Posted February 25, 2014 Hello Patrick! That seems strange that this would work from RAM but not from Flash. Can you upload a project for me to try? If I can reproduce it I can probably fix it. BR, Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.