> -----Original Message----- > From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf > Of IVP > Sent: 10 August 2011 15:00 > To: Microcontroller discussion list - Public. > Subject: Re: [PIC] Continuous SPI transmission >=20 > Ah, >=20 > just checked through an errata (80443E) and it looks like SPITBF > is a silicon issue. I've got two batches - $3002 revision, date code > 0909 and $3003 revision, date code 1114. They're both mentioned, > so are a heap of others, so looks like I'll have to use delays. Bugger >=20 It seems nothing has changed at Microchip then. I have yet to find another vendor that consistently releases parts with as many problems as Microchip. The errata suggests you can work around the problem by polling the SPITBF until it gets set, and then polling until it's cleared e.g. send_w0: btsc SPI1STAT,#SPITBF ; wait for SPITBF to clear bra $-2 mov w0,SPI1BUF ; load SPI buffer btss SPI1STAT,#SPITBF ; wait for SPITBF to get set bra $-2 return Cheers Mike =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D This e-mail is intended for the person it is addressed to only. The information contained in it may be confidential and/or protected by law. If you are not the intended recipient of this message, you must not make any use of this information, or copy or show it to any person. Please contact us immediately to tell us that you have received this e-mail, and return the original to us. Any use, forwarding, printing or copying of this message is strictly prohibited. No part of this message can be considered a request for goods or services. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .