Regarding usage of floating point  i.e float IEEE 32, DOUBLE IEEE64  in hcs12x microcontrollers

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Regarding usage of floating point  i.e float IEEE 32, DOUBLE IEEE64  in hcs12x microcontrollers

813 Views
FIDDO
Contributor III

Hi,

Currently we are developing an ecu  with HCS12X microcontroller. Is it  advisable to use floating point support in this particular freescale family ?

 

What would be the impact ?

 

Please help me out!!

Labels (1)
Tags (2)
3 Replies

430 Views
FIDDO
Contributor III

thanks..guys!!

0 Kudos

430 Views
Darryl
Contributor II

You have to evaluate how well it works based on what you need to do.  I'm currently using this family in an application with a bus frequency <4 Mhz where two 4th order polynomials using ieee32 math are being evaluated ~4 times a second while sending and receiving serial messages at 115200 and collecting ADC samples at ~20Hz and have no problems.

430 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

you can use floating point support in your hcs12x project. but please note floating point lib is very memory consumming, the floating lib supported project will generate bigger code size burning image after build.

=======================================

this answer is for you. if it helps, please click on "correct answer" button. thanks!

Best Regards,

ZhangJun