Do any of the PSOC5 have integrated floating point unit in the hardware?
Most probably, the PSoCs has no FPU ever. But it is very fast, I think so.
Don't think so.
HL-san "Konbanwa", Is it slow? OR PSoC5 has FPU?
PSOC 5 does not have an FPU.
It does have the fixed point, 24 bit -
The Datapath subblock is a 24-bit fixed point, numerical processor containing a Multiply and Accumulator (MAC
function Arithmetic Logic Unit (ALU), sample and coefficient and data RAM (data RAM is shown in Figure 28-1)
data routing, shifting, holding, and rounding functions. The datapath block is the calculation unit inside the DFB.
I mean the FPU. PSoC5 should be fast enough for alot of embedded processing.
Despite the absense of a floating-point-unit the math.lib has all the routines to serve your needs. ARM CPU is fast enough to calculate things you want. If that is not enough, there is a sine/cosine calculator implemented by a user in a datapath which is calculating integer but VERY speedy. And if I'm not mistaken, Chris Kees implemented a square-root calculation in a datapath module, too.
I was mistaken, it was Brad Budlong, look here http://www.cypress.com/?id=2401
HW FPU (Like Cortex M4) vs FP Library ( PSOC 3/5) on a fixed point machine -
1) FPU allows much higher dynamic range than many fixed point libraries, depending on machine.
2) Used in precision filters, Real Time convolution, precise pole/zeroe high order filters.......
3) Usually at least one, if not two, orders of magnitude faster than FP Library. single cycle vs 100's
of cycles in FP Library.
Use of FPU driven by specifications, performance criteria in design.
We normally tried to avoid using floating point calcuations by multipying the numbers by 1000 or more and scale it down after the calcuation.
PSoCs are built for (analog) comfort, not for speed!