Page 1 of 1

Power down modes

Posted: Sat May 11, 2019 4:58 am
by toaniel
Hello!

Page 47 of the Codec Datasheet https://statics.cirrus.com/pubs/proData ... 1_v4.9.pdf shows there are power down modes.

There is a Power Down Control register with the following options of Power Conservation Modes Software Control:
  • Line Input Power Down: in case you don't need the audio input
  • Microphone Input an Bias Power Down: in case you don't need the microphone
  • ADC Power Down: in case you don't need to input audio
  • DAC Power Down: in case you don't need to output audio
  • Line Output Power Down: in case you don't need the line output
  • Oscillator Power Down: in case you are not using anything at all (I guess)
  • CLKOUT power down: in case you are not using anything at all (I guess)
  • Power Off Device in case you are not using anything at all (for sure :mrgreen: )
In my case, I will not be using the microphone. Also, I will attempt put the rasp-berry pi in a low power state when not used. Therefore, I will eventually use all the power down modes.

Has anyone figured out how to set/clear the bits associated to the power down modes?

Thanks!

Re: Power down modes

Posted: Fri May 31, 2019 10:40 am
by shabtonic
Nice find!

I'm bare metal coding for this device over the next few weeks - and this doc is just what I needed!

If I mess around with the PD modes - I'll post on here!

Shabby