I am trying to use press buttons via I2C using nRF52832 Sparkfun breakout board. I followed the steps given in nrf52832-breakout-board-hookup-guide and changed the I2C Data and CLK pins to 24 and 25, respectively. I connected these pins and GND of the board to the corresponding pins and scanned for I2C devices. But it gave error = 2 (no I2C device) for all addresses. Should I use pull-up resistors? I would appreciate any help.
I2C pins of nRF52832 Sparkfun breakout board require pull-up resistors?
1.1k Views Asked by Elham Montazeri At
2
There are 2 best solutions below
0
Elham Montazeri
On
Thanks for your reply. I think it depends on the I2C device that we are using. This module has internal pull-up resistors, but it may not be enough for some devices. So, I disabled the internal pull-ups by replacing GPIO_PIN_CNF_PULL_Pullup with GPIO_PIN_CNF_PULL_Disabled for both SDA and SCL pins in the library and used external ones.
Related Questions in BLUETOOTH-LOWENERGY
- How to read a characteristic (e.g. in WICED Smart example "speed_test")
- Android Wear Device as iBeacon
- How to get MAC Address of beacon when ranging and monitoring in iOS
- android - How to get a iBecon detection state when I kill app from Background?
- How to use core bluetooth framework to connect Headsets/handsfree?
- Android : auto connect to heartrate sensor ble
- bluetoothGatt writeCharacteristic returns false
- Android's BLE Service Discovery (BluetoothGatt#discoverServices()) and Low Energy vs BR/EDR
- How deploy an large number iBeacons
- Send a Android BLE GATT Notification
- burst notifications with Bluetooth Low Energy on Android
- How to share files with all other devices from my iOS device through application?
- Is it possible to create an app that when installed the user can easily turn Bluetooth/NFC ON and OFF by double clicking the Home button?
- Difference between attributes and services in BLE
- How do I use Meteor and a Cordova BLE plugin to connect to a BLE device
Related Questions in I2C
- Using camera shutter to trigger MPU6050 on raspberry pi
- Xilinx AXI-IIC Slave Protocol description
- Python bus = smbus.SMBus(1) equivalent in C++?
- Erroneous i2c response from LSM303D to Netduino Plus
- Linux I2C-Dev IOCTL-Call produces wrong message
- Embedded software program block, I2C?
- I2C & SPI driver
- Listening to i2c input changes with python
- Getting the info from MCP23017 with Python
- Python - HowTo unittest i2c device wrapper class
- Linux - Is it necessary to register (instantiate) i2c devices before using them?
- Issue on using both I2C and Serial simultaniously in raspberry pi 2
- what is better using while loop or if statement when checking status codes of atmega 32?
- Register address not sent using I2C in TM4C123GH6PM board
- I2C communication in raspberry pi using python
Related Questions in NRF52
- TRF7970: Mifare Classic authentication
- nRF SDK: BLE GATT server and interrupts at the same time not working
- NRF52832 BLE device discovery issue
- nrf52832 Zephyr h5 hci uart stacking error occures when the connection is created between the controller and the nrf52
- Nordic Toolchain Manager initializing environment forever
- Is it possible to have a NRF52 GPIO pin that set/cleared using two GPIOTE tasks respectivly
- How can one debug a Zephyr RTOS application which crashes only with the debugger detached?
- Android App receives 2 connections from the same device (nRF Module)
- How to access the child nodes in a device tree (DTS) in Zephyr using DT_FOREACH_CHILD
- Does Zephyr support sending non-IP traffic over 802.15.4?
- HCI_UART on NRF52840, attaching the device on a Yocto based Linux SBC errors out saying "Can't init device hci0: Cannot assign requested address (99)"
- support in Developing Code For TMG4903 sensor from AMS with Nordic 52 series
- NRF52 How to erase a protected firmware program (knowing the protected password)
- Beginner setup of a nrf52840 dongle
- No RTC pin signals with SparkFun nRF52832 Breakout
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Yes pull-up resistors on both SCL and SDA MUST be provided for I2C communication. Please see the following links:-
I also recommend asking similar questions on Electrical Engineering or directly on the Nordic DevZone as there is higher chance of this being answered quicker.
I hope this helps