I finally tried to setup SPI according to data sheet (SPRUE32) but I think
data sheet is wrong. It states (see below) that configuration should be done
while in reset mode (SPIGCR0: RESET bit). But it doesn't work.

I agree and I also saw that behaviour. I write a 0x00000001 to SPIGCR0
(spi out of reset) and I do all the configuration.
After all the configuration, I put spi into reset and then out of
reset before writing to SPIGCR1to activate it.
I am configuring spi just as you describe, but I am not using
interrupts nor delays.

Regards,
Carlos
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to