Mysterious Xmega register

Go To Last Post
8 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

This is from the Xmega A datasheet. The table pretends to define the Prescaler A field in the System Clock Prescaler register.

But they can't fool me. There are 32 possible bit patterns and only 16 are shown. Can you spot all 16 undocumented codes?

I heard a rumor that some of these secret codes make the Xmega emulate a PIC.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It would be nice if it emulated a PIC24 or dsPIC - 40 16-bit MIPS. :)

Leon Heller G1HSM

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The architecture of PICs and AVRs are fundamentally different. I somehow doubt Atmel would fit this on their die with the risk of (amongst other things) getting much lower yields for something that normally is not used. Not to mention patent/licensing issues..

"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it"

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It was obviously said in jest! :)

Leon Heller G1HSM

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I just wanted to get Leon excited. My guess is it emulates a Z80, so you can run CP/M on it. :)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

yes, i started suspecting it was a joke after i posted.. :oops:

"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it"

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Nah, sure it emulates an 8088 to run Win Vista on it. ;)

Guillem.
"Common sense is the least common of the senses" Anonymous.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly