Type in the full discussion title or a part of it.
Discussion Title Created date
XMega-E RTC Clarification
I'm using a xmega8e5 for a commercial project. Looking at the data-sheet I see it mentions a Real Time Counter and not a Real Time Clock. The chapter also seems to suggest that it...
Tuesday, 12 August 2014 - 10:00
Short Circuit Protection with an MCU
I need to monitor the current of 4 Solid State Relays and turn the relays off incase of a short circuit. The relays are wired to mains and control a bunch of CFLs. The MCU will...
Saturday, 19 July 2014 - 00:04
Monitoring a few sensors and devices depending on them
I'm writing firmware for a board that has the following sensors: 1. PIR Based Motion Sensor 2. Ambient Light Sensor based on a LDR 3. Temperature 4. Humidity The board also has 4...
Saturday, 12 July 2014 - 05:10
Circular Buffer, State Machine and UART Sanity Check
I have a xmega8e5 running at 2 MHz with the UART running at 9600 Baud. The MCU interfaces with a Zigbee radio located on the board via the UART. I'm in the process of writing...
Tuesday, 24 June 2014 - 19:12
Disabling a PWM Channel During ISR?
I am trying to design a program which outputs PWM on both channels (OCR1A and OCR1B) of Timer1 of the AVR Mega128L. The way I want the PWM to work is that I want Ch. A to work for...
Thursday, 4 July 2013 - 08:56
Terminating and Routing MISO
Hello all, I'm looking for some advice on how to terminate my SPI bus. The bus consists of 11 devices about half of which are external to the PCB which has the master (an AVR)....
Wednesday, 25 July 2012 - 07:18
Unable to increase SPI rate above 1MHz
Hello, I really really hope this isn't a stupid question and I'm not missing something obvious. I have a very simple program that contains a few lines of code and some LCD code...
Friday, 30 March 2012 - 14:54
FatFs returning FR_DISK_ERR, FR_INT_ERR on some cards
Hello all, I have a total of about 3 SD Cards and my system is unable to use 2 of them - a 128MB one and a 512MB one. The one that works is 256MB. The uC is a AT Mega 128L. The...
Thursday, 22 March 2012 - 09:43
Runtime Array Size or Malloc?
I need to detect the positions of bits set in a 40 byte bit array. The number of '1's can vary wildly and I'm thinking it's better if I first calculate the number of bits set and...
Saturday, 18 February 2012 - 08:50
Recommendations for 64K SRAM IC and Octal Latch?
Hello all, I am looking to expand the memory I have available in an AT Mega 1281. I understand the datasheet offers considerable information regarding this (which I've read) but I...
Thursday, 16 February 2012 - 18:28
Protection against ESD using TVS Diodes
I'm thinking of using some TVS diodes as protection against ESD for my CPLDs. The incoming signals will be carried over wires which can have a length of as much as 10 meters. The...
Tuesday, 15 November 2011 - 17:03
Why have a Pullup on MOSI and MISO?
I was going through Elm Chan's FatFs MMC schematic because I need to implement an SPI bus on my board. I noticed that SS, MOSI and MISO all have a pull up resistor on them. Full...
Friday, 11 November 2011 - 23:02

Pages