sdiCameraControl.begin(); freezes Arduino

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

Dominik Lenk

  • Posts: 10
  • Joined: Tue Apr 18, 2017 9:52 am

sdiCameraControl.begin(); freezes Arduino

PostWed May 16, 2018 10:48 pm

I am running a breadboard arduino (AtMega 328-P-PU), the same that is also inside the Arduino Uno, and am having some difficulties getting the BM Shield to work.

I connected A5 and A4 SCL and SDA to the correct pins and have successfully tested them with another I2C device. Trying to run the ShieldInfo example only yields the first two serial lines:

Blackmagic Design SDI Control Shield
Getting shield version info...

After that the program effectively stops and no other lines are executed.

What am I missing?
Offline
User avatar

Xtreemtec

  • Posts: 2687
  • Joined: Wed Jan 02, 2013 11:48 am
  • Location: The Netherlands

Re: sdiCameraControl.begin(); freezes Arduino

PostTue May 22, 2018 10:38 am

2 resistors on your i2c lines.. 4.7K will do.. Your Arduino hangs on I2C line that does not go high anymore.. Leaving the Arduino in a eternal wait cyclus ;)
Daniel Wittenaar .:: Xtreemtec Media Productions ::. -= www.xtreemtec.nl =-
4K OBV, ATEM TVS HD, 1M/E 4K, 2M/E Broadcast Studio 4K, Hyperdeck Studio Mini, SONY FS7 4K, Ursa Broadcast 4K
Offline

Dominik Lenk

  • Posts: 10
  • Joined: Tue Apr 18, 2017 9:52 am

Re: sdiCameraControl.begin(); freezes Arduino

PostWed May 23, 2018 8:36 pm

Thanks for the tip. Unfortunately, that also didn't work. Hersh from BM also suggested a common ground between the shield and the Atmega.

Will wait for a real Arduino to test everything and take it from there …
Offline

Dominik Lenk

  • Posts: 10
  • Joined: Tue Apr 18, 2017 9:52 am

Re: sdiCameraControl.begin(); freezes Arduino

PostSat Jul 28, 2018 3:53 pm

A real Arduino works fine. Using that one for now. Not sure why my breadboard Arduino does not work, but will investigate again sometime in the future.

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 6 guests