/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Using external connector SPI

Username:     
Password:     
             

Forum

# 1   2009-03-03 00:41:27 Using external connector SPI

gsxrex
New member
Registered: 2009-02-17
Posts: 2

Using external connector SPI

Hi all,
Need a little help getting an external device talking to the Primer2 through the external connectors SPI2 lines.  It seems that no matter what I do, I can't enable or set the parameters for SPI2.  From digging around and reading, it looks like the SPI2 is shared with the STW5094A.  Everybody says that you can disable the chip, but how?  Is there an API call to do this, or do I need to do use AUDIO_WriteRegister() to access some registers on the chip?  Sorry for the newb questions, but it wasn't readily apparent to me how this is accomplished.

Thanks for the help!

Last edited by gsxrex (2009-03-03 00:41:57)

Offline

 

# 2   2009-03-03 01:22:50 Using external connector SPI

gsxrex
New member
Registered: 2009-02-17
Posts: 2

Re: Using external connector SPI

Hmmm, looks like I might have figured it out.  If I set the AUDIO_SetMode() to VOICE_MODE_PLAYBACK, it looks like the SPI control registers are free.

Offline

 

Board footer