Odd I2S observation
Tristan M. (2946) 1039 posts |
This doesn’t really fit anywhere. I just thought I’d mention it. My Pi3 has a PiFi DAC+2.0 and my Pi Zero has a bare ??? PCM5122 based DAC too. Both have an active LED. I sure haven’t gotten around to working on that yet. |
Jon Abbott (1421) 2651 posts |
Does RISC OS probe I2S to see what devices are active on the bus? What needs to be written to said device to activate it? It could be a rogue write to I2S, or a clash with another device possibly? |
Tristan M. (2946) 1039 posts |
What I know about I2S could be written on the back of a postage stamp with a blunt crayon, but I think it only has a master and slave. Hmm, perhaps the nonmenclature of “worker” like my car’s service manual uses sounds better. My only thoughts are that it’s something to do with the VC hardware or firmware that I haven’t noticed, or as you said, some kind of errant write. I just find it interesting that something trips it when nothing should be. On I2S, I did a little reading about the Pi’s relationship with it. It’s about as good as it’s relationship with USB, UARTs and interrupts. It would appear that due to clocking issues (stretching and jitter I think) the Raspberry Pi series can’t satisfactorily drive an I2S device. I have to say, I think RISC OS really should have some degree of I2S support in the HAL. I think the standard was introduced in 1989? and it isn’t showing any sign of going away. It’d probably save people reinventing the wheel repeatedly too. |
Jon Abbott (1421) 2651 posts |
Just a guess, the activity light is possibly triggered when the clock is activated or a channel is selected. Its possible the blob is doing something with I2S, running Linux might test that as it probably doesn’t include I2S support unless you specifically install it. |
Tristan M. (2946) 1039 posts |
If it were possible, I could be a highly paid consultant in losing things. But it’s not. So here’s a little info I don’t want to lose.
Armed with this I used *GPIODevices to check the GPIO states. A little correction. My Pi Zero is using a PCM5102. The Pi 3 has the proper 5122 DAC board, which is really nice by the way. No complaints. |