View topic - SPI Driver
SPI Driver
18 posts
• Page 2 of 2 • 1, 2
Re: SPI Driver
Zaheer,
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.
Tim
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.
Tim
- Tim
- Senior Member
- Posts: 1514
- Joined: Wed Mar 10, 2004 12:28 am
Re: RE: SPI Driver
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
Regards,
Kiddo
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 eric.dongxx@gmail.com. Thanks a lot!
Best regards,
Eric
- Ericxx
- Senior Member
- Posts: 158
- Joined: Mon Jun 09, 2008 1:38 pm
Re: RE: SPI Driver
Hi
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.
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.
- umamahesh
- Active Member
- Posts: 39
- Joined: Thu Feb 19, 2015 6:12 am
18 posts
• Page 2 of 2 • 1, 2
Return to Realtime and Embedded
Who is online
Users browsing this forum: No registered users and 1 guest