AnsweredAssumed Answered

Problem with Input Capture at alternative pin at MC9S08PA32.

Question asked by Fernando Lima on Jul 29, 2015
Latest reply on Aug 4, 2015 by vicentegomez

Hello everybody.

I'm having problems with Input Capture at alternative pin at MC9S08PA32.

I am unable to count pulses at PTD1 pin. I think that there is a wrong in configuration code.

My assembly configuration code is:

 

LDA #%01011100

STA SYS_SOPT1

LDA FTM2_MODE

ORA #mFTM2_MODE_WPDIS

STA FTM2_MODE

LDA #%01000100

STA FTM2_C3SC

 

Does anybody know what is the problem?

Outcomes