cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4

Anonymous
Not applicable
        Hi, I have a question that whether Cypress's BLE chip can do a lot floating point operation or not?   
0 Likes
8 Replies
Bob_Marlowe
Expert II

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?

   

 

   

Bob

0 Likes
HeLi_263931
Honored Contributor II

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.

0 Likes
ETRO_SSN583
Esteemed Contributor

Here is some FFT performance numbers -

   

 

   

    

   

          http://www.cypress.com/?app=forum&id=4749&rID=82225

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable
        Thanks for everyone! And one more question, will the BLE stack cost a lot of the chip's RAM and ROM?   
0 Likes
Bob_Marlowe
Expert II

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.

   

 

   

Bob

0 Likes
HeLi_263931
Honored Contributor II

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.

0 Likes
ETRO_SSN583
Esteemed Contributor

0 Likes
Anonymous
Not applicable
        Thanks a lot! I'll try later.   
0 Likes