Post Created date
XMEGA Programming
Quote:The AVIRSPmkII is listed as a support tool for the Xmega's and yet there's no actual evidence it can do PDI just yet. However there is a Studio V4.15 due fairly shortly and...
Tuesday, 2 September 2008 - 00:41
saving unused registers on the stack in ISR
Quote:somehow it only works if i also save R0 and R1.. i wonder if the issue is something completely different, like a timing thing or something.... i'm puzzled...Well, I have a...
Monday, 1 September 2008 - 16:24
Software SPI slave.
Have you tried saving SREG in your ISRs as several people have suggested?
Monday, 1 September 2008 - 02:08
Software SPI slave.
It may help to post complete compilable code. Just looking fairly quickly at what you have posted, I don't see anything wrong. A couple questions do pop into my mind though: 1....
Sunday, 31 August 2008 - 18:36
Using the USI for SPI in tiny2313
If you are still interested in getting the USI to work on the tiny2313, having the working mega644 implementation could help you debug it. For example, you could use one mega644...
Wednesday, 27 August 2008 - 02:32
Using the USI for SPI in tiny2313
Your transmit routine is only setting the data register. Unlike the full SPI interfaces in the larger AVRs, with the USI you need to manually generate the clock.
Tuesday, 26 August 2008 - 04:42
faster AVRs?
Quote:Not really an AVR, but IIRC, the AT89C55 can be clocked to 33MHz.Except the AT89C55 needs 6 clock cycles per instructions so while the clock is higher, the total MIPS will...
Tuesday, 26 August 2008 - 02:25
Using the USI for SPI in tiny2313
io2313.h is for the older AT90S2313. iotn2313.h is for the newer ATtiny2313.h. The AT90S2313 does not have a USI interface which is why you cannot find USI related interrupt...
Tuesday, 26 August 2008 - 02:18
ITOA() strange behavior
Simplify the code to the smallest amount that still shows the problem. Post the complete compilable code for the simplified version here. If it is a software problem, I am sure...
Tuesday, 26 August 2008 - 01:30
Using the USI for SPI in tiny2313
You should be looking in iotn2313.h for the ATTiny2313, not io2313.h.
Tuesday, 26 August 2008 - 01:25
Your code is dependent on the endianess of the architecture you are using. A more portable way to do this is something like: data = ((uint16_t)dataH << 8) | ((uint16_t)...
Tuesday, 26 August 2008 - 01:20
Using the USI for SPI in tiny2313
Quote: ISR(USART_RX_vect){ PORTD = USIDR; } Shouldn't the vector be USI_OVERFLOW_vect?
Tuesday, 26 August 2008 - 01:04