Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-src by
Revision 412:ea78ced42a1f, committed 2014-11-27
- Comitter:
- MACRUM
- Date:
- Thu Nov 27 06:27:12 2014 +0000
- Parent:
- 411:12e8e4569aa7
- Commit message:
- Fixed I2C issue (temporary) in RZ/A1H
Changed in this revision
targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/i2c_api.c | Show annotated file Show diff for this revision Revisions of this file |
--- a/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/i2c_api.c Thu Nov 20 11:45:07 2014 +0000 +++ b/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/i2c_api.c Thu Nov 27 06:27:12 2014 +0000 @@ -198,7 +198,8 @@ } void i2c_frequency(i2c_t *obj, int hz) { - uint32_t PCLK = 6666666; +// uint32_t PCLK = 6666666; + uint32_t PCLK = 3333333; uint32_t pulse = PCLK / (hz * 2);