Other Parts Discussed in Thread: HALCOGEN, TMS570LC4357
Tool/software:
Hi,
I'm using TMS570LS3137ZWT device.
I have set VCLK to 90MHz
I have configured I2C Prescaler to 8 in order to have a module frequency of 10MHz.
Following datasheet formula, to obtain a 400kHz I2C bus, i should configure CLKH to 7 and CLKL to 8
However, in order to obtain 400kHz, i had to configure CLKH to 4 and CLKL to 4...meanning a wrong VCLK frequency.
I have check VCLK with ECLK: ECLK = VCLK / 900 gave me a really nice 100kHz square signal...
I'm confuse on this configuration...
Can you help me to understand?
Thank you in advance.
Francois