beyows 发表于 2011-10-28 15:50:50

关于STM32F103ZET6的smartcard功能的问题

按照它的datasheet,有如下说明:
1.SCEN控制usart1、2、3为smart cardmode
2.TX端口:When connected to a smartcard, the TX output of the USART drives a bidirectional line that
the smartcard also drives into. To do so, SW_RX must be connected on the same IO than
TX at product level.
In single-wire and smartcard modes, this IO is used to transmit and
receive the data (at USART level, data are then received on SW_RX).
我的理解,似有一个SW_RW引脚。而且,usart block diagram中明显也有一个SW_RW,是与TX、RX并列的。
但是,实际芯片并没有一个SW_RW引脚啊。 
智能卡的IO如何与这个芯片连接呢?

发表于 2011-10-28 16:14:42

RE:关于STM32F103ZET6的smartcard功能的问题

可能是理解的问题,SW_RW这个就是SPI的SS,使能引脚

beyows 发表于 2011-10-28 22:16:17

RE:关于STM32F103ZET6的smartcard功能的问题

是吗?可是文档中怎么根本没有提到这一点啊。前缀SW,表示什么意思?

beyows 发表于 2011-11-1 11:21:16

RE:关于STM32F103ZET6的smartcard功能的问题

重新看了一下文档,对于SPI的NSS,提到它有SoftWare NSS mode和hardware NSS mode。前者情况下,NSS用于其他应用。大概就可以包括SW_RX的应用了。SW本身应该也是software缩写。
现在只能试一下才知道了。

发表于 2011-11-1 20:05:22

回复:关于STM32F103ZET6的smartcard功能的问题

回复第 4 楼 于2011-11-01 03:21:16发表:
重新看了一下文档,对于SPI的NSS,提到它有SoftWare NSS mode和hardware NSS mode。前者情况下,NSS用于其他应用。大概就可以包括SW_RX的应用了。SW本身应该也是software缩写。
现在只能试一下才知道了。 

嗯。应该是这个意思。

发表于 2012-6-7 12:45:46

发表于 2012-6-7 12:47:07

页: [1]
查看完整版本: 关于STM32F103ZET6的smartcard功能的问题