Hi,
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
Hi Alberto,
Figure 9 in the manual assumes your data will be from leading edge to leading edge of the Frame Sync. If you set the port up with an active low FSx, with FWID set to 16 (0x0F) and FPER at 20 (0x13), with no data delay - the MSB to the DAC8831 will be available with the first clock after the falling edge of FSx. The LSB will be present at the last clock just before the FS rising edge. FS will be high for four clocks between transmissions. Imagine the timing diagram of Figure 1 in the DAC8831 data sheet with four clock cycles under /CS high to get a better understand of what to expect.
Hi Tom, thanks for your interest.
Only a little thing for my understanding. The FWID value you indicate (0x0F = 15) is ok, but the FPER value should be 19 (0x13) because the frame period should be FPER+1 (or I'm misunderstanding the specs?)
Apart from the above, definitely using a 20 clk real period and a 16 clk wide active low sync, with data delay 0, 8831 should work fine for my need, I understand.
But the other doubt I have (and pheraphs I'm overzealous) is whether is it possible for MCBSP to generate a 16 clk wide sync, due to the sync width limit written in the McBSP specs which say "FWID should be less than WDLEN", where in this case WDLEN = 16.
So I wonder whether FPER = 15 satisfies this condition (because 15 < 16) or I misunderstand the McBSP specs which, insted, mean that the real sync width in clocks should be less than the word length in clocks.
Excuse me if you already answered me about this point and I didn't understand.
Alberto
Hi Alberto,
You are right, I forgot to 'subtract 1' so yes, 0x13 is correct for the FPER setting for 20 clock cycles. I'm going from the C6000 McBSP Users Guide (SPRU580) and I don't see a restriction on the length of FWID with respect to WDLEN. Can you point me to a specific page number?
Hi Tom,
the document is the McBSP reference spru580g, dec 2005, chapter 4.4.1, page 23.
"it is recommended that FWID be programmed to a value less than (R/X)WDLEN1/2"
Hi Alberto,
Sorry for the delay in getting back to you. I was looking at revision C of that document so I did not see that entry. When running in standard McBSP mode, I don't think there is any issue but I'll try to get some clarification on that point from the C6000 applications guys.
Hi Alberto,
I'm still waiting for a definitive answer from my colleges - in the meantime though, have you considered using 'clock stop' mode on this project?