Use SPI with STEVAL-IDB008v2
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?
