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.
Hello,
There are examples using VB and Flowcode available from the Matrix Multimedia website. You can use your own compiler instead of Flowcode if you already have a working program. Its basically all in the HID descriptor which specifies how the data will flow. If you go to USB.org then there...
Hello,
Flowcode has an inbuilt FAT component that allows you to read and write to FAT16 and FAT32 file systems on a memory card, MMC or SD using PIC, AVR or ARMSAM7S devices.
Hello,
You could use Flowcode and one of the USB components to do the communications side of things. This all works with win7 32 and 64bit.
Then programming is as detailed in the datasheets.
Matrix Multimedia offer a USB EB006 programmer that is low cost and supports a wide range of devices.
Hello,
Interfacing displays like the ones from 4D systems allow for a lot of functionality using simply serial commands.
Other more generic graphical LCDs operate with a matrix of 1-bit (monochrome) or 8 to 16-bit (color) memory locations per pixle. Normally to interface to a display you need...
Hello,
Any chance that portC being low is holding the device in reset?
Might also be worth giving a quick pulse on the reset pin. I find that some modules need this to start up correctly even if they don't mention the requirement in the datasheet.
Your schematic looks ok to me so hopefully...
Hello,
Hardware I2C uses a piece of logic in the chip to automatically drive an I2C compatible output. You basically just throw your data at a register and it pretty much does the rest.
Software I2C requires the processor to basically repeat the operation of the inbuilt logic. Therefore your...
Hello,
Have you tried adding the required 8.2ms delay after enabling the reset of the device? Depends on your clock source but worth adding a bit of a delay here.
char spi_byte(char data)
{
SSPBUF=data;
while((SSPSTAT & 0x01)==0); //checking buffer flag
return SSPBUF;
}
void write_enable()
{...
Hello, Sorry re-reading my messages I think I got a bit over excited, anything specifically you need help with?
Here is a basic principal of the system I used to drive my clock.
1 timer interrupt to control the output of the data to the leds this interrupt should run say 30 - 360 times per rev...
Hello,
Flowcode will allow you to do this in a graphical way. If you download Flowcode for dsPIC then you can also look at the component C code to generate your SPI code.
Re: Pic 12f675 c code - ccs compiler
Hello,
Im not a common user of the CCS compiler but is it setting the timer count register to 42? Maybe it is also enabling the timer with that value as a fixed rollover value.
eg timers count from 0 to 255 (8-bit) or 0 to 65536 (16-bit). When they...
Hello,
Could it be that your outputting the signals so fast that the motor cannot keep up and is essentially stalled? With stepper motors its normally a good idea to ramp the speed up and down so as to try and avoid this problem. You should be able to test for a stalled condition by removing...
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.