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.
Part Number: PGA460
We are using PGA460 with ESP32 arduino for ultasonic sensor control.
We are able to send the data from ESP32 to PGA460, but unable to receive the acknowledgement from PGA.
Kindly let us know the solution.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Akeem Whitehead:
Thank you for your reply.
We are using UART 2 from esspressif. Data sending is alright, checked in serial terminal window.
An example of writing threshold for UART address is:
0x55, 0x50 , data0 , data1..........0x35(checksum).
But while in threshold bulk read address to UART 2 is:
I am not able to read proper threshold data's , and I m getting only 0xFF........
Is the command is right for UART2 address?
In reply to padmaraj Chipre:
If I understand correctly, you are trying to execute a threshold bulk read command 15 on PGA460 UART_ADDR 2.
You are sending the correct UART sequence for this particular command: 0x55, 0x4F, 0xB0
Have you confirmed that your master is using a baud rate between 9.6-115.2kBaud, 8 data bits, 2 stop bits, no parity, and no flow control?
Are you certain the TXD of the master is connected to the RXD of the PGA460, and vice-versa?
Are you able to get any response from the PGA460? The default address is '0', so try sending 0x55, 0x0F, 0xF0 instead for the same command.
As per your suggestion, we tried with UART0 of ESP arduino it is working fine, but we cannot use UART0 as it is already occupied.
We already designed for UART2 instead of UART0 to PGA460. We are unable get respond from PGA over UART2.
Please let us know what we need to change in our code to get it work.
Kindly requesting you to reply for our query asap. we require it to be done immediately.
I attempted to communicate to PGA460 UART address '0' using UART2, but with UART 2 of ESP it is not working.
I am able to get result with UART0 with junk ( as I am using same UART for dumping and to print ) but not with UART2.
Below is the log,
Configuring the PGA460 with the selected settings. Wait...ERROR - Did not receive data!System Diagnostics - Frequency (kHz): infSystem Diagnostics - Decay Period (us): 0.00ERROR - Did not receive data!System Diagnostics - Temperature (C): -42.67ERROR - Did not receive data!System Diagnostics - Noise Level: 0.00Retrieving echo data dump profile. Wait...255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,EEPROM programmed successfully.ERROR - Did not receive data!ERROR - Did not receive data!Error reading measurement results...
Kindly requesting you to reply asap.
We are using latest version of PGA code.
While using UART2, i am updating .cpp file too, but still it is not working.
One more thing we discovered is after 2 minutes it gives some random data.
Please suggest something to get it work. We are struggling since many days.
Kindly requesting you to reply asap, as we want this to be work soon. We are already into production, but got stuck because of this UART issue.
Please revert back us.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.