cancel
Showing results for 
Search instead for 
Did you mean: 

X-NUCLEO-IKS4A1 and X-NUCLEO-WB05KN1 Compatibility

RemHi
Associate II

Hi,

I am trying to make both IKS4A1 and WB05KN1 (see datasheet attached) shields work together on a NUCLEO-U575ZI.

Using the example projects I can use both separately. I used the SensorDemo_BLESensor-App from X-CUBE-WB05N (https://www.st.com/en/embedded-software/x-cube-wb05n.html) with the WB05KN1 and DataLogTerminal from X-CUBE-MEMS1 (https://www.st.com/en/embedded-software/x-cube-mems1.html).

I then try to plug both shields on the Nucleo board. I mounted the WB05KN1 on top of the IKS4A1. My first step was just to flash the board with the SensorDemo_BLESensor-App to see if it was still working. Unfortunately it is not.

I spend several hours trying to find the issue. I suspect a pin conflict but reading the documentations, I was not able to find the problem.I also notice that in this configuration the DataLogTerminal project is working.

I used STM32CubeIDE.

Could someone please help me?

 

6 REPLIES 6
Imen.D
ST Employee

Hello @RemHi ,

Did you try with the latest release of STM32CubeProgrammer tool?

What exactly did the error message say?

Please share your log of the sequence when you tried to flash the board?

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

@RemHi wrote:

I suspect a pin conflict but reading the documentations, I was not able to find the problem?


It's here:

AndrewNeil_1-1733752953479.png

AndrewNeil_2-1733752972069.png

 

Both the NUCLEO-U575ZI-Q and the X-NUCLEO-WB05KN1 are driving their VCP onto the Arduino D0-D1 pins.

You're going to have to disable one of them.

 

 

Maybe I wasn't clear. I do not have issue flashing the board. I can make the WB05KN1 working on the nucleo board when mounted alone. But when I also mount the IKS4A1, its not working anymore (I didn't change anything in the binary used to flash the nucleo board).

As long as I understood, these pins are used for the UART communications between the NUCLEO-U575ZI-Q and the X-NUCLEO-WB05KN1.

In my mind this can't be the problem because when mounted alone on the NUCLEO-U575ZI-Q, I could used the X-NUCLEO-WB05KN1 (using the SensorDemo_BLESensor-App example project). I used ST BLE Sensor APP for smartphone and I could see the bluetooth signal and received data.

I only got a problem when I add the IKS4A1 shield between the X-NUCLEO-WB05KN1 and the NUCLEO-U575ZI-Q. It seems not to work anymore (still using SensorDemo_BLESensor-App) = with ST BLE Sensor I can't see anymore the bluetooth signal.

 

 


@RemHi wrote:

As long as I understood, these pins are used for the UART communications between the NUCLEO-U575ZI-Q and the X-NUCLEO-WB05KN1.


Ah yes, my mistake - they are swapped TX-RX and RX-TX.


@RemHi wrote:

I only got a problem when I add the IKS4A1 shield between the X-NUCLEO-WB05KN1 and the NUCLEO-U575ZI-Q. It seems not to work anymore 


So have you used the debugger to see what's happening?

Or an oscilloscope or logic analyser on the pins?

 

Instead of mounting the IKS4A1 between the others, have you tried making it the bottom or top of the stack?

What if you use wire links to connect just one interface at a time ... ?