TC and PWM
i have 2 questions atmel sam3x data sheet.
1) tc
i found description follows, 37.6.2 32-bit counter, " when counter has reached value 0xffff , passes 0x0000". must 0xffffffff , 0x00000000. right ?
2) pwm
these registers,"pwm_cdtyx pwm_cprdx pwm_ccntx", figured follows, bit23 throught bit16 seems not zero. read "only first 16 bits channel counter size) significant.". first 16bits means bit15 through bit 0 ?
thanks
1) tc
i found description follows, 37.6.2 32-bit counter, " when counter has reached value 0xffff , passes 0x0000". must 0xffffffff , 0x00000000. right ?
2) pwm
these registers,"pwm_cdtyx pwm_cprdx pwm_ccntx", figured follows, bit23 throught bit16 seems not zero. read "only first 16 bits channel counter size) significant.". first 16bits means bit15 through bit 0 ?
thanks
1) can confirm tc counter in fact 32bit data sheet must typo.
2) i'm not totally sure registers pretty sure sam3x registers start @ lsb "first" 16 bits should numbers 0 through 15
2) i'm not totally sure registers pretty sure sam3x registers start @ lsb "first" 16 bits should numbers 0 through 15
Arduino Forum > Products > Arduino Due (Moderator: fabioc84) > TC and PWM
arduino
Comments
Post a Comment