Discussion Title | Created date |
---|---|
comm from mega 328 to 32u2 I have existing hardware running on a atmega328 chip that I need to transfer it's data to a 32u2 via pins pd0 and pd2 of the mega328. Reason for this is that I'm hijacking the usb... |
Friday, 21 December 2018 - 16:29 |
help with expanding my byte I need to take 1 byte and expand it to two bytes adding a negative bit. 0 to -65535 128 = 0 256 to 65535 then stuff back in to two bytes. This was my attempt ... |
Thursday, 20 December 2018 - 02:44 |
Help with Lufa usb 2.0 spec. Firstly, I didnt really see any LUFA specific forums (fora) out there, are there any? Second, I'm coming from v-usb to LUFA. So there are areas I will fall short in. For the most... |
Saturday, 15 December 2018 - 22:42 |
manual programmable uart I'm looking for a very simple uart I can use that will allow setting baud config manually (like with dip switches or pull ups). Would like to read the uart data via pins (... |
Wednesday, 14 November 2018 - 12:53 |
avrisp usb programmer installed but won;t show in arv studio 6 Can't seem to get avr studio 6 to see my tool. I removed avr studio and reinstalled it and the driver now shows up in device manager (guess jungo is no longer used?). Though avr... |
Saturday, 15 September 2018 - 16:43 |
using watchdog to pass time I have to know when 2 ms passes in a loop where elapsed code time is not predictable. The timing is not critical a few 100 us resolution is fine. I was thinking the watch... |
Saturday, 8 September 2018 - 20:14 |
atmega328 SIG_INTERRUPT0 vs int0 I'm working with v-usb and there is this tidbit. /* The following configurations have working defaults in usbdrv.h. You * usually don't need to set them explicitly. Only if you... |
Tuesday, 21 August 2018 - 13:03 |
I'm confused with sbi cbi commands? I'm trying to add some debug to my ASM and wanted to see it on a scope. So I simply used sbi PORTB,2;//debug and cbi PORTB,2;//debug But I only see one condition not... |
Sunday, 29 July 2018 - 19:11 |
Setting a flag in ASM I want to set a simple global flag in ASM but I'm struggling to make it work. In my S file I have an include to my global var (_SOF_Flag) I did this .... |
Sunday, 15 July 2018 - 20:55 |
How to know if an interrupted fired. If I set an int. then loop, how can I check if the int. fired? EIMSK |= (1 << INT0); //enable interrupt. Dostuff(){}; if (x) {//int fired } |
Wednesday, 11 July 2018 - 02:15 |
Confused about program space increasing. I have a smell function for my SPI static char spi_mSend ( char data) { SPDR = data; while(!(SPSR & (1<<SPIF))); _delay_us(100); return SPDR; }... |
Saturday, 7 July 2018 - 15:56 |
using twi for the apple desktop bus. I currently bit bang (fixed for awneil) the ADB but with some struggle in c, I was going to convert to ASM. Before I do I wanted to try the TWI and see if that does not help... |
Monday, 2 July 2018 - 14:20 |