The 18F4550 RC7 is both the USART TX and the SPI SDO. Can I 'include' both these with out any conflict? How much of a speed penalty does the software SPI cause? I am in the process of laying out a circuit so need to know before shipping off the gerber files. Any help is greatly appreciated.
Thanks.
SPI and USART conflict question
Moderators: David Barker, Jerry Messina
- David Barker
- Swordfish Developer
- Posts: 1214
- Joined: Tue Oct 03, 2006 7:01 pm
- Location: Saltburn by the Sea, UK
- Contact:
You really don't want to mix the two functions on the same pin. Look at using a different pin with software SPI connected to your external memory device. Writing to these devices usually takes a few ms, so I wouldn't worry too much about software SPI speed (although it is pretty good as it doesn't use indirect addressing)
Look at '24LC640.bas', located in the samples folder for pointers...
Look at '24LC640.bas', located in the samples folder for pointers...