I found the connection method here: http://vedder.se/2015/08/vesc-writing-custom-applications/
Connections being: SCK -> HALL 1 MISO -> HALL 2 MOSI -> VCC CS -> HALL 3
@MrEpiquad designed an awesome looking cap carrying the AS5047 developmentboard ( Mouser 985-AS5047P-TS_EK_AB ):
Magnet is mounted inside the pulley (shiny bit in the center). PCB fits perfectly and has the perfect distance to the magnet. You get one magnet with the dev board. Everything connected :). And working!Bottom screen is the SPI communication, I connected the oscilloscope to check if everything was working and how it looked. I discovered that upon the the first connection I swapped 2 wired, that error was easily found with the oscilloscope.
Testing encoder operation:
Comparing sensored with AS5047 to sensorless (no studdering as with HALL sensors):
Configuring the AS5047 encoder on the VESC with BLDC-tool: