Other Parts Discussed in Thread: CC2640R2F, CC2640
Tool/software: Code Composer Studio
Hi,
I am trying to interface an external flash with CC2640R2 MCU. The part number for flash is IS25LP256D. In the datasheet of flash it is mentioned as the device is able to work in SPI mode 0 ( spiParams.frameFormat = SPI_POL0_PHA0 ) and SPI mode 3( spiParams.frameFormat = SPI_POL1_PHA1 ).
I am trying to find the ID of flash device for that I am sending an instruction '0x90' through the txbuff.
But, In Mode 0, There is not output at all.
In the case of Mode 3, I am getting a value '2' in the rxbuff of SPI.
But, as mentioned in datasheet of Flash, I was supposed to get '18' in the rxbuff.
I am confused whether I am getting the exact result or some error value.
Please help..!!!!