How to perform Diffie-Hellman key exchange using PSA Cryptography APIs that use mbed-tls library?

I am using mbed-OS, it comes with mbed TLS library and PSA Cryptography APIs. I am not able to perform Diffie-Hellman key exchange using PSA Cryptography APIs. It fails to dereive the secret key which could be exchanged between the sender/receiver, is there any code sample or an example implementation available?