Dear All I am posting this problem for second time as I have received any reply from TI team.
I am facing some problem for interfacing SPI on F28377d with slave SPI IC.
1. - I am using CCS5.5 updated and I can not see SPICCR register for any SPI module a,b,c. I can see all other registers of SPI module in register view window. Is there any way to see that register. ---
Received way out in earlier post from Brett-----
2. - I am trying to interface a SPI slave IC. To start with, I tried Control suit example of SPI loop back with modification of 8 bit character length. In Debug mode, I see same data in SPIRXbuf after transmission,
If I transmit 8 data 0x98 i.e.0x9800 left justified 8 bit data then I expect SPI RX buf to be 0x0098, right justified received 8 bit data
instead I get 0x9800 in SPI RXbuf.
I removed internal loop back mode and made external shorting of MOSI & MISO pins th' a buffer again the same result
3. Similarly when I connect external SPI slave chip and view data on CRO I get transition on MISO pin but do not get physical data in SPIRXBUF. I get same data which I transmit as explained above.
I can see proper clock during transmission, proper data on MOSI pin . Data pattern changes as soon as I change data.
4. I have defined GPIO 16/17/18/19 as peripheral pins. and checked if particular GPIO pin corresponding to MISO function work fine when defined as I/P . So there is no problem as far as hardware is concern
It looks like in SPI mode either MISO data is not getting connected to SPIRXBUF
Can concern TI employee resolve my problem?
thanks in advance
Abhijit