Type in the full discussion title or a part of it.
Discussion Title Created date
Proper use of sei()
Is it bad form to call sei() in several places? Example: Main program calls a general setup function. Upon return, global interrupts are enabled by sei() call. General setup...
Wednesday, 24 August 2011 - 16:33
Problem transmitting with ENC28J60
I have a design with a MEGA1281 and an ENC28J60. I am able to receive packets (for example, by looking at received data, I can see an ARP come in). I am also able to create an...
Tuesday, 16 August 2011 - 16:56
SPI Code
I am struggling to get two components to talk to each other via the SPI bus. Specifically, the external component is not returning any meaningful data (all reads result in 0...
Monday, 15 August 2011 - 13:51
3.3V I2C on 5V AVR
Subject line pretty much says it all. I have an AVR running at 5V that I need to have communicate (via I2C) with a device running at 3.3V. As I understand it, I2C is an open...
Friday, 5 August 2011 - 13:43
AVRISP Mkii, Blinking Orange LED
I am using a voltage detector for additional brownout control (yes, I am aware of the inherent brownout capabilities of the MCU). The circuit is as shown in the attached image....
Friday, 29 July 2011 - 20:00
Question about TCP Sequence Numbers
This isn't really AVR or GCC specific, so I thought the best place to post would be here. Moderator, please move if I am incorrect. As I understand it, the initial SYN packet...
Monday, 25 July 2011 - 15:52
Code equivalency
As usual, I am attempting to read some code examples, and make sure I understand exactly what it is doing. A function in the tux graphics library is written as: uint16_t...
Thursday, 21 July 2011 - 20:14
Ethernet Packet Lengths (IPv4)
I am attempting to interpret the tuxgraphics code (specifically ip_arp_udp_tcp.c). I start with the assumption that when I find something that I "think" is wrong, that it is most...
Wednesday, 20 July 2011 - 19:32
for vs. while loops
This question is partially C, and partially AVR-GCC C Part first: In a function defined as: void funName(uint16_t len, uint8_t*data) are these two snippets the same? for(i = 0...
Wednesday, 13 July 2011 - 21:17
Generic Header with Specific Requirements
I am attempting to make a small library (.h and .c) for SPI functions. Reading the SPI section in one of my data sheets (i.e., pp. 195 - 204 in the ATMEGA640/1280/1281/2560/2561...
Wednesday, 13 July 2011 - 14:20
Application issues with ENC28J60 and ATMEGA1281
The errata for the ENC28J60 states that the SPI clock must either be >8MHz or be output by a controller clocked off the CLKOUT pin on the ENC28J60. I am running my MEGA1281 at 3....
Friday, 8 July 2011 - 20:03
ENC28J60 with ATMEGA1281
I am looking at adding basic ethernet capabilities to my pcbs (built around ATMEGA1281). There are many ethernet controller chips (and modules) out there. I have looked at a few...
Friday, 1 July 2011 - 17:52

Pages