View topic - SPI Driver

SPI Driver

For discussion of realtime and/or embedded programming.

Re: SPI Driver

Postby Tim » Tue Dec 06, 2011 5:54 pm


What do you mean you are getting error as a memory fault.

Do you mean your program crashes? If so, run the debugger and see where.

If you mean you get an error code it would help to know what it is.

Senior Member
Posts: 1522
Joined: Wed Mar 10, 2004 12:28 am

Re: RE: SPI Driver

Postby Ericxx » Mon Oct 21, 2013 5:31 am

kiddocoo wrote:Hi RanAricha,

Thanks for the help, i have managed to get the SPI working now.
The 0x00 is actually from the buffer from the previous transmit :(
Meaning i need to read back 5 bytes of data and the correct one is in the 5th byte.

If anyone needs woking SPI codes, i'll be glad to share it out :)


Dear Kiddo,

I am trying to use the SPI to communicate with a peripheral sensor device. Would you mind sharing your modified SPI code with me? My email is Thanks a lot!

Best regards,
Senior Member
Posts: 158
Joined: Mon Jun 09, 2008 1:38 pm

Re: RE: SPI Driver

Postby umamahesh » Mon Mar 09, 2015 10:17 am

I have new queries in compiling the Resource Manager driver for i2c. Following are my queries for writing new resource manager
1. Whether the project for writing new resource manager(RM) should be created as static/shared?
2. After the compiling the RM driver, where to copy *.o/*.so/*.a ?
3. Should I change any makefiles?

RIght now I using Momentics 6.5 IDE, please share the procedure in compiling and updating the IFS for writing new RM driver.
Looking for suggestions.
Active Member
Posts: 39
Joined: Thu Feb 19, 2015 6:12 am


Return to Realtime and Embedded

Who is online

Users browsing this forum: No registered users and 1 guest