cancel
Showing results for 
Search instead for 
Did you mean: 

SPI Interface

christian2
Associate II
Posted on August 19, 2003 at 16:57

SPI Interface

4 REPLIES 4
christian2
Associate II
Posted on May 17, 2011 at 11:55

Hello,

I would like to know if the uPSD has a SPI interface. If don't, can I simulate one by writting some SPI's functions.

Best regards

Christian
simonharrison9
Associate II
Posted on May 17, 2011 at 11:55

Hi,

Use mode 0 of the UART, this uses RX as data in/out and TX as clock.

The datarate is fixed.

regards,

Simon
christian2
Associate II
Posted on May 17, 2011 at 11:55

Ok,

I cannot change the clk frequency? Could I change the clk frequency by setting it in the config registry?

Regards
christian2
Associate II
Posted on May 17, 2011 at 11:55

hum, the ST Mode-0 has only 2 I/O (SCk and SData), but the SPI memory has 3 wires (SCk, SDataIn and SDataOut).

Is the ST MCU can communicate with 2 I/O to transfer and receive data from the memory?

Regards