I'm using a dm6446 evm and am trying to enable SPI.
I've modified the drivers and set up the registers OK, however when I come to actually outputting a message, nothing comes out on the DC3 pins. If I change the polarity of the CLK I can see the pin go high. My question is do I need to initialise any of the clocks such as SYSCLK5 so that it feeds out onto the pins? I've initialised SPI in the PINMUX1 register (set bits 8 & 9), and written and read all of the SPI registers to make sure they're correct. I can see my code enable the SPI drivers and set the enable pins etc, but nothing comes out when I write to SPIDAT1. My code checks the RXEMPTY flag in SPIBUF after each Tx and its always cleared and loopback mode works. This is driving me insane! Is there some PLL or Clock that I'm not powering up or enabling that means my data isn't being clocked out even though the software is all set up? Thanks, Alex Alex Tarter Ultra Electronics Communication & Integrated Systems www.ultra-electronics.com Please note that our email address has changed to [email protected]. This is to reflect the change in name to Ultra Electronics Communication and Integrated Systems, a business name of Ultra Electronics Limited. DISCLAIMER This e-mail from Ultra Electronics Limited and any attachments to it are confidential to the intended recipient and may also be privileged. If you have received it in error please notify the sender and delete it from your system. If you are not the intended recipient you must not copy it or use it for any purpose nor disclose or distribute its contents to any other person. All communications may be subject to interception or monitoring for operational and/or security purposes. Please rely on your own virus checking as the sender cannot accept any liability for any damage arising from any bug or virus infection. Ultra Electronics Limited is a company registered in England and Wales, registration number 2830644. The address of its registered office is 417 Bridport Road, Greenford, Middlesex, UB6 8UA.
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
