阅读:1262回复:2
请问D12和单片机如何通讯?
我用的不是51单片机,但是D12上面有A0和ALE两个脚,在51编程里面,D12的ALE和51的ALE是连接的,而A9接去任意一个引脚,但是我又看到说有的应用上D12的ALE是接地,A0也是接去任意一个IO口,但是到底单片机如何和D12通讯,和设置它的参数,这基本的东西我都不了解,有谁可以帮助我一下吗?谢谢了
|
|
沙发#
发布于:2005-02-04 16:02
If the D12's ALE is connected to the MCU's ALE. The MCU will use ODD\EVEN address to represent data\command status in DATA0~8.AT that time A0 can be ignored.
In other hand, if ALE is connected to GND, the A0 is used to issue data\command status. The more detail please refer to "http://www.zlgmcu.com/philips/usb/PDIUSBD12/PDIUSBD12faq.pdf" section 5.12 |
|
板凳#
发布于:2005-02-05 09:03
A0直接接高就可以了,不需要控制也可以的
|
|
|