I'm working with audio/video encoder on dm6467 board. In order to achieve correct sync between these streams (on decoder side) i need generate 27MHz PCR and PTS clocks samples. Currently, the clock is being generated by software but syncronism has not been observed. Does my board has a 27MHz clock generator which i can obtain those samples?Does anyone know if there is another way to do this?
Are you using your own custom board?
If not then you can use clock synthesizer ICs to generate synchronous outputs to control the video encoder and decoder. Else, you can synchronize the inbuilt PLLs of DM6467 to synchronize the clocks being generated. If you are using ZTI's EVM, you wont have the privilege of using external synchronizing clock synthesizers though.
Yes, i'm using my own board, more precisely a TI TMS320DM6467.
I read something about PLL of DM6467, but i can't find many docs about it. Nevertheless if i understood what you said, PLLs can "control" frequency inside board devices/peripherals, right?
My problem is that i already have encoded audio e video data as i want, and now i will generate a Program Elementary Stream (PES) and futher a Transport Stream (TS) encapsulating this data. When generating PES, i need stamp PCR and PTS values which will make sync possible on decoder side.
I think that having a clock on DM6467 which i can sampling at software level (my source code) might solve my problem.
Do you know if PLL can be used?
Yes, internal PLL can be used. Normally , it is set to a default value in the GEL file by setting appropriate values of multipliers and dividers to enable maximum frequency operation.
If you look at the datasheet of DM6467, then there is a block diagram which shows the manner in which different SYSCLKs pass through PLL1 and PLL2 to generate appropriate frequencies required for Audio, video , UART etc. You can change those freuqencies by changing multiplier and divider values. But afaik, the sysclk which gets routed to a particular controller after passing through PLL is fixed, and you cannot use another internal clock branch for your own application.
Hope this helps.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.