This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

如何使用PGA309和PC通讯?

Other Parts Discussed in Thread: PGA309

作为PC机和PGA309的通讯接口,使用一片SILICON的CP2102作为USB-232的转换。

现在的问题是PC机和PGA309的通讯问题,根据PGA309的User Guide(P79):

如我需要向PGA309的寄存器00写入数值44 66,是否按照下列顺序:

串口发送  55 01 00

          55 04 44 66

 

如果我要验证写入寄存器是否成功,则需发送以下的命令

          55 01 00

          55 04  

我在使用串口调试助手做以上测试时,始终无数值从PGA返回。

 

现在我的手中有一套PGA309的Evaluation Module,该评估板使用单片机和PC通讯,再由单片机和PGA通讯,但是如果将来交给生产人员测试,如果想使用我自己制作的接口,使用PC和PGA直接通讯。首先要解决这个通讯的问题。

 

 

 

 

 

 

 

 

 

 

PGA309问题描述.doc