This is the mail archive of the
mailing list for the eCos project.
[Bug 1001397] I2C driver for Kinetis microcontrollers
- From: bugzilla-daemon at bugs dot ecos dot sourceware dot org
- To: ecos-bugs at ecos dot sourceware dot org
- Date: Wed, 24 Apr 2013 06:56:17 +0000
- Subject: [Bug 1001397] I2C driver for Kinetis microcontrollers
- Auto-submitted: auto-generated
- References: <bug-1001397-13 at http dot bugs dot ecos dot sourceware dot org/>
Please do not reply to this email, use the link below.
--- Comment #59 from Mike Jones <email@example.com> ---
After setting CPU clock to 100Khz:
Freq Mode Meas
100Khz Std 98Khz
100Khz Agr 111Khz
400Khz Std 363Khz
400Khz Agr 416Khz
>From an application point of view, this is a little problematic, in that:
- When you set the goal and value, you don't get feedback in the configuration
that tells you what the result will be. You have to get a scope and measure it.
- If you want to make it more accurate, you have to either guess the correct
CPU clock, or reverse engineer the algorithm to calculate the required clock
One solution might be to have the configuration calculate the proper CPU clock
so you can then manually change the clock to get a better result.
I am ok with committing the solution as is because I can figure it out for 100
and 400 and will have the only answers I need. I think it is just a question of
how much you want to help the application programmer.
You are receiving this mail because:
You are on the CC list for the bug.