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.
Tool/software: Linux
hello everyone
I had done pga460-Q1 with arduino. Now i am only able to read the reset values from pga460 using response commands but am not able to write eeprom and all threshold registers. I had triedto write using the appropriate commands but i can only read this below values what i attached to this post...
can anybody help me how to write..
Advance thanks
thank you Akeem Whitehead..
Now am ok with eeprom read and write.
But the present problem is if i use bulk read command either EEPROM or Threshold. I will get first 5 bytes randomly. After 5 bytes am reading exactly what i had wrote.
Suppose If i read those equivalent registers one by one, then only i will get correct values.
I don't know what is the problem. Even i changed the baud rates its not working properly.
And also please help me out the steps to get ultrasonic measurement properly from step1?
Advance thanks....
Hello akeem whitehead
1. Is it possible that the first five random bytes you are reading are residual bytes from a previous command?
No those are not any residual bytes. Those are not related to any registers.
2. You may need to flush or clear your serial buffer before reading data from the PGA460.
yes of course am flushing the serial buffer before every read command. And also i tried flush after command. But its not working.
3. After these five random bytes, does the for a EEPROM bulk read start at USER_DATA1 (addr 0x00) or USER_DATA6 (addr 0x05)?
No its start from Data7(addr 0x06) to P2_gain_control.
4. asking how to read the ultrasonic measurement results from command 5?
No its not from there. Its from all registers initialisation to till ultrasonic measurement result.
Flow graph from initialisation to distance reading.
My new question is
What is the peak to peak voltage of BURST from OUTA and OUTB pins.
Am only getting BURST Pulses below 500mv.
What should i do now?
OK thanks
I supposed that was only a software for windows to make settings and so on.....
On the contrary there is the Arduino library in one folder after the installation.
The big issue is that everything is compilable for the Energia IDE under the MSP430 uC, not for the classic ATmega328p as Arduino is used to.
How can I compile it for the UNO board?
Alessio
I will, as soon as I have a time slot I will do it.
I keep you posted
Thanks