Configuring the configurable logic on the new AVRs

1 post / 0 new
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I was playing with the programmable logic on a tiny1614, and the datasheet says:



What it doesn't say (at least I can't find it) is that the whole peripheral must be enabled last, in the CTRLA register (the general one, not the LUT ones), or else all writes to all enable-protected registers are ignored. Interestingly, the AS7 simulator has the correct behaviour.