DSPRelated.com
Forums

HELP!!! URGENT BLACKFIN 533

Started by twij...@ec.auckland.ac.nz September 1, 2006
Hi, We really need help in trying to use SPI and UART.
We don't kknow how to see the output from the visual DSP UART example or seeing any output for that matter. It simply says running at the bottom of the screen.
We need this with SPI (is the code given in help the correct code - which registers do we need to change?)
The SPI is nothing fancy. We want the 533 to be the slave of a few ATMEGA32's.
We then require to see our output on PC via UART.

Does anyone know how to use the example code for UART in the analog folder for Visual DSP or the SPI example in help for basic use. We require to process information in real time and have only 1-2 days left to do this.

Are there any simple step[ by step tutorials or instructions on how UART andSPI work spcific to BLACKFIN 533 and with Visual DSP??

ANY HELP at this point would be very much appreciated.

Thanks again.
Whell the output from the uart you probably see if you put a pc connectet
with a 1:1 serial cable on the board and start hyperterminal on the pc ..

and here a quote regarding uart from me

"
Hi

look into the \VisualDSP 4.0\Blackfin\EZ-KITs\ADSP-BF561\Examples\UART
RS-232 HyperTerminal session\Core A\
direktory of your VisualDSP instalation.

there is the UART_Library.c its the asm code portet to c

you need the funktions:
UART_init, UART_waitForTransferCompletion, UART_putc, UART_puts,

Calculate your divisor whith: BAUD RATE = SCLK/(16 x Divisor)

so eg for SCLK 118.8 Mhz and a wonted baud rate of 115200 you need
a divisor of 64

UART_init(64);
UART_puts("helo world");

tada

and dont forget that you need a 1:1 cable not a crossed nullmodem one
beetween the bord and the pc

dennis

On Sat, 5 Nov 2005, Chandrakant Deoda wrote:

> Date: Sat, 5 Nov 2005 19:11:09 +0530
> From: Chandrakant Deoda
> To: adsp@adsp...
> Subject: [adsp] UART Code for Blackfin 533
>
> Dear Group,
>
> If any one have any example code of UART for Blackfin 533 which is
written in C
language.
> Please share with me. In Visual DSP++ it is there but it is Assembly
code.

"

hope it helps

dennis
On Thu, 31 Aug 2006, t...@ec.auckland.ac.nz wrote:

> Date: Thu, 31 Aug 2006 21:24:46 -0400
> From: t...@ec.auckland.ac.nz
> To: a...
> Subject: [adsp] HELP!!! URGENT BLACKFIN 533
>
> Hi, We really need help in trying to use SPI and UART.
> We don't kknow how to see the output from the visual DSP UART example or seeing any output for that matter. It simply says running at the bottom of the screen.
> We need this with SPI (is the code given in help the correct code - which registers do we need to change?)
> The SPI is nothing fancy. We want the 533 to be the slave of a few ATMEGA32's.
> We then require to see our output on PC via UART.
>
> Does anyone know how to use the example code for UART in the analog folder for Visual DSP or the SPI example in help for basic use. We require to process information in real time and have only 1-2 days left to do this.
>
> Are there any simple step[ by step tutorials or instructions on how UART andSPI work spcific to BLACKFIN 533 and with Visual DSP??
>
> ANY HELP at this point would be very much appreciated.
>
> Thanks again.
>