Dedicated Multiplier Hardware (MAC) in PSoC 1

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Praveen
Community Manager
Community Manager
Community Manager
25 solutions authored 10 likes given 5 likes given

Performing multiplication can be tedious without dedicated hardware. Any dedicated hardware multiplier has finite resolution and applications may arise where more resolution is required. The application note below from dave van ess describes the techniques that enable the PSoC 1 MCU to quickly multiply multiple-byte-operands and give a full resolution output.

   

AN2032 - PSoC® 1 Fast Unsigned Multiplication Algorithms

   

http://www.cypress.com/?rID=2814

   

   

The Application note discusses different ways to perform complex multiplications and benchmarks CPU cycles and memory used in each case. This will be definitely useful for your applications where multiplication is involved.

Cheers
Praveen
0 Likes
1 Reply
MeenakshiR_71
Employee
Employee
100 likes received 50 likes received 25 likes received

In addition, PSoC Designer also includes an 'Arith.h' file for predefined mul and div operations. Since not all PSoC 1s have a MAC (refer TRM of the specific PSoC 1 device), this library comes with APIs for both MAC and No MAC PSoC's. Refer Library User Guide available here or browse under 'Help -> Documentation -> Designer Specific Documentation -> Libraries User Guide.pdf' in PSoC Designer for details. To use the functions in your code, just include "Arith.h" file and call the function as defined in the guide.

   

 

   

Regards,

   

MSUR

0 Likes