Other Parts Discussed in Thread: PGA460, ENERGIA
Hi team,
One of our customer's issues, I'm forwarding it below, could you please provide some troubleshooting suggestions
The communication for the PGA460 is in USART mode. Power is good. The customer is using the official registerread and registerwrite. However, the register value is read with registerreaad and the return value is always 0.
Also, when he use Getdistance to extract the test results through the serial port, send a drive command and the transducer does not respond.
Energia code are as follows
void setup() {
// put your setup code here, to run once:
//initPGA460();
Serial.begin(9600);
ussc.initBoostXLPGA460(3,128,0);
ussc.registerWrite(0x1E, 0x01);
Serial.print(ussc.registerRead(0x1E),HEX);}
Best Regards,
Amy Luo