Communication between STM32 bluepill and SAMD21G (Sparkfun Mini Breakout)

I am trying to communicate between stm32 bluepill and sparkfun samd21 mini breakout using I2C communicaition as master and slave.The master is stm32 and slave is samd21g.The problem is I am able to do so with arduino UNO as master ans samd21 as slave. However can’t find slave device while I scan form stm32.
Have anyone done before??
Or any guides??