avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: [avr-gcc-list] SPI2X in SPSR more explanation


From: krystian.hirsch
Subject: AW: [avr-gcc-list] SPI2X in SPSR more explanation
Date: Thu, 14 Oct 2004 09:02:28 +0200


OK I am working with JTAG ICE (real HW) and self made mega16 board.
I can not set this bit neither from code e.g. :
SPSR|=0x01;
nor
SPSR|=(1<<SPI2X);
nor equivalent

Unlike for other bits in I/O workspace window, clicking on this bit is for no 
avail too. After next debugging step (or refreshment acitivies) it keeps to be 
reset to 0. So it is µC issue or AVRStudio issue rather than gcc issue.

Krystian Hirsch


-----Ursprüngliche Nachricht-----
Von: E. Weddington [mailto:address@hidden
Gesendet: Mittwoch, 13. Oktober 2004 22:06
An: Hirsch, Krystian
Cc: address@hidden
Betreff: Re: [avr-gcc-list] SPI2X in SPSR

krystian.hirsch wrote:

>Hi group,
>
>
>
>
>I cannot set the SPI2X bit within the SPSR (it should double the speed
>of the SPI) on the mega16 using AVRStudio 4.0.
>
>
>The SPI is already set up as Master.
>
>Anyone got to the cause or have explanation?
> 
>

What exactly do you mean by "I cannot set the SPI2X bit"? Are you using
the AVR Studio 4.x simulator?

You'll have to provide more details.

****************************************************************************************

Note: The information contained in this message may be privileged and 
confidential and thus protected from disclosure. If the reader of this message 
is not the intended recipient, or an employee or agent responsible for 
delivering this message to the intended recipient, you are hereby notified that 
any dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this communication in error, please notify us 
immediately by replying to the message and deleting it from your computer. 
Thank you.

****************************************************************************************


reply via email to

[Prev in Thread] Current Thread [Next in Thread]