cancel
Showing results for 
Search instead for 
Did you mean: 

BSPI UART (AN1800)

bb2
Associate II
Posted on November 15, 2006 at 16:48

BSPI UART (AN1800)

5 REPLIES 5
bb2
Associate II
Posted on November 14, 2006 at 12:03

Hi,

I'm about to design a circuit where 5 UARTs are needed, im using the ARM7 STR7. So i found the App note AN1800 which describe how to use the BSPI as UART.

The App note shows how to send data to the PC, but can the BSPI also be programmed to receive asynchronous data from the PC ? If possible a little decription is very welcome.

Thanks in advance..

javida14
Associate II
Posted on November 14, 2006 at 19:22

Go to the ST website and download the library for the ARM7 (str710, str730 or str750). Look at the examples for the uart. The str710 and str730 have 4-uarts; str750 has 3-uarts. what are you planning on using for the fifth uart?

bb2
Associate II
Posted on November 15, 2006 at 04:55

Hi,

Thanks for the answer, i'll see what i can find.

Im using a STR710 with 4 UARTs, these are reserved in my 'new' application.

But i need a a way to interface with another STR710, this 'old' design cant be changed and there is only access to the UART (RxD, TxD)

The way i understand the BSPI (and the AN1800) is that it can only send data, not receive, because the BSPI cant detect the startbit only capture on the SCLK.

I can be wrong, if i am please enlighten me...I need it to be a two way communication.

Best regards

hichem2
Associate II
Posted on November 15, 2006 at 10:00

Hi bomholt,

Could you please refer to the following AN, you can have an idea about the Receiver mode principle.

http://mcu.st.com/mcu/download2.php?file=6400.pdf&info=ST7%20Application%20Note%20AN1046&url=http://www.st.com/stonline/books/pdf/docs/6400.pdf

regards,

hich

javida14
Associate II
Posted on November 15, 2006 at 16:48

Its now clear what your trying to do. You currently have 4-uarts on the str710 and your trying to connect to a second str710 through the SPI bus and have the second str710 act as your 5th UART. Or what?