2024-05-16 06:31 AM
A BLE Project for developed on steval-mksbox1v1 which had SPBTLE-1s.
Since it became NRND we switched to BlueNRG-M2SA Module which has same footprint.
Using the BlueNRG-1_2 DK 3.2.3 I have tried to get build the project with following pin changes as per mksbox connections - in hw_config.h
#define SPI_CS_PIN GPIO_Pin_1
#define SPI_OUT_PIN GPIO_Pin_2
#define SPI_IN_PIN GPIO_Pin_3
#define SPI_CLCK_PIN GPIO_Pin_0
But to my despair the in the built project binaries flashed into the module, the IRQ pin never becomes high in this firmware and the HCI code does not progress as IRQ low. In short the module does not initialize.
I have used projects from following paths.
BlueNRG-1_2 DK 3.2.3\Project\BLE_Examples\DTM\MDK-ARM\STEVAL-IDB008V1M
BlueNRG-1_2 DK 3.2.3\Project\BLE_Examples\DTM\MDK-ARM\STEVAL-IDB007V1M
After nothing of above worked, we had previous removed the ble firmware from the mksbox ble module and this particular firmware works fine on both the SPBTLE-1S and BlueNRG-M2SA with a issue that in M2SA Sleep currents are 5mA which is very high and thus we want correct firmware to be loaded in M2SA module to get lower currents.
We want the correct firmware DTMSPI for M2SA Module for Connections that are same of MKSBOX Board. Please help.
Regards
2024-05-23 02:22 AM
Hi,
Done the above changes. Results unchanged. No IRQ on BLE_INT Pin.
2024-05-23 04:51 AM
Hi,
No more idea on my side.
May be could you confirm using DIO7 as IRQ as our default example, you can see IRQ rising up (you can add wire to modify your PCB)?
Laurent
2024-05-23 05:06 AM
As you can see we are using DIO14
2024-05-23 05:14 AM
Yes I see.
My request is maybe to rebuild FW with DIO7 as IRQ and modify your PCB as a test.
DIO7 is the default IRQ used in our example.
This is to see if this is related to DIO14 and any specifc thing around it.
Laurent
2024-05-23 05:33 AM
In mksbox sensor tile DIO14 is used.
Could you, if possible, share the original firmware source code of DTM_Spi used in sensortile board?
That is not available online. I want to check the project because that firmware works fine on my board. its the new firmware i create which are not working.