Hi, I have a question that whether Cypress's BLE chip can do a lot floating point operation or not?
Welcome in the forum and in the fascinating world of PSoCs!
The BLE chip is basically a PSoC4 which I used to control a quad-copter which needed a lot of math functions using floats. No problems at all (exept debugging my errors ).
The core of a PSoC BLE is an ARM M0 which you may run at 48MHz and that is quite performant!
So what do you actually want to do with your PSoC BLE?
The PSoC4 with its Cortex-M0 core don't have a dedicated floating-point unit, but it got a single-cycle 32-bit hardware multiplier. So all floating point operations are done in software.
Its still quite fast though. I made some performance measurements - calculating a vector length (3 integer multiplications, two add, and a FP square root) takes about 50µs (2400 cycles) without any optimizations.
Here is some FFT performance numbers -
/* Style Definitions */
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-fareast-font-family:"Times New Roman";
Thanks for everyone!
And one more question, will the BLE stack cost a lot of the chip's RAM and ROM?
Short answer: Yes!
Long answer: Download and install Creator 3.1 and compile one of the PSoC4 BLE examples and look for youself at the used SRam and flash.
From my experience: the PSoC4 BLE has more RAM and flash than the normal PSoC4, and the BLE stuff needs less than this difference. So even with BLE in use you have plenty of resource. Sure its not a PC with 8Gb of memory, but for small devices its plenty.
Thanks a lot! I'll try later.