Yahoo Groups archive

68300

Index last updated: 2026-04-29 00:01 UTC

Message

[68300] 68376 -> QSPI trouble

2003-02-19 by Jose Lopez

List,
I'm using the QSPI to talk to a D/A and it's not working the way I would 
expect it to. The QSPI is configured for wrap-around mode and the interrupts 
are disabled. When I write 11 words to the transmit ram and 11 chars to the 
command ram and configure the control registers like this:

SPCR0 = 0X8002;
SPCR2 = 0X4b00;
SPCR3 = 0X0000;
SPCR1 = 0X8000;

everything works the way I want it to. However, when I write 16 words to the 
transmit ram and 16 chars command ram and configure the control registers 
like this:

SPCR0 = 0X8002;
SPCR2 = 0X4f00;
SPCR3 = 0X0000;
SPCR1 = 0X8000;

it doesn't work! In fact, if I write to more than 11 entries in the tx&cmd 
ram it stops working. I've checked and rechecked the addresses I'm writing 
to and they all check out. Has this happened to any of you before?
Jose


_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.