SYSBLOCK COMPARE

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

In the datasheet for the UC3A (doc32058.pdf) in table 12-3 the entry for Interrupt Group 0 Line 0 is from a source called "SYSBLOCK COMPARE". What does this refer to? I can find no other mention of this term in the any of the other technical documentation.

We never have time to do it right,
but we always have time to do it over

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

That's the AVR32 UC CPU Cycle counter COMPARE register.
Check the UC technical reference guide, section system registers.

-sma

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

I think also a example is in frameworks driver Count.c under CPU directory.

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

sma wrote:
That's the AVR32 UC CPU Cycle counter COMPARE register.
Check the UC technical reference guide, section system registers.

-sma


Thanks for that. I can almost see it. Neither the AVR32 Architecture Document (doc32000.pdf), nor the AVR32UC Technical Reference Manual (doc32002.pdf) use the precise term "SYSBLOCK COMPARE" that is used in the UC3A datasheet (doc32058.pdf). They also do not explicitly mention that the COMPARE interrupt is associated with Group 0, Line 0. That connection would have been helpful.

I guess we are supposed to know that "SYSBLOCK" is a shorthand for the "System Register Block". Using abreviations and shorthand inevitably leads to confusion over several thousand pages of documentation.

I was aware of the COUNT/COMPARE example but did not associate it with the term "SYSBLOCK COMPARE" from the datasheet.

So question answered, and I'm good to go on this one.

We never have time to do it right,
but we always have time to do it over