
Technical discussions about the TI C6000 DSPs (including the c62x, c64x and c67x DSPs).
|
Since 6414 do not have dedicate IIC port,i want to use the GPIO
pin,and
program it to function as IIC port.
Does anyone can give me some advice or some example code,any
help getting started will be greatly appreciated. |
|
º£¶« Ñî- > Since 6414 do not have dedicate IIC port,i want to use the GPIO pin,and > program it to function as IIC port.Does anyone can give me some advice > or some example code,anyhelp getting started will be greatly appreciated. Do you mean I2C port? If so, it may not be a good idea to use GPIO pin. It would take some software MIPS -- similar problem as with "software UART". You can find many comments on C6x group about software UART and the issues that people faced. A better approach may be small, low-cost Philips I2C controller or similar device. Then you can hook the I2C controller to EMIFB, SPI (McBSP), etc. -Jeff |
|
Thanks for your advice.Actually,on my board,i use the DSP to
initialize
the video decoder SAA7115 via the GPIO when power on.So,it does't
cost any software MIPS,when the initialize has been done,the I2C port
need't to work any more.
Jeff Brower <j...@signalogic.com> wrote:
|
|
Paul- > Thanks for your advice.Actually,on my board,i use the DSP to initialize > the video decoder SAA7115 via the GPIO when power on.So,it does't > cost any software MIPS,when the initialize has been done,the I2C port > need't to work any more. With video / audio codec, network switch, etc -- any device where one-time or infrequent initialization is needed -- GPIO is good solution. My suggestion was for active I2C bus, where communication takes place frequently and is used for data transfer. -Jeff > Jeff Brower <> wrote: > > º£¶« Ñî- > >> Since 6414 do not have dedicate IIC port,i want to use the GPIO pin,and >> program it to function as IIC port.Does anyone can give me some advice >> or some example code,anyhelp getting started will be greatly >> appreciated. > > Do you mean I2C port? If so, it may not be a good idea to use GPIO pin. It > would > take some software MIPS -- similar problem as with "software UART". You > can find > many comments on C6x group about software UART and the issues that people > faced. > > A better approach may be small, low-cost Philips I2C controller or similar > device. > Then you can hook the I2C controller to EMIFB, SPI (McBSP), etc. > > -Jeff |