This is the mail archive of the mailing list for the eCos project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001397] I2C driver for Kinetis microcontrollers

Please do not reply to this email, use the link below.

Ilija Kocho <> changed:

           What    |Removed                     |Added
   Attachment #2179|0                           |1
        is obsolete|                            |
   Attachment #2182|0                           |1
        is obsolete|                            |

--- Comment #48 from Ilija Kocho <> ---
Created attachment 2183
I2C driver 130414


I had assigned wrong pins for K60, no wonder why there's no clock.
Now I have corrected them and I hope now it will work. I am on a trip so my
testing ability is limited.

You will notice some additions in the CDL. Since more than one frequency
divider register setting may fit requested frequency, I added an option to
choose a fit.

You will find some other CDLs such as C2 register options, Glitch and SMB but
they are not active in code. I guess SMB shall need considerable work and you
can do better about SMB than me. But let's leave it off for the time being. We
may remove SMB option for first release.

Subsequent to this patch, I am posing another, HAL with corrected pin settings.


(In reply to comment #47)
> Created attachment 2182 [details]
> Lock up from I2C
> Sadly, now that I have the correct symbolic link to the newly patched tree,
> the code locks up on a condition as shown in the jpg. This occurs on the
> first write transaction. The scope was set on single shot and there are no
> clocks, as one would expect.
> I apologize for the mistake. I should have suspected something when I
> imported my ecm and it did not complain about the change in the CDL from
> period to frequency.

You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]