This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SHT25 interface with nordic

Hi,

I am Using nrf52832DK and SHT25 breakout board. I can't able to read a device address using "TWI Scanner". But, I can able to scan the sht25 device address by Arduino I2c scanner.

I need your help to make work nordic's TWI Scanner for the sht25 breakout board or suggest me the code for the proper interface of sht25 with nrf52832.

Parents Reply
  • Hello,

    DD_ said:
    SHT20 break out board ( Which will have pull up )

    I will have to reiterate what @awneil has already asked here - how do you know that the SHT20 breakout board / module provide the pullups? You may not just assume.
    Do you have a link to the specific module or breakout board you are using, or specifically to the user guide / data sheet of the module?

    DD_ said:
    When I am working with arduino there is no problem sht20 works perfectly.
    But when I use nRF52 DK it is not working.

    The Arduino might be providing the pullups here. In which case, the nRF needs to be configured to do the same in order for the TWI communication to work. Again, as @awneil has already mentioned - the fact that the example is unable to find the sensor indicates that there is a hardware problem.

    DD_ said:
    Those pins in nRF52 is only connected with sht 20 sensor and we are also defining that in firmware board file. 

    Would you mind sharing the code section where you setup and configure the TWI peripheral?
    It would also be helpful to see the changes you have made to the boardfile. 

    DD_ said:
    If it's sht20 issue then it should not worked with arduino.

    This could for example happen if the sensor does not provide pullups but the Arduino enables pullsups behind the scenes. We will know more about this when we get to see the modules / breakoutboards user manual or data sheet.

    Looking forward to resolving this issue together.

    Best regards,
    Karl

Children
No Data
Related