brian-doherty commented on code in PR #10092:
URL: https://github.com/apache/nuttx/pull/10092#discussion_r1285850030
##########
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:
The LASTTX event was never firing. If it works elsewhere then I see three
options:
1) It's board specific, in which case we would put a board specific #ifdef
around it.
2) It's something specific to the LMS9DS1, which is the only device I've
tested. I can validate that once I bring up the on-board barometer, which was
next on my list.
3) I've done something wrong in the board configuration. I'm struggling to
figure out what, though, since it works in general with this delay.
What would you like me to do?
--
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]