Example code fails at GPIO

I try the official examples from DWM1001_DWM1001-DEV_MDEK1001_Sources_and_Docs_v9 in a Raspberry pi3 B with an MDEK board and they fail to the gpio tests.
“./ext_api_fulltest” reports
ERR test_gpio1: err_cnt = 22
and “./test_les” reports
gpio: Unable to open GPIO direction interface for pin 22: No such file or directory
wiringPiISR: unable to open /sys/class/gpio/gpio22/value: No such file or directory
I have compiled with INTERFACE_NUMBER = 1 for SPI