Post Created date
AT32UC3C2512C PWM duty cycle
I will answer my own question! This seems to work for me. pwm1_channel.cdtyupd = pwm_duty; // New duty cycle value pwm1_channel.cprdupd = 8000; // New period value...
Friday, 23 November 2012 - 06:20
AT32UC3C2512C PWM duty cycle
Thanks! But I want to change the duty cycle in my main program with the "Channel Cuty Cycle Update Register" to prevent unexpected output waveform. If some one have an simpel code...
Tuesday, 6 November 2012 - 05:56
Generate the first TXRDY interrupt!
Thanks! That is a very good example! But there is some strange behaviour in AVR Studio 5 debugger when using USART:s trying to transmit and recive with interrupt. But my USART...
Wednesday, 9 May 2012 - 05:29
Generate the first TXRDY interrupt!
Hi! Yes I meant TXRDY! I still have problems with this code. As soon as I enable TXRDY for USART1 the processor only loops in the transmit interrupt and don't execute any other...
Wednesday, 18 April 2012 - 16:32
Generate the first TXRDY interrupt!
Thanks! I have changed my code so I enable RXRDY when I'm starting to transmit data. When all data is transmitted I'm disabling RXRDT in the end of transmit interrupt. It seems to...
Monday, 9 April 2012 - 18:02
Generate the first TXRDY interrupt!
Here is some code and i don't know whats wrong but I get TXRDY interrupt as son as enable global interrupt. regards #if __GNUC__ __attribute__((__interrupt__)) #elif...
Thursday, 5 April 2012 - 18:15
PDCA ring buffer
This will set the MR.RING![PDCA_CHANNEL_USART].mr = AVR32_PDCA_MR0_RING_MASK; I have been doing some testing with this function and it seems just to create a...
Friday, 24 February 2012 - 17:38
JTAG just works fine if I check the box for "Use external reset"
Tuesday, 14 February 2012 - 19:56
Sorry! The aWire works but Why not JTAG? Thanks!
Friday, 10 February 2012 - 15:20
AVR Studio debugging USART, UDR
OK! Thanks for your intrest and help in this matter :) If I setup a schedule with time delays and shift the RXD pin on port D as 11 bit frame the simulator 2 will generate a RXC...
Sunday, 30 January 2011 - 10:40
AVR Studio debugging USART, UDR
OK! You are right! I looked at the earlier coment about ADC. But how about this in simulator 2? In the ADC example the ADIF flag is set in the same way so way not RXC? // Initial...
Saturday, 29 January 2011 - 12:40
AVR Studio debugging USART, UDR
my mouse handling is excelent! but keyboard.... hmmm So if I run in Simulator 2 mode the dialogbox for Stimuli and logging doesn't show???? So I can now run .sti files in...
Friday, 28 January 2011 - 18:42