Skip to main content
LMyle.1
Associate III
January 6, 2021
Question

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.

  • January 6, 2021
  • 0 replies
  • 814 views

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

    This topic has been closed for replies.