Does the L series support single cycle multiply?? tks

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

Does the L series support single cycle multiply?? tks

跳至解决方案
2,220 次查看
brucemcmillan
Contributor I

Does the L series support single cycle multiply?? tks

标签 (1)
0 项奖励
回复
1 解答
1,810 次查看
eduardo_viramon
NXP Employee
NXP Employee

Bruce, the Freescale RM covers the MCU in detail, the core is only superficially documented there because there is already in-depth documentation for the core provided by ARM here:

http://www.arm.com/products/processors/cortex-m/cortex-m0plus.php

And in the ARM Infocenter:

http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0439c/I1010015.html

To your exact question:

Cortex M0+ cores have a 32 x 32 = 32 multiply that can be a single cycle or a 32-cycle implementation, Freescale uses the single-cycle implementation.

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,811 次查看
eduardo_viramon
NXP Employee
NXP Employee

Bruce, the Freescale RM covers the MCU in detail, the core is only superficially documented there because there is already in-depth documentation for the core provided by ARM here:

http://www.arm.com/products/processors/cortex-m/cortex-m0plus.php

And in the ARM Infocenter:

http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0439c/I1010015.html

To your exact question:

Cortex M0+ cores have a 32 x 32 = 32 multiply that can be a single cycle or a 32-cycle implementation, Freescale uses the single-cycle implementation.

0 项奖励
回复
1,810 次查看
MichaelWang
Contributor I

Hello,I also have some problems in using the one cycle 32X32 multiplier of Cortex M0+.The MCU I'm using is MKE02Z16VLC2,and the bus clock is 20MHz,I have tested that

a int32Xint32 operation takes 10us,and a int32/int16 takes 14us,is there anything wrong or I haven't used it correctly?

When I use the DSC MC56F8013,there are many functions such as 'mult_r()' which can be used to optimize the program,is there something similar here?

Best Regards!

0 项奖励
回复
1,809 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

kinetis L is based on cotex M0+ core. so it can use  MULS instruction to execute multiply in a single cycle

1,810 次查看
brucemcmillan
Contributor I

Yes, ARM have it as an option on the M0+, and I can't find it specified in the KL25Z documentation, however there are plenty of references to the fast bit-banging, which is also an option.

tks

0 项奖励
回复