- This topic has 5 replies, 3 voices, and was last updated 12 years, 8 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
|
Microcontroller › 8051 › how to interface flash memory to a microcontroller
i need to interface a flash memory to a microcontroller and control it through pc. The micro controller board is connected to pc through usb port. Please help me out with the connections and programming the controller to control the flash memory by taking the signals from pc.
Hi,
Which flash memory chip and microcontroller are you using ? Do your microcontroller board have usb interface ?
Hi Amulya,
Most of the Flash memory support SPI or I2C or Parallel interface, if your microcontroller supports any of these communication choose the flash memory accordingly
thanks for repling guys…………..the chip for micro controller is C8015F120 and that of flash is AT49BV040B
Hi,
C8015F120 is a nice SoC, but it dosen’t have a built in usb module. So I believe your board have usb interface. There will be a usb to ttl serial converter in your board, which will be connected to the uart pins of the controller. So ineffect your pc is connected to the uart of the controller.
You will be sending command strings from the pc, compare the received string from the uart buffer and do the corresponding operation on the flash memory.
If you are new to uart, I suggest you to try out some data sending and receiving examples.
The memory chip AT49BV040B is a 8 bit parallel flash memory. You can directly connect the data pins, address pins, and control pins of the chip to the I/O pins of the controller. Thats all about the connections.
Search for some driver code for the flash. But I think you can try out yourself after reading the datasheet.
thanks for the information il try it out for sure