cancel
Showing results for 
Search instead for 
Did you mean: 

Where are the ''SCI Applications'' from the ST9+ User Guide?

stmcu
Associate II
Posted on April 28, 2003 at 11:10

Where are the 'SCI Applications' from the ST9+ User Guide?

2 REPLIES 2
stmcu
Associate II
Posted on May 17, 2011 at 11:33

On page 89 of the ST9+ User Guide (6156.pdf), the documentation talks about four different SCI applications. Where can I find these applications? The source code is not included the PDF.

Here is the text from the PDF:

4.6.2 SCI Application 1: Sending Bytes using Interrupts

This application sends 10 bytes to the USART. An interrupt is generated at the end of every single byte transmission. During this interrupt routine, the TXBR register is loaded with the next byte to be transmitted. This application is found in the SCI/appli directory.

The character format is: 2400 bauds, 8 data bits, 1 stop bit and odd parity. Sent bytes can be received on a PC loaded with a serial communication management software program such as Hyperteminal.

4.6.3 SCI Application 2: Sending Bytes using DMA

This application sends bytes from the memory to the SCI peripheral using a DMA channel. The transfer is re-initialized twice in the DMA End of Block interrupt routine so that data is transmitted three times. This application is found in the SCI/appli2 directory.

4.6.4 SCI Application 3: Sending and Receiving Bytes using DMA

This application sends bytes from the memory to SCI and receives bytes from SCI to the register file using two DMA channels. The SCI cell is configured in loopback so that each byte sent is immediately received by the SCI. This application is found in the SCI/appli3 directory.

4.6.5 SCI Application 4: Matching Input Bytes

This application receives bytes from the USART and reacts only if an F (upper case) is re-ceived: on a character match, a 0 is displayed on the 7-segment LED display on port 4. This application is found in the SCI/appli4 directory. Value in IVR 50 Interrupt cause Address in ROM of the selected pointer Value of the Pointer to interrupt routine Receiver error 50 Address of error processing routine Break detect or address match 50+2 Address of Address match process-ing routine Receiver data ready or DMA end of block 50+4 Address of receive DMA end of block processing routine Transmitter buffer empty of DMA end of block 50+6 Address of transmit DMA end of block processing routine
romain2399
Associate II
Posted on May 17, 2011 at 11:33

You will find both the PDF and the ZIP files using the following link:

download->ST9 Microcontroller->Software Microcontrollers->User Guide

The ZIP file address is:

http://www.stmcu.com/mcdfiles/st9soft.zip