07-11-2023, 03:55 AM
@lupyuen So I am making slow but steady progress with the Audio stuff (page 625 / 7.6.5. A64 user manual). I had a slight detour to improve the Zig Register concept, which allows me to generate quite readable code I think, eg.
I have most of the five step process in place (around 11 registers to configure), although some are a little vague, and I spotted some typos in the document. But the challenge sounds like Step 3 (section: 7.6.5.2). Here it all gets very vague, referring to I2C and I2S configuration, external documents, and not much actual info on what is required. Have you come across extra documentation in this area at all please?
Code:
var pllCtrl = ccu.PLL_AUDIO_CTRL.peek();
pllCtrl.PLL_ENABLE = true;
ccu.PLL_AUDIO_CTRL.poke(pllCtrl);
I have most of the five step process in place (around 11 registers to configure), although some are a little vague, and I spotted some typos in the document. But the challenge sounds like Step 3 (section: 7.6.5.2). Here it all gets very vague, referring to I2C and I2S configuration, external documents, and not much actual info on what is required. Have you come across extra documentation in this area at all please?