I have connected and ESP32 to an MPPT7515 and need to stop the asynchronous messages that are sent. I have tried setting the TX Port operation mode (register 0xED9E) but this seems to stay at 0 regardless of the value I attempt to write!.
The main reason I would like to stop the asynchronous messages is that when I send messages to toggle the load they do not always work and I need to resend. I am assuming that the MPPT is not capable of processing received messages whilst in the middle of transmitting.
Has anyone else had problems sending messages to an MPPT?
My intention is to monitor and control the MPPT using an ESP32 microcontroller. The documentation does indeed state that the way to stop the asynchronous messages is to set the tx behaviour by writing a no-zero value to register 0xED9E, however this does not appear to work!
The MPPT is perfectly capable of receiving a message while transmitting async messages or the text frame. When you send a VE.Direct Hex message, you do have to wait for an answer before sending a new command. When an answer is not received within a second, the command can be retried.
Following is a log of the data bytes sent and received, I have shown examples of the register requests that work.
At the end of the log you will see the requests for the daily history none of which provide a response from the MPPT.
The firmware has been updated to the latest version using the VictronConnect app on a PC
I am using a third party VEDirect library and I have found that the maximum receive buffer was set to 32 bytes which is insufficient for receiving log data!