Where electronics enthusiasts find answers.
Twingy wrote:Here is a technical report I compiled for those interested in using the TCM8230 and TCM8240 cameras.
buffercam wrote: Also, I noticed that if I set the PLL mode to 0x1 instead of 0xF, both error flags become set ("ENC_ERRN" in addition to "FULL_ERRN.")I assume the FULL_ERRN is because your not capturing data quick enough and its filling up the internal FIFO but not sure why your getting the ENC_ERRN .... do you reckon your reading it fast enough?
buffercam wrote:Here are some other things that I've noticed:Looking at your pic, i can see the Y & U Quantisation tables but there is no V table (you can see the Y starting with 0x00, the U with 0x01 but there is no 0x02 for the V table) So it doesnt have the associated 64byte table. This adds up: 132(0x84) + 65(1+64=0x41) = 197(0xC5)
In the DQT structure, I received a "length of field" of 0x84. This matches the length of the DQT data that I received, but does not match the length mentioned in the datasheet (pg. 21 says it should be 197bytes=0xC5).
The other structures match what the datasheet says as far as length of field goes (SOF, DHT, and SOS).
(As long as you realize that the datasheet has a typo in the SOF length of field - it should be 0x11 instead of 0xC5 - someone forgot to change it after copying and pasting.)
buffercam wrote: Any ideas as to why the image data repeats and why I'm getting the error code?I have an idea, but i have very little experience with JPEG compression, so feel free to shoot it down...
The host can adjust the picture quality mode (namely compression ratio) by sending a specific quantisation table or by sending Q table gain via IIC busHaving a look at the registers, there is obviously no room for 3x 64byte tables so i can only assume we only have access to the gains? The closest i can see (guess) are registers 0xE9 & 0xEA called DYQTG & DUVQTG. As a total guess, could they be DefineY/UV Quantisation Table Gains ??
bhaskarapte wrote:Hi,I haven't got my camera yet so i haven't actually tried this yet, but page six of the datasheet shows the Slave address as 0b0111101 (or 0x3D in hex). Then the sub addresses are the addresses of the registers listed on pages 7- 10.
I am trying to interface the camera with an FPGA. I am still in the problem for interfacing through the IIC bus, that what is slave address and subaddress? It may be the foolish question for those who have interfaced it, but I am the beginner . So please help me out to get the subadress.
I2CWrite(0x02,0x00); //Set Camera Active usDelay(2); I2CWrite(0x02,0x40); //Set Camera Reset usDelay(2); I2CWrite(0x02,0x00); //Set Camera Active
We have created lots of YouTube videos just so you can achieve [...]
The best flat phpBB theme around. Period. Fine craftmanship and [...]
All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]
this should be fantastic. but what about links,images, bbcodes etc etc? [...]