raiden00pl commented on code in PR #10092:
URL: https://github.com/apache/nuttx/pull/10092#discussion_r1291315628
##########
arch/arm/src/nrf52/nrf52_i2c.c:
##########
@@ -373,7 +374,9 @@ static int nrf52_i2c_transfer(struct i2c_master_s *dev,
/* Write number of bytes in TXD buffer */
regval = priv->dcnt;
- nrf52_i2c_putreg(priv, NRF52_TWIM_TXMAXCNT_OFFSET, regval);
+ nrf52_i2c_putreg(priv, NRF52_TWIM_TXDMAXCNT_OFFSET, regval);
+
+ nxsig_usleep(1);
Review Comment:
@brian-doherty I managed to communicate with APDS-9660 sensor on my board (I
have Nano 33 BLE Sense rev 2, so no LMS9DS1 here).
What is missing:
1. set `VDD_ENV` high (P0.22)
2. wait some time to be sure that all sensors power up correctly (I just use
`up_mdelay(20)`)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]