On Tuesday, 16. August 2016 08:55:54 Joe Zbiciak wrote:
> I assume you're referring to this patch to the test case:
>
> http://developer.intra2net.com/git/?p=libftdi;a=commitdiff;h=71030195f48bb
> f49b84de66a425ae10e5577774e
yes
> Yes, that looks like the right place in the code to add it, as it includes
> TYPE_230X under the same branch as TYPE_R and TYPE_BM. The 'H' devices
> pack the INTERFACE_{A,B,C,D} into the 8 LSBs of index, while the others
> do not. The FT230X data sheet points to the same AN232B-05 app-note for
> computing divisors as used for the FT232R, FT2232 and FT232B, so based on
> FTDI's documentation, it matches their recommendations for FT230X.
>
> I looked through why that code is there (reassembling the 3-bit frac_code
> field, effectively), and that looks right too. It's taking the 2 MSBs of
> 'value' and 1 LSB of 'index' to reassemble the 3-bit frac_code, correct?
I must admit I'm not too deep into the details
of the baudrate calculation code anymore.
You probably know more about than I do :)
Thomas
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|