cancel
Showing results for 
Search instead for 
Did you mean: 

I am trying to communicate with the VCNL36887S via i2c using the STM32F407VGT6 I am able to read the output register 0xf2. However am unsure if I am writing to the registers correctly as they are not impacting the output results as expected.

LMyle.1
Associate III

Please see files attached:

Data/application Guide of VCNL36887S

Images of function used to read from the output register

and an image of how I am attempting to write.

I will also include my code from Keil and CubeMX

Any advice would be appreciated

Best Regards,

Luke

0 REPLIES 0