[ARM] HELP with SPI communications

Status
Not open for further replies.

otxoasound

Newbie level 2
Joined
Feb 18, 2015
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
15
Hello everybody!

Well, I am trying to set up SPI communications. All seems to be ok, except when I send 0x00. I have connected my oscilloscope and send 0x01,0x02,0x03 and son on and the MOSI and the clock lines change between low and high levels correctly. The problem is when I send 0x00. I can see no activity in any of the two lines. It is the first time I try to sey up SPI communications so I do not know what it is happening. Somebody could help?

Thank you very much in advance!!!
 

What is a problem to provide more information? Wich ARM do you using? Where is the code? We are not a magichans, we know nothing about black magic, fortuna cards and e.t.c.
 

I am using LPC1769. It is an example of IAR IDE. The microcontroller is working as master. The code is very symple. It only writes the data to the register and waits for a bit that shows the data has been sent. As I said before it works with the rest of the data if it is not 0x00 value. I can send whatever 8 bit data I want, but not 0x00.

Thanks for trying to help. Maybe some kind of magic will work out the problem. What a shame!!
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…