The code to run the pdm may be found here :
https://github.com/damienmaguire/Stm32-vcu/blob/LIM_ST107/src/leafinv.cpp
Its heavily commented so should be easy to read.
All you need to run this thing is CAN , 12v and ground. No other signals are required.