cancel
Showing results for 
Search instead for 
Did you mean: 

How can connect to my S2-LP register with S2-LP DK tools

BMoha.19
Associate II

Hi

I need to export configuration from my S2-LP soldered on my board. I succeed to export S2-LP in eval board using S2-LP DK tools, but, i can't display S2-LP register soldered on my borad (can't connect to my board with S2-LP DK tools). Is there a specific configuration for that?

Thanks in advance.

7 REPLIES 7
Winfred LU
ST Employee

Hi nasramine,

Please check SPI connection and SDN.

During start-up, SDN must be kept high for at least 1 ms.

Please refer to datasheet, Figure 7:

0690X000008w5MTQAY.png

https://www.st.com/resource/en/datasheet/s2-lp.pdf

Best Regards,

Winfred

BMoha.19
Associate II

Hi Winfred,

Thanks for your quick answer.

During start-up, SDN was kept high for 1,485 ms as mentioned on below measurement:

0690X000008wErVQAU.jpg

When i try to connect with S2-LP DK tools to my board (based on STM32L0xx) i have below problem:

0690X000008wEt7QAE.jpg

Any proposal for the problem please?

Best Regards,

Mohamed Amine

Hi Mohamed,

Could you please firstly check if SPI reading 1byte from S2LP register works?

Best Regards,

Winfred

Hi Winifred,

My firmware is already sending data to another node with S2LP. I have only a problem with S2LP DK tools.

Be Regards

Mohamed Amine

Hi Mohamed,

Could you try connect the Virtual COM port and check the output for the followed commands:

  1. SdkEvalSdn 1
  2. SkdEvalSdn 0
  3. SdkEvalSpiReadRegisters 0xf0 2
  4. fwVersion
  5. SdkEvalGetVersion
  6. S2LPGetVersion
  7. EepromReadPage 0 0 1
  8. EepromReadPage 0 0 32

Best Regards,

Winfred

Hi Winfred,

With eval board NUCLEO-L152RE i can run commands as below (after fashing CLI binary with S2-LP DK tools):

0690X000008wJ5vQAE.jpg

but when i used my customer board (based on stm32l0), commands cannot be runned. I think, it's related to CLI binary.

Can you please share with me source code of CLI?

Best Regards,

Mohamed Amine.

Hi Mohamed,

Please use STM32L053 for the board and flash S2LP_CLI_NUCLEO_L0.bin instead.

Regarding to the source code, sorry that currently there is no plan to share it publicly.

Best Regards,

Winfred