problem with 89c51RD2 "SPI" !

Jul 12, 2004 2 Replies

Hi everyone, I have problem with serial perioheral interface SPI of 89c51rd2. It simply doesn't output anything. no clock no data! I had checked the system with atmel example code too. no effect:( The chip has a register for the SPI status and it shows collision even when I haven't send any data to the transmit register. It also shows inapprapriate level of /SS and /SS deasserted although I have connected the /SS pin to VCC. (SPATA: WCOL,SSERR,MODF =1) other configurations: SPCON: SPEN ,SSDIS ,MSTR , CPOL, CPHA = 1



Thanx,



M.P


I have the same problem, did you find any solutions since?

THX Levi

It would help if you specified whose RD2 you are using ? More than one vendor makes RD2 with SPI - I know of SST and Atmel, there are probably more... Also check the errata ?

-jg

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required