Hi all, back again with my problems with AT32UC3C0512C!
The issue: AST initialization jams because CLKBUSY signal never goes down:
AVR32_AST.CLOCK.cssel = AST_OSC_32KHZ; while (AVR32_AST.SR.clkbusy) ; AVR32_AST.CLOCK.cen = 1; while (AVR32_AST.SR.clkbusy) ;
That's the procedure as described in the manual http://www.atmel.com/images/doc3... on page 136.
The AST status register SR reads 0001 0001 0000 0000 0000 0000 0000 0000 (before and after setting cssel), meaning that:
CLKREADY = 0
CLKBUSY = 1
READY = 0
BUSY = 1
Worrying thing is that AST_EXAMPLE11 doesn't work either -- it fails to the same thing.
There's a similar issue https://www.avrfreaks.net/forum/u... but the solution presented there didn't help me, unfortunately.