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...
Tue. Aug 12, 2014 - 10:00 AM
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...
Sat. Jul 19, 2014 - 12:04 AM
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...
Sat. Jul 12, 2014 - 05:10 AM
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...
Tue. Jun 24, 2014 - 07:12 PM
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...
Thu. Jul 4, 2013 - 08:56 AM
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)....
Wed. Jul 25, 2012 - 07:18 AM
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...
Fri. Mar 30, 2012 - 02:54 PM
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...
Thu. Mar 22, 2012 - 09:43 AM
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...
Sat. Feb 18, 2012 - 08:50 AM
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...
Thu. Feb 16, 2012 - 06:28 PM
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...
Tue. Nov 15, 2011 - 05:03 PM
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...
Fri. Nov 11, 2011 - 11:02 PM

Pages