Average calculation using DFB - PSoC5 | Cypress Semiconductor
Average calculation using DFB - PSoC5
I'm looking for the solution of the following problem using Digital Filter Block in PSoC5:
Input: Data block (72bit = 3 x 24bit) consist of 3 channels (24bit)
Function: 3 channels data processing using DFB
- Data blocks coming from the PSoC as stream with the 10kHz frequency
- For N data blocks the average value of each channel should be calculated
Output: After N data blocks processing in DFB, average values for all 3 channels should be generated (3 x 32bit).
In the attachment problem is graphically described. I would be very thankful if someone could help me with the assembler code or useful examples.