2024-10-16 04:55 AM - edited 2024-10-17 01:31 AM
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?
2024-10-23 01:07 AM
No one ??
2024-10-24 12:58 AM
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.
2024-10-24 01:28 AM - edited 2024-10-24 02:48 AM
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