Hello everyone, I’m working with a PicoCore BBDSI rev. 1.4 module based on the i.MX8ULP M33 core and have run into an issue I hope someone can help me with.
For LPI2C1 I’ve been using two pins on J11 — SPI_B_MOSI and SPI_B_MISO (PTA4 and PTA5) — without problems. However, when I remap them to CAN_A_RX and CAN_A_TX (PTA12 and PTA13), the oscilloscope shows only a single brief drop from high to low, after which the line stays high and no further transmission occurs.
Could this behavior be due to some additional circuitry on the module related to the CAN interface?
Any advice or insights would be greatly appreciated.
P.S. this is how I change the pin assignments:
before (everything works):
C
- IOMUXC_SetPinMux(IOMUXC_PTA4_LPI2C1_SCL, 0U);
- IOMUXC_SetPinConfig(IOMUXC_PTA4_LPI2C1_SCL,
- IOMUXC_PCR_ODE_MASK |
- IOMUXC_PCR_PE_MASK |
- IOMUXC_PCR_PS_MASK);
- IOMUXC_SetPinMux(IOMUXC_PTA5_LPI2C1_SDA, 0U);
- IOMUXC_SetPinConfig(IOMUXC_PTA5_LPI2C1_SDA,
- IOMUXC_PCR_ODE_MASK |
- IOMUXC_PCR_PE_MASK |
- IOMUXC_PCR_PS_MASK);
after (does not work):
C
- IOMUXC_SetPinMux(IOMUXC_PTA12_LPI2C1_SCL, 0U);
- IOMUXC_SetPinConfig(IOMUXC_PTA12_LPI2C1_SCL,
- IOMUXC_PCR_ODE_MASK |
- IOMUXC_PCR_PE_MASK |
- IOMUXC_PCR_PS_MASK);
- IOMUXC_SetPinMux(IOMUXC_PTA13_LPI2C1_SDA, 0U);
- IOMUXC_SetPinConfig(IOMUXC_PTA13_LPI2C1_SDA,
- IOMUXC_PCR_ODE_MASK |
- IOMUXC_PCR_PE_MASK |
- IOMUXC_PCR_PS_MASK);