chipKIT® Development Platform

Inspired by Arduino™

PROBLEM WITH SPI

Created Tue, 19 Jul 2016 06:21:56 +0000 by Dharmesh


Dharmesh

Tue, 19 Jul 2016 06:21:56 +0000

I am using Chipkit uc32 board. In that board i am using SPI communication protocol and i am getting response from ADXl345(3 axis Accelerometer). But when i am using nxp's possessor(lpc11u24) as slave and uc32 as master i didn't get proper data from spi. I am trying with changing spi speed ,use dealy at master side but cant get proper out put. When i am trying to read only one data byte from slave it is working good. But when i am trying to read multiple byte suppose 20bytes master starts read data asynchronously . Can any one help me how to solve this problem? How to read multiple data bytes from slave SPI??


majenko

Tue, 19 Jul 2016 11:07:03 +0000

There's too many variables there to be able to help you. You're quite vague about what's going wrong, and with no code to examine we can't see what might be wrong.