BMCD Arduino Shield : can't send a correct clock

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

XavierM

  • Posts: 7
  • Joined: Mon Aug 27, 2018 12:17 pm
  • Real Name: Xavier Munch

BMCD Arduino Shield : can't send a correct clock

PostSun Sep 22, 2019 11:31 am

Hi all!

So I've been experimenting a bit with the arduino shield and manage to send most commands so far (such as changing frame rate, ISO, and so on). But I'm stuck on two points :

The main one is that I wanted to send a clock. Now as I understand it, there's no way to use the shield as a real TC generator, but at least I could send a clock to the URSA mini pro. Here's the code I have, and no matter what values I'm feeding it, it never correspond on the URSA and I can't find a pattern within the inconsistencies...
Code: Select all
int32_t TC[] {   
    00010010001101010100010100000000,
    00100000000110000110010001001000
    };
 
 sdiCameraControl.writeCommandInt32(
    1, // Camera 1
    7, // Catergory Configuration
    0, // Param Clock
    0, // Operation: Assign Value
   TC
  );


Also this code doesn't work at all either, when trying to change the peaking mode (but that's not my main concern)
Code: Select all
 int8_t Peak[] {1,1};
 
  sdiCameraControl.writeCommandInt8(
    1, // Camera 1
    4, // Catergory Display
    5, // Param Focus Assista
    0, // Operation: Assign Value
   Peak
  );


Any Idea guys to what might be wrong ? Am I actually supposed to use binary coded decimal for the date ?
Offline

XavierM

  • Posts: 7
  • Joined: Mon Aug 27, 2018 12:17 pm
  • Real Name: Xavier Munch

Re: BMCD Arduino Shield : can't send a correct clock

PostThu Sep 26, 2019 8:36 am

Hi !

So I got an answer that got deleted but I remembered it : coding the date and time values as 0x######## doesn't work ! Blackmagic mention "BCD" in the manual, which correspond to binary decimal value according to google. Sadly having the date for instance as DDMMYYYY with packets of 4 bites for each letter doesn't work.

Any idea ? Maybe someone at blackmagic ?

Thanks in advance !
cheers !
Offline

tubaer

  • Posts: 16
  • Joined: Thu Mar 02, 2023 7:53 am
  • Real Name: Alois Jolliet

Re: BMCD Arduino Shield : can't send a correct clock

PostFri Sep 27, 2024 3:53 pm

Hello xavier!

I'm stuck on the same problem, did you manage to find a solution?

Thanks!
Offline

jrusso

  • Posts: 1
  • Joined: Wed Oct 30, 2024 7:50 pm
  • Real Name: Jeff Russo

Re: BMCD Arduino Shield : can't send a correct clock

PostWed Oct 30, 2024 8:29 pm

Hello Xavier & Tubaer,

Did you ever figure this one out? I don't have access to a camera at the moment so can't confirm this but my notes show the clock command, id 7.0, as taking 2 int32 BCD numbers: the first is the time as HHMMSSFF (UTC) and the second is the date as YYYYMMDD.

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 22 guests