Skip to main content
Explorer
October 16, 2024
Question

Use SPI with STEVAL-IDB008v2

  • October 16, 2024
  • 2 replies
  • 1118 views

Hi,

I'm trying to use spi on STEVAL-IDB008v2 board I want to wire spi flash dev board, after reading the documentation I'm not sure but if I want to have spi on bluenrg2 I have to desolder R64 and R63 resistors ?

 

EDIT : it's seem 1-2sel and 3-4sel are connected to stm32l processor, but stm32l processor can't be flash by the user... so ?? I can’t add my own spi device on cn1 connector?

Second question: in SPI example I've read st used SdkEvalSpiWrite to write on SPI, so for example if I have 

 

uint8_t cmd[2] = {W25_INSTR_JEDEC_ID , 0x00};
HAL_SPI_Transmit(&HANDLER_SPI_FLASH, cmd, sizeof(cmd), 100);

 

Should I replace by 

 

uint8_t cmd[2] = {W25_INSTR_JEDEC_ID , 0x00};
if (SdkEvalSpiWrite(cmd, 0, sizeof(cmd)) != SUCCESS){
...
}

 

or

 

uint8_t cmd[1] = {0x00};
if (SdkEvalSpiWrite(cmd, W25_INSTR_JEDEC_ID , sizeof(cmd)) != SUCCESS){
...
}

 

 

No ST employees to help?

    This topic has been closed for replies.

    2 replies

    SBaro.11Author
    Explorer
    October 23, 2024

    No one ??

    ST Employee
    October 24, 2024

    Based on note on page6 of schematic: 

    1-2SEL=3-4SEL=H => SPI CONNECTED
    TO THE BLUENRG-2

    You need to pull-up 1-2SEL & 3-4SEL to enable SPI connection between STM32L1 to BlueENG-2. 

    SBaro.11Author
    Explorer
    October 24, 2024

    Thanks for the reply @QSHAO.1 

     

    So I have to solder wire ? There is no built in solution on dev board ? This strange all ST dev board I had, have jumper or something, for this kind of situation.

    So far, I'll try with wire. Keep you in touch