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,626件の閲覧回数
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,243件の閲覧回数
FIDDO
Contributor III

thanks..guys!!

0 件の賞賛
返信

1,243件の閲覧回数
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,243件の閲覧回数
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