UC3B ADC activating output driver? Ok. So no problem with adc_start().
Right after adc_start(AVR32_ADC); add a line:
U32 oder = AVR32_GPIO.port[0].oder;
The value of oder will show you which output drivers are...
Bit Feilds While bit fields are always refered to as "use at your own risk" (i.e implementation defined) I have yet to see a compiler that didn't order the bits according to the endieness of...
Tuesday, 19 July 2011 - 22:45
AT32UC3A ADC Internal triggers - how? Interesting. It seems Atmel omitted a vital section from the UC3A datasheet. The UC3B data sheet has an additional section in the ADC chapter titled "Module Configuration" which...
Cycle Counter not working? I tried this on a UC3B164 application I have here. The clocks were configured as:
MCLK - PLL0 @ 60 MHz
HSB - 60 MHz
PBA - 15 MHz
PBB - 60 MHz
unsigned long cycleCount =...
Can't get 5v Vtarget on STK600 - UC3C Just a wild guess but maybe AVR studio is trying to keep you from blowing up your MCU since the UC3 is 3.3V part?
Maybe not such a wild guess after all. According to: http://www....
Tuesday, 17 May 2011 - 22:49
AT32UC3C1512C Endianness What led you to believe that it's little endian? UC3s are in fact big endian.
Wednesday, 11 May 2011 - 10:41
LD.W instruction syntax It would be nice if the documentation included an example of each instruction variant. They do show examples on some of the instructions in the manual, but not all. I've been...
Must be a hardware problem on your custom board then. Can you show us the schematic?
Ok. So no problem with adc_start(). Right after adc_start(AVR32_ADC); add a line: U32 oder = AVR32_GPIO.port[0].oder; The value of oder will show you which output drivers are...
What value are you passing to adc_start()?
While bit fields are always refered to as "use at your own risk" (i.e implementation defined) I have yet to see a compiler that didn't order the bits according to the endieness of...
Interesting. It seems Atmel omitted a vital section from the UC3A datasheet. The UC3B data sheet has an additional section in the ADC chapter titled "Module Configuration" which...
Are you using a 10x probe and the scope thinks it has a 1x probe?
For those arguing about AND and OR: /A+/B = /(A*B) where: "/" = NOT "+" = OR "*" = AND Google "DeMorgan's theorem"
I tried this on a UC3B164 application I have here. The clocks were configured as: MCLK - PLL0 @ 60 MHz HSB - 60 MHz PBA - 15 MHz PBB - 60 MHz unsigned long cycleCount =...
Are you using both RX and TX of the TWI? If so, you need a separate PDCA channel for each.
Just a wild guess but maybe AVR studio is trying to keep you from blowing up your MCU since the UC3 is 3.3V part? Maybe not such a wild guess after all. According to: http://www....
What led you to believe that it's little endian? UC3s are in fact big endian.
It would be nice if the documentation included an example of each instruction variant. They do show examples on some of the instructions in the manual, but not all. I've been...
Pages