why I can't access spi register on M3?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
why I can't access spi register on M3?
Hello,
Take a look in the below thread:
http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/152066.aspx
Regards,
Pavel
Can you check whether you enable the McSPI clock signals from the device PRCM registers.
BR
Pavel
If I don't enable spi clock, I can't access spi register?
But I can access on DSP!
In DM814x, register CM_ALWON_SPI_CLKCTRL[1:0] MODULEMODE should have the value of 0x2 (enable) in order to access the SPI registers.
Can you check if you have such register, and what is the value in it when trying to access McSPI register.
BR
Pavel
Can you tell me the address of CM_ALWON_SPI_CLKCTRL on dm8127.
I can chek the value of CM_ALWON_SPI_CLKCTRL.
Sorry, I do not have it. I have only DM814x documents.
I will notify the DM8127 IPNC team for further support.
BR
Pavel
I find CM_ALWON_SPI_CLKCTRL address in uboot's code.
CM_ALWON_SPI_CLKCTRL[1:0] is 0. I write 0x02 to fix the problem.