Stm32l100
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-03-12 12:35 AM
Posted on March 12, 2014 at 08:35
Hello,
What does stm32l100 follow Big Enidian or Small Enidian..?
This discussion is locked. Please start a new topic to ask your question.
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-03-12 3:12 AM
Posted on March 12, 2014 at 11:12
Little endian only.
See PM0056 rev.5, ch.2.2.6 and SCB_AIRCR.ENDIANESS. Also see RM0041 ch. 2.2. JWOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-03-12 5:15 AM
Posted on March 12, 2014 at 13:15Ho !,..i have an issue ,.......Thank You for the reply waclawek ,.... My Host is STM32l100 which is connected to a network processor (LON : FT5000 ''BigEnidian''),communicates through UART !......how to over come this Problem of difference in Enidians.,one solution i know interchange the bits before sending and reviving,...any easy solution(as my app involves nested structure and enums ....! ) Regards Sanil
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-03-12 7:05 AM
Posted on March 12, 2014 at 15:05
There are never any easy solutions when dealing with two processors/architectures using different endian configurations.
You have to pay careful attention to ALL structures and parameters and the bit/byte order expectations. With compilers bit-fields are a particular area of grief. Socket implementations have macro's to handle such things The Thumb instruction set also contains several bit/byte reordering commands.http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0552a/BABJJDDB.html
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-03-12 11:36 PM
Posted on March 13, 2014 at 07:36Hello Clive, Thank you for the info ,......Regards,Sanil
