I need help with this memory . I want to add data 8 bit word to this memory .
I don´t know how connect pic 18f452 to 39SF010A.(i need circuit diagram).
Please help
Are you sure you want to try to use a parallel memory chip? Usually with a microcontroller you would use a serial memory chip so that you dont use up all the I/O lines. That chip looks like it has quite a few address lines and 8 data lines. That required quite a few I/O lines from the uC chip. A serial mem chip might only need 2 or 3 lines to operate.
Im not even sure yet if you can use that mem chip with your uC. Did you check to see if you had enough I/O lines available?
Does your application require high speed mem access?
i dont know how write data on PORTC to this memory.Here is pictureView attachment 67925View attachment 67925.Is circuit diagram right.I need write 8 bit word for example 01010100 to 39SF010A.
i dont know how write data on PORTC to this memory.Here is pictureView attachment 67925View attachment 67925.Is circuit diagram right.I need write 8 bit word for example 01010100 to 39SF010A.
I have to ask the same question, are you sure you want to use a mem that big and write to only one single location?
We can do that if you really want to, but it sounds like quite a big waste of memory.
There's no serial address override is there? I think it's only parallel access, something you dont want to have to use with a uC unless you really really need very fast speed, but even then you'd want to be able to use more than one mem location.
I need it for project. i dont use an internal memory into mikroprocesor.I dont know what command to use reading and writing to external flash parallel memory.
Here is my code in mikrobasic where i writte data to memory in uC and read them .
I need write data and read data from external,paralel flash memory.
program parallel
symbol SWT1 = PORTA.0
symbol OUT1 = PORTA.1
symbol OUT2 = PORTA.2
symbol CE = PORTA.3
symbol OE = PORTA.4
symbol WE = PORTA.5
symbol CC = PORTA.6
dim i as byte
loop:
IF SWT1 = 0 then
PORTC = Eeprom_Read(5) ''Read from memory internal
EEPROM_Write(5,PORTC)
OUT1 = 1
OUT2 = 0
CE = 0
OE = 0
WE = 1
end if
Delay_us(200)
IF SWT1 = 1 then
Eeprom_Write(5,PORTB) ''Write to memory internal
OUT2 = 1
OUT1 = 0
CE = 0
OE = 1
WE = 0
end if
Delay_us(200)
goto loop
Ok...
Make sure WE is high...
Make PORTC an output... ( trisc = 0)
Then put the value in PORTC...
Make sure OE is high...
Then take WE low for a couple of cycles...
When you read
PORTC needs to be an input (trisc = 0xff)
Keep WE high and pull OE low for a couple of cycles.
What command? The schematic in sim is normal parallel memory... If a value is on portc when you enable WE, then the location b'000000000001 in the memory will contain same..
If you are talking about using the 39f1010 you can't as you need to address three locations.... yours are fixed.
For the model in your sim!!! Yes.. But if you are talking about the flash... No!! The flash needs a write sequence... you need to write to tow addresses 0x5555 and 0xAAA2 with three different values... But you can't do this as your address is fixed at 1..