关于5v的mega128接3.3v的at45db161b的问题
马老师我看你的实验板上没有焊接AT45DB161B,为什末呢,我用的是5v的128
不同的是AT45DB161B的DATASHEET上写道
SI,SCK,CS,RST,WP,可以耐5V,可以直接接到128的spi上,AT45DB161B的SO直接接128中
吗?还是需要上啦?45DB还有一根BUSY线
以前到是做过3V转5V的电路,但是成本高,可靠性降低了 AT45DB的I/O是可以接5v的(它内部有钳位),因此所有的输入脚可以直接接5v.
输出脚需要考虑以下2个问题:
1.AT45DB的输出应该接对面的输入脚.如果对面也是输出,(对面不管是输出0还是1)可能会出现问题。
2.逻辑电平的考虑。主要是对面的器件是TTL还是COMS的。
TTL Logic Levels
The minimum VIH requirement of a TTL-compatible input is 2.0V to register a logic 1, and the VIL requirement of a TTL-compatible input is 0.8V to register a logic 0. Refer to the manufacturers datasheet to ensure full compliance with the input and output logic level requirements.
CMOS Logic Levels
The minimum VIH requirement for a CMOS-compatible input is 0.7 x VCC to register a logic 1, where VCC is the supply voltage of the input device. For a CMOS device operating with a VCC of 4.5V to 5.5V, this gives a VIH requirement of 3.15V to 3.85V. The VIL requirement of a CMOS-compatible input is 0.2 x VCC to register a logic 0. This gives a
VIL requirement of 0.9V to 1.1V.
M128是CMOS器件,0.7*5 = 3.5v 才算可靠的逻辑1。45DB的3v的输出比较危险。因此正式产品的设计中,SO和BUSY输出要使用电平转换电路(不是简单的上拉)。
我的板是早期的设计,开始有5V的45DB样片,后来ATMEL没有5v的片子了,所以没有焊上。 马老师,讲的很透彻,
谢谢!!! 直接让m128在3.3v下运行不就可以了吗,一般m128都可以在3.3v下跑的,建议楼主试试 关注 对,这块开发板在哪呀 关注
页:
[1]