Page 1 of 1

BMCD Arduino Shield : can't send a correct clock

PostPosted: Sun Sep 22, 2019 11:31 am
by XavierM
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 ?

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

PostPosted: Thu Sep 26, 2019 8:36 am
by XavierM
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 !

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

PostPosted: Fri Sep 27, 2024 3:53 pm
by tubaer
Hello xavier!

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

Thanks!

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

PostPosted: Wed Oct 30, 2024 8:29 pm
by jrusso
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.