nRF52 SPI and Wire problems

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
nikinel
 
Posts: 8
Joined: Fri Apr 27, 2018 4:18 am

Re: nRF52 SPI and Wire problems

Post by nikinel »

jubueche no problem, I discovered how to open a new thread. Thanks for the notice.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: nRF52 SPI and Wire problems

Post by adafruit_support_rick »

You need pullups on SDA and SCL between the TCA and the BNO055's 4.7k ought to work.

User avatar
nikinel
 
Posts: 8
Joined: Fri Apr 27, 2018 4:18 am

Re: nRF52 SPI and Wire problems

Post by nikinel »

Thank you very much for clarifying adafruit_support_rick.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: nRF52 SPI and Wire problems

Post by adafruit_support_rick »

Does that work?

User avatar
nikinel
 
Posts: 8
Joined: Fri Apr 27, 2018 4:18 am

Re: nRF52 SPI and Wire problems

Post by nikinel »

I actually started receiving values from the sensor before needing to add the pullup resistor. I think the micro usb port wasn't secure, I'm not certain why, but its working without the resistors. If for some reason it stops reading the sensors, I'll try adding in the resistors. Thanks for your help.

User avatar
nikinel
 
Posts: 8
Joined: Fri Apr 27, 2018 4:18 am

Re: nRF52 SPI and Wire problems

Post by nikinel »

@adafruit_support_rick,
Oddly my setup was working but now its inconsistently responding. I'm looking to add the pull up resistors you had mentioned for a consistent response. If I have 5 sensors, will I need 10 pull up resistors between the BNOs and the TCA's SDA/SCL connections? Thank you for your help.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: nRF52 SPI and Wire problems

Post by adafruit_support_rick »

nikinel wrote:If I have 5 sensors, will I need 10 pull up resistors between the BNOs and the TCA's SDA/SCL connections?
Yes.

User avatar
ktownsend
 
Posts: 1447
Joined: Thu Nov 05, 2009 2:18 am

Re: nRF52 SPI and Wire problems

Post by ktownsend »

The BNO055 has extremely tight timing requirements on the I2C lines, which may be the problem here as well. See this FAQ for example: https://learn.adafruit.com/adafruit-bno ... faqs#faq-4

User avatar
nikinel
 
Posts: 8
Joined: Fri Apr 27, 2018 4:18 am

Re: nRF52 SPI and Wire problems

Post by nikinel »

adafruit_support_rick & ktownsend, Thanks a lot for your help. Yes, ktownsend, the link you sent sounds like the issue I'm having. I'll look into the pull up resistors to have a more consistent connection. Thanks!

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”