interfacing camera c328 with pic18f2680
Moderator: phalanx
interfacing camera c328 with pic18f2680
hey everyone. i am trying to interface pic18f2680 with camera c328. i have never worked on this before. cant find any code on internet either. can anyone help??
Re: interfacing camera c328 with pic18f2680
Not without more info.
You just need to study the camera data sheet and then write the PIC code per the camera interface specs.
You just need to study the camera data sheet and then write the PIC code per the camera interface specs.
Re: interfacing camera c328 with pic18f2680
any sample code?
Re: interfacing camera c328 with pic18f2680
can i send syn command by using the code below in a loop?
TXREG= 'A';
TXREG= 'A';
TXREG= '0';
TXREG= 'D';
TXREG= '0';
TXREG= '0';
TXREG= '0';
TXREG= '0';
TXREG= '0';
TXREG= '0';TXREG= '0';TXREG= '0';
TXREG= 'A';
TXREG= 'A';
TXREG= '0';
TXREG= 'D';
TXREG= '0';
TXREG= '0';
TXREG= '0';
TXREG= '0';
TXREG= '0';
TXREG= '0';TXREG= '0';TXREG= '0';
Re: interfacing camera c328 with pic18f2680
Not as you wrote that. You must write code that tests for RXREG buffer empty before writing another value to TXREG.
This is covered well in several Microchip App Notes that can be found on their web site.
Sample code? For what?
There is lots of sample code in the App Notes, on the Micochip user's forum and out on the web for many PICs.
For the camera? Did you search the web???? Did you read the data sheet? Look for App notes from the maker of the camera????
This is covered well in several Microchip App Notes that can be found on their web site.
Sample code? For what?
There is lots of sample code in the App Notes, on the Micochip user's forum and out on the web for many PICs.
For the camera? Did you search the web???? Did you read the data sheet? Look for App notes from the maker of the camera????