I've been playing with Stephane Gauthier's I2C library for AVRX on a Mega 16. After trying for quite a while, I finally figured out the address of the device...
@100khz each byte takes 80us to transfer. That is 640 cycles @8mhz. Plenty of time to do a context switch (~250 cycles) and actually get something done. At...
... Right, I see my mistake -- there was debugging serial code in the I2C routines, slowing things down quite a bit. My timer says i2c_sendbyte takes about .4...
... Thinking out loud - - - that's quite a bit faster than I had thought. At one time we had talked about using i2c for quadrautre, I think to get around the...
Sorry for not answering before but I was on a gone on a motorcycle trip to the Canadian East (Cape Breton, Nova Scotia). It was amazing scenery and lots of...
... Hey, you're allowed. :-) Sounds like fun ... Like I said, it could be my understanding of I2C. the datasheet for the pcf8574 says the base address (A0-A3...
Possible. I've never bothered using my PCB8574 samples. Yeah, let me know what kind of performance you get out of a semaphore as I use the same technique for...
Are you sure what you put up is the latest version ? Because it looks like itc_init uses the new assigment method of port access, but later you use inp/outp ...
oops. I guess I cleaned up the old one for release but reverted back to an old one to add the new features. Oh well, should be pretty much the same anyways....
I use INT0/1 for a simple 2x decoder. I keep a byte variable for each channel. Then I poll that at the loop rate to get the velocity, or, if the tick rate is...
I worked out a 'rough draft' of an i2c routine as a state machine in an interrupt service routine. The intended benefit is all transfers would take place in...
Hi Ed There is a book with TCP/IP stack for AVR (not using AvrX) as far as I am aware along with source code on CDROM. See http://www.edtp.com/. Their thrust...
... There is a project on AVR Freaks now that does i2c using the tiny26, and the May Circuit Cellar had an article on Building an I2C Slave with it. But . . . ...
I have a program that is below. The system runs on the ATMega162 normally first. But When RS232 Communication happen many times, the ClockTimer failed as the...
Hello everyone, I am trying to build a wireless access point using the Intel IXDP425 Platform using eCos. Has anyone ever worked on a similar thing before and...
I have also noticed this. I have two timers and the same one always stops when I do a lot of IO on USART0. They both stop during the IO because its at a higher...
I'm noticing the same problem. Sometimes a timer simply never expires. For me, the timers that fail tend to be those that I am testing. When I wait on a timer...
Hi we are an information technology company based out of bangalore. Our competencies are in the areas of system software, multimedia and bpo. We follow ISO...
Dear all, Hope all members of [avrx] are in grear Spirit and Health I am looking for new job in C, Embedded system Domain. I am engineering Graduate (B.E.) in...
There have been a rash of job postings from India to the AvrX group. They are now being deleted and the members who post them, in the future, will be removed....
There are better forums for job postings with wider distribution. I - for one - won't miss them. Thanks! Jeff Engel Arlington, TX USA ... ===== Happiness is -...
I'm looking into useing a bootloader since I've just switched from an 8535 to a Mega16. Are there any issues useing a bootloader with an AvrX program ?...
I've been using a variation of one I found on AvrFreaks for a few years now and I can't live without it. Especially considering how flaky the ISP has been for...
... Thanks ! If I read this right, it looks like it's set to run the boot-loader on a soft reset, and the application on a power-on reset ? Since the loader ...
Nope. It simply runs the bootloader on reset, which then listen on the UART for a special sequence of characters from the PC and after a pre-defined timeout...
... Ah, I guess init.s is throwing me, and the fact that pr_runApplication is a jump to 0x0. I thought it was doing something different on different types of...
Well, I didn't write it so I can't pretend to fully understand it. Plus it's been a long time since I modded it. I basically commented out the watchdog stuff...