2017-07-19 09:22 PM
Hello,
I want to interface STM32F405 with Atmel memory chip AT45DB041.
In which i want to send hex commands and character array for write and read.
which API is most suitable for this application.
When i tried send a hex command then it's a error!!!
please help me to resolve this issue.
doe.john.016
st.mcu
‌Thank you.
null2017-07-20 12:28 AM
A normal SPI with NSS by SW, MOSI+DMA, MISO+DMA, SCK should be able to do the trick.
However, it would be worth checking if SDIO meet the spec of this part in 1 bit mode.
The benefit? The external memory would be mapped directly by HW into the STM32 addressing space in read mode: Can be used for DMA2D/DMA/XIP (execute in place).... if unsure, maybe connect both SPI and SDIO-1bit pins to the serial memory for a future SW upgrade. With proper looking at the GPIO AF table in the datasheet, you might have a smart selection of the GPIO pins.
2017-07-23 12:50 AM
Thank you.