nRF5340 I2C Master clock generator: fractional divider possible with MCKFREQ?

We want to generate 8.200 MHz as I2S MCK with an nRF5340.

This could be achieved with 12.300 MHz ACLK as source for MCK, and then dividing by 1.5 in the Master clock generator.
An MCKFREQ register value of 0xAAAAA000 = 2863308800 looks like it could do this - BUT with the formula

given here, the denominator   is always an integer number, so it can only divide by 1, 2, 3, 4, ... but not by 1.5 (as we would like) or any other fractional value.

Is this true? Can the Master clock generator only do integer ratios despite its MCKFREQ configuration register suggesting many more possibilities and fractional division?

If so, we'd need a separate external oscillator just for this frequency - or another good idea how to generate it with the nRF5340.

Parents
  • Is this true? Can the Master clock generator only do integer ratios despite its MCKFREQ configuration register suggesting many more possibilities and fractional division?

    Yes, this is the correct interpretation of the documentation. The I2S peripheral on the nRF5340 does cover the most common clock frequencies, so if you can explain why you need 8.200 MHz I would like to know.

    Let me have a chat with some of our experts and then I will get back to you after I know what options are available to generate 8.2 MHz MCK.

    Best regards,

    Maria

Reply
  • Is this true? Can the Master clock generator only do integer ratios despite its MCKFREQ configuration register suggesting many more possibilities and fractional division?

    Yes, this is the correct interpretation of the documentation. The I2S peripheral on the nRF5340 does cover the most common clock frequencies, so if you can explain why you need 8.200 MHz I would like to know.

    Let me have a chat with some of our experts and then I will get back to you after I know what options are available to generate 8.2 MHz MCK.

    Best regards,

    Maria

Children
Related