PetervdPerk-NXP commented on issue #7812:
URL: https://github.com/apache/nuttx/issues/7812#issuecomment-1340988130
I've found the workaround to the transmit problem it seems with new IOB api
we've to explicitely set d_len to 0. Not sure about the other drivers that are
affected by this.
```patch
diff --git a/arch/arm/src/s32k3xx/s32k3xx_flexcan.c
b/arch/arm/src/s32k3xx/s32k3xx_flexcan.c
index 3e17b52ee0..d0ac32894d 100644
--- a/arch/arm/src/s32k3xx/s32k3xx_flexcan.c
+++ b/arch/arm/src/s32k3xx/s32k3xx_flexcan.c
@@ -905,6 +905,8 @@ static int s32k3xx_transmit(struct s32k3xx_driver_s
*priv)
mb->cs = cs; /* Go. */
+ priv->dev.d_len = 0;
+
regval = getreg32(priv->base + S32K3XX_CAN_IMASK1_OFFSET);
regval |= mb_bit;
putreg32(regval, priv->base + S32K3XX_CAN_IMASK1_OFFSET);
```
--
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]