RFQ/BOM 0 로그인 / 등록하다

귀하의 위치를 선택하세요

사용자 이미지

NUC505 floating point calculation is too slow.

MCU
9월 24, 2020 by Neil 1624

My program uses the cos function for calculation. If you simply use math.c to calculate once, it will be about 2ms, and it can be increased to 0.5ms with arm_math.c. At the same time, I use STM32f1 to test, and use math.c for about 0.115ms. May I ask Is there such a big difference, or is it my own mistake...

모든 댓글

user image

Bonnie 게시 날짜 September 24, 2020

The key NUC supports DSP instructions and floating-point units.

0
user image

Connie 게시 날짜 September 24, 2020

Have you turned on floating point arithmetic? Does it need to be set?

0
user image

Jaycee 게시 날짜 September 24, 2020

You have to call the library operation of DSP.

0

답변 작성

답글을 달려면 로그인이 필요합니다. 로그인 | 등록하다