Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Atmega644pv timer2 affected by signal on pctin21

Status
Not open for further replies.

Ed_N

Newbie level 1
Joined
Feb 5, 2007
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,292
Hi,

I have been working on a problem for days and I run out of ideas. I got an Atemga644PV with an external RTC clock (32kHz) on TOSC1 and 2 for async timer2. I use pcint21 to read (count) some impulses but the higher the signal the more the RTC is affected to the point of stoping working.

I have tried:
- JTAG disabled
- Capacitors on the xtal for 10pF and 22pF and no capacitors at all

I don´t know what else to try to be honest. I have run the test on other pcint and this does not happen. Also one curios thing, even if I disable the interrupts the problem persists. Any ideas?

Just banging my head against a brick wall here!

Fustrated Ed

Added after 36 minutes:

A quick update, I have lifted pin 24 (pcint21) from the board and apply a frequency signal to it. The problem stops!

However the input channel is externally pulled high so if it was any stray capacitance or crosstalk it would still be there whether pin 24 was connected or not right?

Could this be a bug on the IC?
 

HI

Read the chip ERRATA (downloaded from manufacture site)

You might find there a solution to your problem

All the best

Bobi

The microcontroller specialist
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top