[ARM] choosing correct type for input pin of stm32f103 connected to sensor

Status
Not open for further replies.

zahra110

Newbie level 1
Joined
Apr 5, 2014
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
9
Hi all,

I'm using ADXL375 accelerometer sensor connected to STM32F103 microcontroller.

I wanna enable the interrupt pin of sensor and connect it to one of input pins of microcontroller

in sensor datasheet it is said that interrupt pin is push pull active high.
now, the Question is that How should I configure the input pin of microcontroller that is connected to interrupt pin of sensor?

do I should set this pin as Input/ pull down pin, OR Input/Pull up pin OR Input/floating ?



Regards,
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…