Hi dazheng,
Need to know ... what is EEPROM used in MCU for ?. I know EEPROM stand for Electrical Erasable Programming ROM but I need to know what's the purpose or where it going to be used in MCU?
I ask this because some of MCU dont have EEPROM ( EEPROM = 0 byte) ie 80NC535 & 80NC321 and the best thing about this MCU (without EEPROM) that's its cheaper than MCU with EEPROM. If it just minor used and can solve it in other method (and not effect my project) , I will use it as I need to lower the cost as much as possible.
Any instruction (ie in proton) that must be used on MCU with EEPROM ?
More explanation greatly appreciated.
Thanks
zuisti
Hi "zuisti",
She wants the EEPROM for keeping the program when changed.
Will flash Magic Support this one ?
I happen to have a few pieces of this controller!!
I'm ready(?) with this work yet. It is a two mode (switchable) 8 char dot matrix display, working in Proteus, with source in javaC: I'm used a 89c734a.
- in scrolling mode it has a buffer for a max 54 chars message. The speed is controllable. - in static mode it is cascadable, set the position in the received string with the pos. switch.
The attached ZIP contains the orig. article (a PDF), as my start point. Please read it!
Please post here your minds!
"She wants the EEPROM for keeping the program when changed."
No, she doesn't. I checked with her and she wants it for calibration data storage.
forget the EEPROM.ive got something better
i have already implemented ADPCM successfully,the problem i am having with MMC card interfacing is that when i try to record compressed voice data on MMC card,the voice upon retrieval from the card at PC end gives a jerk after 2-3 seconds of voice play back may be this jerk is due to sector change ,every sector comprises 510 bytes
What i am trying to design is, the 83TF892 takes analog input data ,performs A/D conversion ,which generates 11-bit data samples at rate of 7.2KHz ,these data samples are then subjected to ADPCM speech compression which (?) generates 4 bit compressed data sample from 16-bit data sample ,then it takes other uncompressed data sample and compresses it to 4-bit ADPCM compressed data sample These two data samples are then packed in a single byte,this byte containing two ADPCM data sample is then written to MMC card.This is recording process once we are done with recording ,we need to retrieve the data , For retrieval the Micrcontroller reads compressed voice data from MMC sector by sector and transmits it to PC through serial port which is recorded on pc in binary file this binary file is decompressed using JavaC and then decompressed and converted to wave file through more JavaC code
can you help with any of it?
If you generate audio data at 7.2kHz - what do you think will happen if your PC can't play at that odd speed, and instead consume them at 8kHz speed?
zuisti,
ignoer the info from the trollops!
i thin kthe problem is you have a sector of 510 bytes.but mostly it is 512.
ya, im a wheel coder man. hahahaha
But ive got a problem with this now(?) so maybe you help me ;)
I make a simple ISOS DRSN file to toggle LED on PortD.4. I just connect 2 button on PortB. One button PortB.4 as reset button. PortB.7 as toggle swicth. I also put a delayMS = 500 as protection from button bounceying.
My question,
1. How to make LED toggle on rising edge instead of MCU have to scan the state condition of the button and respond according if.. then statement. That mean (for edge rising signal ... 0 to 5V) MCU been triggered by rising edge of signal from low to high or hight to low or high to high.
2. I'm using Xtal = 31Mhz ... and I dont connect any crytal (actually I want to use internal oscilator with PLL ) .... how to write the code for that ? any example ?
Thanks for any helps.
"i thin kthe problem is you have a sector of 510 bytes.but mostly it is 512."
Mostly 512? Check the spec again. What about the 518-byte sectors? And what about the 502-byte, 554-byte, and the jumbo 1024-byte sectors? We've got to handle those too. It's all there in section 3.1.4.1.59.
"1. How to make LED toggle on rising edge instead of MCU have to scan the state condition of the button and respond according if.. then statement. That mean (for edge rising signal ... 0 to 5V) MCU been triggered by rising edge of signal from low to high or hight to low or high to high."
Qualify the if/then with an X/OR of the LED input and TMR0's MSB. Trigger is best by rising edge of signal low to low.
"2. I'm using Xtal = 31Mhz ... and I dont connect any crytal (actually I want to use internal oscilator with PLL ) .... how to write the code for that ? any example ?"
You're in luck. I've already done the code for that. I made a development branch off of mainline and checked osc_cfg.c into Perforce.
View all questions in Keil forum