Post Created date
bit manipulating for sinewave generation
Ryujin, yes a division takes more time. But it gives you the expected result. It does not add an awful amount of code space (if you are curious, look for labels such as udivmodqi4...
Thursday, 6 November 2008 - 10:55
bit manipulating for sinewave generation
Hi Ryujin shift right != division (for negative integers). Furthermore, it is undefined in C if you get a logical or arithmetic shift when you right-shift a signed int. So if you...
Tuesday, 4 November 2008 - 15:31
yellowboy_75 wrote:Can you add its link here!! Dean's USB library You are welcome Thomas Edit: Hint: it is the first link. Alternatively, google for MyUSB
Wednesday, 22 October 2008 - 15:43
free/cheap component databases ?
Have you checked the usual suspects? Wikipedia Sourceforge Thomas
Tuesday, 21 October 2008 - 10:40
How to place a variable at the end of the data segment
clawson wrote:But it's the end of .bss, not the end of .data that will get hit first anyway? Sorry, I was a bit sloppy with the term "data". I meant the data region (the "{...} >...
Friday, 17 October 2008 - 12:59
Stupid question on BCD code
Ciao cicciounico, if you have data encoded in BCD, then you don't need to divide to get the decimal digits. You just use bit shifts and bit masks to get the digits, because they...
Wednesday, 15 October 2008 - 09:51
Interrupt Priority
Bogdancev wrote:But how can you use it? You don't use it. It just happens ;-) When two interrupts happen at the same time, the CPU needs a way to decide which service routine to...
Tuesday, 14 October 2008 - 10:21
Interrupt Priority
Georg wrote:Need to know which int's have high to low priority? On AVRs the interrupt priority is hard-coded by the order the vectors appear in the vector table. Interrupts with a...
Tuesday, 14 October 2008 - 08:28
I2C Slave Transmitter Mode
eiriksle wrote:are you sure you have covered all states as listed in the datasheet? It looks like he has. In particular, he is programming TWCR with the (imho) correct values on...
Wednesday, 8 October 2008 - 08:42
I2C Slave Transmitter Mode
Hi Fricko, a few suggestions: 1) use the [code] tag to format your source in your post. 2) in the source, better use symbolic names (defined by your compiler) instead of hard-...
Wednesday, 8 October 2008 - 08:38
starter with atmel
On the AT90USB646 you have JTAG. But ATMEL pre-programs it also with a boot loader so you can upgrade the firmware over USB. (see AVR282 App note, FLIP) But I'm afraid with the...
Tuesday, 7 October 2008 - 11:30
Mkaing a USB to I2C converter
Hi, have a look at It a USB to I2C converter, one of my pet projects. At the moment it acts as I2C master only. Note that the SW is usable, but still...
Thursday, 18 September 2008 - 09:45