Joined: 27 Apr 2017
|Posted: Fri May 12, 2017 6:53 Post subject: The Outside Touch Problems of CC2530
Recently I met an odd problems. Situation description:
I am making a door-sensor detection circuit by using CC2530 to connect a reed switch outside. The circuit is given below.+5.12.1
The diagram of reed switch is : when magnet is near,closing. Otherwise, breaking. The reed switch connect a 1M resistance to the ground. Using P00 and P20 connect the signal output pot of reed switch.
P00 was set to be three input mode, break outside and the rising edge touched.
P20 was set to be three input mode,break outside and the lowing edge touched.
When the magnet is close to, the P00 can’t touch breaking. (Actually the reed switch is OK.) but P20 can capture breaking every time.
The odd phenomenon:
I can text the signal output pot of reed switch by probe of oscilloscope. I found that P00 can capture the interrupt every time. However,the P00 can’t touch it after probe left.
PS: Not only the oscilloscope but also my hand touch this output pot,P00 can touch interrupt.
Are troubles occurred by P00 which set to be three input mode?
I found a situation that when I connect a 1nf Capacitor with R11 1 resistance, P00 can detect outside interrupt.
Can anyone help me solve this troubles? Thanks a lot.