Tool/software:
Hi champs,
If we set ADCPPBxLIMIT to 4, means that we want to average four ADCPPBxRESULTs. Here are the questions,
- Does PPB load ADCPPBxPSUM into ADCPPBxSUM only when ADCPPBxPCOUNT is equal to ADCPPBxLIMIT?
- When will ADCPPBxPSUM be cleared and ready to accumulate new ADCPPBxRESULT?
- I use the table below to represent the contents of each register after every ADC EOC. Are the contents of this table correct?
ADCPPBxLIMIT |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
ADCPPBxPCOUNT |
N/A |
1 |
2 |
3 |
4 |
1 |
2 |
3 |
4 |
ADCPPBxSUM |
N/A |
N/A |
N/A |
N/A |
(R1..R4)/4 |
(R1..R4)/4 |
(R1..R4)/4 |
(R1..R4)/4 |
(R5..R8)/4 |
ADCPPBxPSUM |
N/A |
R1 |
R1..R2 |
R1..R3 |
R1..R4 |
R5 |
R5..R6 |
R5..R7 |
R5..R8 |
ADCPPBxRESULT |
N/A |
R1 |
R2 |
R3 |
R4 |
R5 |
R6 |
R7 |
R8 |
Regards,
Luke