Ashish 0 Posted January 6, 2016 Share Posted January 6, 2016 Hi I am using a Tiva TM4C1294NCPDT Microcontroller and i am tring to do a SPI communication between this controller and LS7366r IC. I have connected a encoder to LS7366r IC and then this IC is connected to microcontroller. I have tested this setup witha normal Arduino code and this seems fine to me i am able to get encoder data. now when i am connecting this setup with Tiva TM4C1294NCPDT Microcontroller i am able to get the MISO Sck and ss but not able to see MISO signal as a result i am getting a randum encoder value as out put. M4_SPI_Example.cpp Quote Link to post Share on other sites
L.R.A 78 Posted January 6, 2016 Share Posted January 6, 2016 Which pins are you using? Quote Link to post Share on other sites
Rei Vilo 695 Posted January 6, 2016 Share Posted January 6, 2016 Don't forget to select the correct SPI port with setModule(). Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.