"mm8108-ekh05 v2" + esp32-p4

Hello,

We are trying to pair “MM8108-EKH05 V2” and ESP32-P4.

Yes, we know this board for stm32 solely. But what are the proper manipulations needed to be done so ESP32-P4 could connect to mm8108 on this board?

The way we try it is as follows:

  1. removed SPI zero resistors that seems were going to stm32
  2. unplugged all current sensor jumpers
  3. wired +3.3v, GND, AND GPIO’s connected to MIKROBUS like this:
    1. CONFIG_MM_RESET_N => RST
    2. CONFIG_MM_WAKE => PWM
    3. CONFIG_MM_BUSY => AN
    4. CONFIG_MM_SPI_SCK => SCK
    5. CONFIG_MM_SPI_MOSI => MOSI
    6. CONFIG_MM_SPI_MISO => MISO
    7. CONFIG_MM_SPI_CS => CS
    8. CONFIG_MM_SPI_IRQ => INT
    9. +3.3v to ESP32-P4
    10. GND to ESP32-P4
    11. no other power/wires connected

No luck so far. Getting:

E 60 ev morse_trns_reset[746] Morse Chip Reset Unsuccessful
E 60 ev mmdrv_init[235] Transport init failed

What else needs to be done? Do we need to supply some other power? Maybe solder/unsolder some resistors? Do we need to adjust SPI settings somehow in ESP32-P4?

Also do you expect “pin numbers” as N of GPIO{N} or physical pins numbers on chip? That’s not really clear from naming. However tried both, no luck.

And can’t find schematic for this board itself.

Thanks.

Hi @igi

This is not supported (as you’ve identified), but some comments:

wired +3.3v, GND, AND GPIO’s connected to MIKROBUS like this:

The MICROBUS is on a different SPI bus, so this won’t work. You would need to connect to the SPI that the MM chip talks on.

If you reaaaaally want to use the EKH05, your best bet would be to connect via the through hole test points, but you’re going to need to take care you manage your spi lines well. Look up best practices for running high speed SPI over fly-wires.

The schematics can be found in the EKH05 user guide (appendix A) https://morsemicro.com/resources/user_guides/MM8108-EKH05-User-Guide.pdf
Unfortunately they are not very high resolution, I’ve requested this be updated for the next revision.


For a more recommended approach, you can create your own board, see here as an example: Xiao Wi-Fi HaLow Carrier (MM8108, 3-0067) - Platform for creating and sharing projects - OSHWLab
You can order the modules eg here:
https://www.digikey.com/en/products/detail/morse-micro/MM8108-MF15457/28007243

To add to @ldennis post, design files for the MM8108-EKH05 can be accessed from:
MM8108-EKH05 v2 Design Package

Thank you for your answers @ldennis , @ajudge.

We will go with own board and while it is cooking, what are chances you will add 4-bit SDIO to ESP32 land? Unlike USB, SDIO is relatively easy to add. That will bump speeds, reduce latency, reduce CPU load and can even free gpio’s if wired through/instead of sdcard slot. If it needs 1.8v, that’s pretty doable with esp LDO interface. While current 1-bit SPI is a bit below expectations. Would be really nice of you.

Thanks and have a nice day!