Other Parts Discussed in Thread: USB2ANY,
用USB2ANY的SPI接口方式读PGA970EVM评估板任意地址,包含FRAM,DEVRAM,CSR,读出都是0x5,0x2,0x2这三字节数据,写入操作GPIO寄存器,输出高低电平是正常的
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.
您好,这款是NDA器件,需要签NDA协议,完整的数据手册都是需要申请的,您这边已经申请到了吗?
,包含FRAM,DEVRAM,CSR,读出都是0x5,0x2,0x2
这几个寄存器不是只读寄存器吧?我这边还没有这款器件的完整数据手册,所以和您先确认下。
您好,您是是使用EVM GUI通过 USB2ANY 与 PGA970 通信? 或者您是单独使用 USB2ANY 吗? 请注意在这两种情况下、它们都必须将 PGA970 的内部微控制器置位、才能通过 SPI 成功通信。
您好,您是否能够在 M0 复位后通过 GUI 正确地读回任何寄存器? 是否还可以尝试调整波形 DAC 发生器的频率并测量输出以查看通信是否正常工作?
我已经更换了芯片,上面的问题已经没有了.但我碰到了新的问题
In order to improve the accuracy of the temperature sensor in the 25º to 125ºC range, every device has several unique temperature code values pre-written to the FRAM to specify more-accurate gain and offset values. A signed, 32-bit value for the 25ºC temperature point of this device is located at FRAM address 0x3FFC, and a 32-bit 125ºC temperature point is located at FRAM address 0x3FF4.
With these two temperature code values, the appropriate gain for this range can determined as GAIN = (CODE_125C – CODE_25C) / 100
where
• CODE_125C is the 32-bit FRAM value at 0x3FF4
• CODE_25C is the 32-bit FRAM value at 0x3FFC
From there, the temperature in degrees Celcius can be determined using
T = 25 + (ADC_CODE_READ – CODE_25C) / GAIN
where
• ADC_CODE_READ is the internal temperature ADC reading from S3
根据规格书的说明我读出CODE_25C的值是1921772
CODE_125C的值是2475847
ADC_CODE_READ的值是387229
这样计算的T=-251.9摄氏度,明显是不正常的,用的是内部温度传感器,PTAT增益是1V/V,我不知道该怎么得到准确的温度值?