利用SPI适配器读写控制AT45DBXX存储器芯片
1.设置SPI适配器参数http://www.viewtool.com/bbs/data/attachment/forum/201303/01/134007yb707pf02edadeau.jpg
2.向AT45DBXX存储器写入控制字“9F”,设置读取字节数据长度read bits为4字节,点击“send、read data”。
http://www.viewtool.com/bbs/data/attachment/forum/201303/01/134013ss6lp1z1zls1qmms.jpg
3向AT45DBXX存储器写入数据“ FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ”,具体命令控制字请参考数据手册
http://www.viewtool.com/bbs/data/attachment/forum/201303/01/134017xixhhxw3t1h8zhhq.jpg
4,读取数据,设置读取数据长度read bits为16个字节。点击“send、read data”,具体命令控制字请参考数据手册。
http://www.viewtool.com/bbs/data/attachment/forum/201303/01/134021h6f7t2nh2xsel8nz.jpg
SPI适配器什么样?哪卖?
页:
[1]