We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi all here is the thing i want audio files to save on external eeprom and play it again using P89C51RD+,ADC0831,DAC0808 and AT24C512 EEPROM can anybody help me the code thanks in advance
What kind of help do you need, exactly?
Thanks for replying soon i need how to sample wav audio with 8khz frequency and store it on eeprom and read it again i need programming in c.
Well - set a timer to tick at 8kHz. Start an ADC conversion on every timer tick. Pick up an ADC value on every timer tick and write to EEPROM.
Exactly where are you stuck? What complexities do you see that you can't get past?
Doesn't the tick need to be 16Khz? That is .0625 millisecs, To fast for a regular EEPROM. Maybe a FRAM Chip?
It all depends on if he wants 8k samples/second, or if he wants to sample often enough to be able to capture an 8kHz signal.
Even at 8K, do any EEPROMs write that fast?
Well, notice the overlapping between the terms EEPROM and Flash. EEPROM memories often have page-write capabilities, allowing them to write multiple bytes in a fixed time.
So the criteria to look for is reasonably sized pages and reasonably fast page-write times. And to preferably look for SPI instead of I2C.
An example is: www.st.com/.../456.jsp with 256 byte page write capability and < 1ms page write time.