Quantcast
Channel: Wireless Connectivity
Viewing all articles
Browse latest Browse all 116964

Forum Post: CC2541 I2C Master Clock Rate Calculation

$
0
0


The CC254X User's Guide gives example clock rates for an I2C master but doesn't provide a formula for calculating rates outside of the table. Does anyone know how the three clock rate bits in the I2CCFG register affect the clock rates? Here's a copy of Table 20-6 'Clock Rates Defined at 32MHz' in section 20.1.5:

CR2 CR1 CR0 Bit Frequency Clock (kHz) Divided by
0    0   0           123                 256
0    0   1           144                 244
0    1   0           165                 192
0    1   1           197                 160
1    0   0           33                  960
1    0   1           267                 120
1    1   0           533                 60
1    1   1           Reserved            N/A


Viewing all articles
Browse latest Browse all 116964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>