Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hi, i'm looking for a working example of I2C communication for LPC2138. I downloaded some code from NXP web site but i2c firmware doesn't seem to be working properly. I made a Proteus simulation but i can't see I2C messages on I2C debugger. Does anybody have an I2C example project preferably...
baud rate to frequency
Actually not,
9600 baud rate means when you send data ,one bit will be sent in 1/9600 seconds.That bit can be 1 or 0. To measure a signal with an osiloscope ,that signal must be periodic.
mcc18 timer1 interrupt code
I don't know why but C18 compiler has different behavior on "<<" operator.
In this part:
buf[idx] <<= 8 ; // MSB
buf[idx] += TMR1L ; // LSB
try this
buf[idx] *=256;
buf[idx]+=TMR1L
This worked for me some time in the past.
First start reading your PIC's datasheet.Learn how to initialize SPI registers?
Which language/compiler do you use? If you write in C , check your compiler's libraries.There must be some SPI library functions.
18f458 can
Hi all,
I have a problem about CAN-BUS i hope someone will help me to figure out what's wrong with my software.
I connected two pic18f48 module via CAN.I use Microchip's PIC18C CAN routines.One node is sending a message continously , and receiver node reads it.Although i set up all...
darnell margolis software rapidshare
You can exercise C on PC.Find a free C compiler and install it on your PC. Learn the basics : Loops, data types... etc. Write simple programs.
Then transfer your skills to PIC. Learn how to control registers by C. There's no difference between...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.