EmbDev.net

Forum: µC & Digital Electronics converting a digital signal


Author: Evrard Tsafack (Guest)
Posted on:

Rate this post
0 useful
not useful
hello everyone ,
I have a question ie how to calculate the offset and the Multiplier for 
my 12 bit raw signal. I have a formula but I do not know if it is right.

Ue = Xd * Uref / 2^n

Ue ...Eingangssp
Xd ...dezimaler Ausgangswert
Uref...Referenzspg
n ...Quantisierungsstufen

I have this value for example

001000100010

Thanks in advance

regards
Evrard

Author: good advice (Guest)
Posted on:

Rate this post
0 useful
not useful
you have a formula and a value.

If it is the right formula, depends on your goal. What is your goal?

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig