![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Hi friends, This is the first time i am writting here for your support and help about Chipcorder ISD4002. I am making a project where i need to playback some recorded messages using ISD4002 IC. I am using ATMEGA8 Microcontroller and connected the ISD4002 with the Microcontroller. The Play stop and Record commands are working fine and it is also reading the current pointer address too. But when i record something it does not record and only play blank sound and only record blank. Could you please provide me how icould cnnect my PC to input Wav file directly into ISD or using Microcontroller or what is the shematic to use Microphone. regards, Shan | |
| |
| | (permalink) |
| Hi, I bought one and tried to run it, but still cannot work Worse, actually i dont know how to debug it Following is my code in Mikro C for recording Code: void main()
{
ADCON1=0x06; //RA5 Digital I/O
TRISA=0x20; //!RA5=SS: output for Chip Select
TRISC=0x10; //RC5:output SDO
//RC4: Input SDI
//RC3:output SCK
Spi_Init();
PORTA.F5=0; //!SS=0 chip enabled
Spi_Write(0x20); // Power up
Spi_Write(0x00);
Delay_ms(25); //Tpud
Spi_Write(0x20); //Power up
Spi_Write(0x00);
Delay_ms(50); //2 x Tpud
Spi_Write(0xB0); //SETREC from location 0x00
Spi_Write(0x00);
Delay_ms(10000); //delay 10s for recording
Spi_Write(0x30); //STOP
Spi_Write(0x00);
Delay_ms(50); //Tstop;
} ![]() This is not my first time doing PIC and C. I have basic background using C for PIC16f877 (just some basic stuffs like keypad, LCD...) The mikro C has built-in functions for SPI. Actually, there is one thing I confused: pin RA5/!SS/AN4 is used to select ISD4002--> it should be an digital output pin. But in datasheet, section9.1, it says that we have to set TRISA<5> which means RA5/!SS/AN4 will be a digital input. Last edited by leejongfan; 24th September 2008 at 12:53 PM. | |
| |
| | (permalink) |
| Hello friend, I think it is very long time i find finally how to work with the ISD4002. I am using BASCOM and it is working fine with me and i used in my project perfectly. If you need any help with BASCOM just write me back. Regards, Shan | |
| |
| | (permalink) |
| Hi Shan, Thanks a lot. Could you please send me any materials of your project you keep. Although our projects are not very similar but I believe I can learn something from you Thanks | |
| |
| | (permalink) | |
| Quote:
Mike. | ||
| |
| | (permalink) |
| | |
| |
| | (permalink) |
| leejongfan, I asked a few simple background questions that you did not answer. How are we supposed to help, we can not read your mind. Why should we help when you are so disrespectful! Not angry just tired..
__________________ search engine for electronic partsJunebug USB PIC programmer kit., USB Bit Wacker, 3v0's Homepage The 15 Minute Printed Circuit Board! (+drill time) | |
| |
| | (permalink) | |||||
| Quote:
Quote:
Quote:
Quote:
Quote:
Last edited by leejongfan; 24th September 2008 at 04:48 PM. | ||||||
| |