In documentation https://wiki.mikrotik.com/wiki/Manual:IP/IPsec
is clearly mentioned, that hardware acceleration is working on MD5, SHA1, SHA256 algorithms. SHA512 is not supported by hardware, so in this case CPU is doing all encryption.
try to change sha512 to sha256 on both sides.