![]() |
Morse Micro IoT SDK
2.9.7
|
Copyright 2024 Morse Micro
This directory contains all of the hardware dependent code needed to use MM6108-EKH05 evaluation that comes with STM32U585VIT6 chipset.
The bsp directory contains all of the setup and configuration code for the board. This will need to be modified to select and provide initialisation endpoints for the peripherals. A good starting point for this is to use the STM32CubeMX v6.11.0 which can be used to generate starting code for the board/chip that you wish to implement.
Note that the files in the
bspdirectory have been modified from the versions originally generated by STM32CubeMX. In particular is important to note that thebsp/STM32U585XX_FLASH.ldandbsp/startup_stm32u585VIT6.shave been modified.
The files in the mm_shims directory (e.g., mmhal.c, mmport.h, wlan_hal.c) are where the board-specific API functions used by morselib and other software components are implemented.
To use the SPI interface, please make sure that the SPI jumper resistors are soldered and SDIO jumper resistors are removed.
| MM6108 pin | STM32U585 pin |
|---|---|
| RESET_N | PE0 |
| WAKE | PD0 |
| BUSY | PB5 |
| SPI_SCK | PD1 |
| SPI_MOSI | PD4 |
| SPI_MISO | PD3 |
| SPI_CS | PB4 |
| SPI_IRQ | PB15 |