the clock speed was reduced in by editing the following lines in the
drivers/i2c/busses/i2c-davinci.c file.

/* Default: Fast Mode = 400 KHz, Standard Mode = 100 KHz */
static int i2c_davinci_busFreq = 100;



On Tue, Mar 8, 2011 at 1:18 PM, Aditya Barawkar <[email protected]>wrote:

> Hi Steve,
>
> Thanks for reply
>
> I did reduce the clock frequency from 400Khz to 100Khz. But it dint work
> for me.
>
> The board was shipped to me with an older kernel version , so the DVSDK 2.0
> did not work for it, and dvsdk 1.3 worked fine.
>
> A couple of questions that i have
>
> 1)Will building a new kernel with dvsdk2.0 and booting it will solve the
> problem?
>
> 2)Also can i use the same DVSDK1.3 , with newer kernel sources and build a
> new kernel? If yes from where can i download the kernel sources? And what
> steps should be followed to build a new kernel?
>
> Thanks in advance!
>
> On Tue, Mar 8, 2011 at 1:18 AM, Steve Chen <[email protected]> wrote:
>
>> On Mon, Mar 7, 2011 at 1:32 PM, Aditya Barawkar
>> <[email protected]> wrote:
>> ...
>> > .
>> > MontaVista(R) Linux(R) Professional Edition 4.0.1 (0600980)
>> >
>> > 10.42.43.10 login:
>> >
>> > Can any one tell me how to get away with the I2C NACK error. Which
>> device is
>> > causing the NACK to occur ?
>>
>> Wow, that is a really really old kernel.  May want to use a newer
>> kernel instead.  If that is not an option, you may want to slow down
>> the i2c bus clock and see if that helps.
>>
>> Steve
>>
>
>
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to