打印
[AVR单片机]

isp与spi共存atmel的解释

[复制链接]
2408|2
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
chuandaoxy|  楼主 | 2012-9-12 08:44 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
doc2521文档

If  additional  devices  are  connected  to  the  ISP  lines,  the  programmer  must  be
protected from any device, other than the AVR, that may try to drive the lines. This is
especially important with the SPI bus, as it is similar to the ISP interface. Applying
series  resistors  on  the  SPI  lines,  as  depicted  in  Figure  4-2,  is  the  easiest  way  to
achieve this.
Note that the AVR will never drive the SPI lines in a programming situation, since the
AVR  is  held  in  RESET  to  enter  programming  mode  –  and  RESET’ing  the  AVR  tri-

提示isp上有spi设备时应在spi线上串接电阻,接多少没有提
states all pins.

相关帖子

沙发
chuandaoxy|  楼主 | 2012-9-12 09:14 | 只看该作者
最新消息电阻值取6k,即可

使用特权

评论回复
板凳
airwill| | 2012-9-15 06:14 | 只看该作者
其实, 并非所有的线都要加, 只要在 MISO 线上串电阻就可以了, 多大的电阻? 当然大些更好, 但影响工作性能.
最佳值跟 SPI 设备和 ISP 设备的驱动特性有关.

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

851

主题

1039

帖子

4

粉丝