This is the mail archive of the ecos-patches@sourceware.org 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.

http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001397

--- Comment #62 from Ilija Kocho <ilijak@siva.com.mk> ---
Created attachment 2209
  --> http://bugs.ecos.sourceware.org/attachment.cgi?id=2209&action=edit
I2C driver Frequency divider table fix 130424 incremantal to att 2188

(In reply to comment #61)
> I remeasured the 400Khz numbers and then put the printed calcs in the table.
> 
> The 400Khz measurements were the same as before.
> 
> 
> Freq        Mode         Meas        Calc
> 100Khz      Std          98Khz       97Khz
> 100Khz      Agr          111Khz      111Khz
> 400Khz      Std          363Khz      390Khz
> 400Khz      Agr          416Khz      446Khz

It seems that there's discrepancy in I2C doc for frequency divider table. I did
some fixes to match your measurements. 400kHz Agr is pretty close to your scope
416666 Hz. Std is pretty close, but not so much 367647 Hz.
Here's an incremental patch.

-- 
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]