Other Parts Discussed in Thread: PGA460, ENERGIA, PGA460-Q1
Hello,
I've already evaluated PGA460 with PGA460Q1-EVM and now I'm developing an design where I want ESP32 to control the PGA, so I used PGA460-PSM and connected VPWR to 12 Vdc, TXD to RX ESP32; RXD to TX ESP32; GND to ESP32 GND wich is also conected with the 12 voltage source GND. I could send some simple comands like reading eeprom but I have no response from PGA tx looking on the oscilloscope. ESP32 logic level is 3.3V so it should work fine without pull-up resistors, right?
I'm trying to adapt Energia PGA460_USSC library in Arduino IDE to use with ESP32 but I'm having trouble in doing so. I only use "PGA460_USSC.h", "PGA460_USSC.cpp" and I use pins 22 and 23 as UART rx, tx and the ESP32 UART library for Arduino IDE. I'm sending my files attached. I've taken out all SPI and TCI functions and all references to pins I dont use.
This is the results so far..