Find the register that sets the frequency in the TRM and read and examine the clocking used for I2C. Typically it's a divider from the CPU clock which maybe set in a register. Make sure the divider value is a binary multiple of the divided clock. If it is change the StarterWare line of code to use your new divider. If it's not a multiple you have to Change the main clock so it is and divide to 400 kHz. Follow the I2C init code examination of all registers the code reference in the TRM and make sure it makes sense . Usually the TRM gives a brief explanation of steps needed to do to . Compare steps to code
Sent from Yahoo Mail on Android On Tue, Jun 14, 2016 at 8:41 AM, Karl Karpfen<[email protected]> wrote: Hi, according to the TRM of AM335x the I2C bus frequency can be 100 kHz or 400 kHz. But when I have a look into the StarterWare I2C examples, only 100 kHz are used (for EEPROM and PMIC). Is there a special reason for this? Or is it just a limitation of the example sources and BBB hardware in general can run with 400 kHz? Thanks! -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/ac29f2e1-42f1-4b53-86cf-69c73643c804%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/585117639.2965482.1465922175590.JavaMail.yahoo%40mail.yahoo.com. For more options, visit https://groups.google.com/d/optout.
