关于AM29LV160B调试经验(RY/BY#信号)

      这段时间在公司调试一块DSP开发板,使用的是AM29LV160B芯片,此芯片有两种读写模式(8-bit or 16-bit mode),烧写FLASH是发现速度特别慢,大概烧写1k就要2分钟的时间,真是比乌龟爬的还慢,这个问题困扰了我半个多月的时间,后来在一次偶然的时间终于发现了问题的原因:

  在flash(AM29LV160B)中有一个信号是RY/BY#信号,他是一个应答信号(Ready/Busy output),我们的板子上是将此信号直接连接到了DSP上,就是因为这样才出现了以上原因。根据datasheet里面的介绍

  The RY/BY# is a dedicated, open-drain output pin that indicates whether an Embedded Algorithm is in progress or complete. The RY/BY# status is valid after the rising edge of the final WE# pulse in the command sequence. Since RY/BY# is an open-drain output, several RY/BY# pins can be tied together in parallel with a pull-up resistor to VCC. (The RY/BY# pin is not available on the 44-pin SO package.)

  由于RY/BY#是一个专用的open-drain输出管脚,所以他必须接一个上拉电阻到VCC,这样他才能正常工作,而且如果有多个RY/BY#信号时,他们可以绑定到一起接到DSP的同一个管教上。

  上面问题由于没有将RY/BY#信号上拉,导致DSP接收不到FLASH的应答信号,所以DSP他只能等待延时一段时间后在发送第二个数,这样就会导致烧写速度慢的问题。

你可能感兴趣的:(关于AM29LV160B调试经验(RY/BY#信号))