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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,612 次查看
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!!

标签 (1)
标记 (2)
3 回复数

1,229 次查看
FIDDO
Contributor III

thanks..guys!!

0 项奖励
回复

1,229 次查看
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.

1,229 次查看
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