Author |
Message |
Topic: Direct drive a stepper motor using ECCP |
rtrombetta
Replies: 0
Views: 2881
|
Forum: General CCS C Discussion Posted: Mon Dec 12, 2011 1:17 pm Subject: Direct drive a stepper motor using ECCP |
Hi,
I have a small bipolar stepper motor that draws only 20mA on each coil using 5V. I already drive it using 4 pins and software pwm on each pin to microstep it. I don´t understand how the ECCP mod ... |
Topic: SD Card Speed using PIC18F4550 |
rtrombetta
Replies: 10
Views: 19214
|
Forum: General CCS C Discussion Posted: Wed Nov 23, 2011 4:22 pm Subject: SD Card Speed using PIC18F4550 |
have you looked up the rise/fall time of that 74HC126?
In the 74HC126 datasheet the input rise/fall time at 2V is 0 to 1us, at 4.5V is 0 to 500ns and at 6V is 0 to 400ns.
I tried to use resistor d ... |
Topic: SD Card Speed using PIC18F4550 |
rtrombetta
Replies: 10
Views: 19214
|
Forum: General CCS C Discussion Posted: Wed Nov 23, 2011 3:24 pm Subject: SD Card Speed using PIC18F4550 |
Are you using a x10 probe that hasn't been adjusted to the scope's input?
I can make waveforms exactly like that with a x10 and any square wave while the compensation cap is out of cal.
Also, w ... |
Topic: SD Card Speed using PIC18F4550 |
rtrombetta
Replies: 10
Views: 19214
|
Forum: General CCS C Discussion Posted: Wed Nov 23, 2011 3:20 pm Subject: Re: Osciloscope Images |
You have a hardware fault. Do you have filtering and bypass capacitors? Is your 3.3 volt rail stable?
Hi Andrew!
Sorry about the delayed answer.
Yes, I have both filtering and bypass capacitors ... |
Topic: PIC18F4550 USB Unknown Device |
rtrombetta
Replies: 12
Views: 25478
|
Forum: General CCS C Discussion Posted: Fri Oct 28, 2011 4:35 pm Subject: PIC18F4550 USB Unknown Device |
Did you put a 470n cap between Vusb and GND ? |
Topic: SD Card Speed using PIC18F4550 |
rtrombetta
Replies: 10
Views: 19214
|
Forum: General CCS C Discussion Posted: Fri Oct 28, 2011 4:17 pm Subject: Osciloscope Images |
I found the problem, but not the solution.
These are the pictures that i took from oscope:
1-Clock Line at SPI_CLK_DIV_64 (750Khz).
1v/div x 0.2us/div
Level ~3.2V
rise time=320ns (very high)
... |
Topic: SD Card Speed using PIC18F4550 |
rtrombetta
Replies: 10
Views: 19214
|
Forum: General CCS C Discussion Posted: Fri Oct 28, 2011 11:22 am Subject: spi speed |
Hi Andrew!
Thanks for reply!
Yes, I'm using a pull up resistor between 3.3v and card's SDO line.
I'm using mmcsd.c library from CCS to r/w the card.
At the start of this library the "# ... |
Topic: SD Card Speed using PIC18F4550 |
rtrombetta
Replies: 10
Views: 19214
|
Forum: General CCS C Discussion Posted: Fri Oct 28, 2011 8:08 am Subject: SD Card Speed using PIC18F4550 |
Hi!
I´m using PIC18F4550 (CCSC v4.120) running at 5V with bulk mode USB and a SanDisk 2.0G micro SD Card running in SPI mode (using PIC HW SPI). The SD card is using 3.3V and a 74HC126 buffer powere ... |
|