Part Number: TMS320F28379D
Hi,
I configured the ADCC with 16-bit differencial input, but I wired both pins together.
With AdccRegs.ADCPPB1OFFREF = 32000, I get AdccResultRegs.ADCPPB1RESULT.all = 0x300.
With ADCPPB1TRIPHI.LIMITHI = 0x400 and ADCPPB1TRIPLO.LIMITLO = 0 / LSIGN = 0, the ADCEVTSTAT.PPB1TRIPHI and PPB1TRIPLO are 0.
But if I do ADCPPB1TRIPLO.LIMITLO = 0xFFFF / LSIGN = 1, I always get ADCEVTSTAT.PPB1TRIPLO = 1.
How can I trip to low value with negative values?
Second problem:
I move the OFFREF to 33000 and I get ADCPPB1RESULT.all = 0xFFFFFF00.
Now the ADCEVTSTAT.PPB1TRIPHI is 1. (?)
What is the meening of this logic:
If the ADCPPBxRESULT is higher than ADCPPBxTRIPLO, then a positive pulse is generated?
No, defenitely not.
I think, the operational amplifiers in the drawing should be flipped.
Gerd