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.
I am using arduino leonardo for moving mouse pointer with head tracking using MPU6050. It works fine in general. But as soon as I connect an external lcd screen to my laptop via hdmi cable, it stops transmitting. (that is the TX led goes off altogether and the mouse stops moving) I am not able...
Hi all.
I am trying to design my own hdmi to lvds converter since all the one's available in the market are around $35.
I found a few documents about the same on TI website : **broken link removed**
I also found an IC by Chrontel: **broken link removed**
which ICs total cost to about $6 to $10...
Yes I tried changing "CONFIG3" to CONFIG3.
But it gave the following errors:
ecgcode1.c:127: error: (195) expression syntax
ecgcode1.c:127: error: (187) too few function arguments
ecgcode1.c:127: error: (194) ")" expected
ecgcode1.c:127: error: (195) expression syntax
- - - Updated - - -
Yes...
Yes, thanks for pointing out the PORT -> LAT. I made those changes in the code.
I also removed the stdlib and stdio headers.
I am not using the __delay_ms() because if I give any delay above 40ms I get a "160: error: inline delay argument too large"
I tried testing the given code with...
I am attaching my code alongwith
The problem I am encountering now is I am getting a warning: (358) illegal conversion of pointer to integer
for all the addresses that I have defined
And if I change that variable in the function to unsigned char* addr, then I get an error on the line
SSPBUF =...
So you mean to say something of this sort right?
Is this code fine for accessing the registers of ADS1298
void SPI_Write(unsigned char addr,unsigned char data)
{
// Activate the SS SPI Select pin
PORTAbits.RA5 = 0;
// Send the address of the register to be accessed
SSPBUF =...
So when writing a code for ADS1298,
I should first send the register address in SSPBUF followed by the data to be written to the particular register right?
Thanks for the information
It really helped clear some concepts.
But what I was looking for was a sample code for SPI communication to register addresses or something of that sort.
I found one on this website: http://www.ermicro.com/blog/?p=1846
My doubt is here in the SPI_Write function, at...
Hi,
I am trying to use PIC18F4550 to control the functions of ADS1298 ECG AFE.
I read the datasheet of ADS1298 and saw the various registers used for different operations.
However I am not able to figure out how the command is to be written in SPI.
I searched google for different SPI tutorials...
Hi,
I am getting a stop mask error for placing a via on the tplace layer of another component.
But I dont need to solder anything on the via.
So do I need to change the placement of the via or placing the via on the silkscreen won't be a problem.
I am attaching an image of the error for reference.
Hi,
In my design I need 4 batteries in total and hence I have placed two on one side of the PCB and two on the other side right below the first two.
Because rest of the circuit isn't too big and the batteries are eating up too much space.
But will that cause a problem in any way if the power...
I have a doubt as to which is a better way to route for analog signals
I have two options.
Either I'll have to route it on the bottom layer in which case it'll be under another analog signal in the same plane.
Or I can route it from in between two legs of an electrolytic capacitor.
What is the...
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.