cancel
Showing results for 
Search instead for 
Did you mean: 

BSPI0 SSN pin problem

aialinux
Associate II
Posted on February 14, 2006 at 04:21

BSPI0 SSN pin problem

4 REPLIES 4
aialinux
Associate II
Posted on February 10, 2006 at 04:58

I am using BSPI0 as master to control a dac chip.

When I send data to DAC chip. BSPI0 .MOSI0 BSPI0 .SCLK0 active.

But SSN hold high. I think it must active low to select the dac enable pin.

I don't know why.

halim
Associate II
Posted on February 10, 2006 at 05:53

Hi

In STR71x datasheet is mentioned that selecting the SPI in master mode SSN pin have to be configured in high level. But in slave mode this pin must be configured in low level

See datasheet Page 227, table 41.BSPI pins

I suggest configuring dac enable pin you can use other GPIO pin in output mode

Best kind

Punto

aialinux
Associate II
Posted on February 11, 2006 at 05:27

When the BSPI0 in master mode. Can the SSN PIN use as GPIO?

I just want to use SSN as GPIO to select the DAC chip.

halim
Associate II
Posted on February 14, 2006 at 04:21

Hi ,

In master mode the SSN PIN must be in HIGH level.

You can't toggle the SSN pin when the communication starded.

Best regards,

Punto