Home/Support/Support Forum/CC 7U: how to use the SPI mode
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

CC 7U: how to use the SPI mode

0 votes
Hi there,

I'm trying to connect a serial device to a 7U - so the 7U shall act as SPI master. If've been reading the NS7520 manual and have been checking the internet for samples, but since the UNC20 forum is closed, its hard to find anything.

I followed the instructions in the manual, how to set up the serial port and then transmit a 16 bit word, using interrupt mode or DMA mode - but nothing happens on my GPIO pins.

I'm using the FS-Forth basboard where the PortA pins are accessible on the wire-wrap field. A programmed GPIO access works nice, the UART-serial-mode works also, but I cannot get the SPI mode transmitting anything.

Can anyone point me in the right direction, or perhaps provide some lines of a working example ? thanks in advance.

What I don't fully understand is, what exactly triggers the transmission. I'm writing data to the transmitter fifo - does this trigger the SPI master to transmit the data, or is there any command bit, that needs to be set ?

regards+

MatthiasD
asked Sep 10, 2008 in NET+OS by matthias.d New to the Community (0 points)
recategorized Jun 17, 2013 by mcarver

Please log in or register to answer this question.

...