You'd need special I2C methods that support repeated-start condition, as described in http://forums.netdui...rt-bit-support/
- Netduino Forums
- → Viewing Profile: Posts: CW2
Community Stats
- Group Members
- Active Posts 1592
- Profile Views 38020
- Member Title Advanced Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Male
-
Location
Czech Republic
Posts I've Made
In Topic: I2C on original netduino not reading multiple bytes
21 February 2015 - 07:58 PM
In Topic: How to compile the firmware without networking support (plus 2)
09 February 2015 - 11:42 AM
Alternatively, you could simply build and flash Netduino 2 firmware on your Netduino Plus 2 board.
In Topic: Help me out with SPI Please.
04 February 2015 - 10:06 AM
I don't know what else I must do to get the lcd working on this hardware.
Could you post a photo of the actual wiring?
In Topic: Native code interop
28 January 2015 - 07:21 AM
... C# is interpreted but I'll write that down to a language barrier :-)
That is correct, in the current implementation of .NET Micro Framework, managed code (CIL) is interpreted (there is no JIT).
In Topic: Non-Voliatile Storage - NVRAM
05 January 2015 - 06:54 PM
Well, building NETMF firmware requires some effort - it is certainly not on the same comfort level as F7/Ctrl+B in Visual Studio, but I can ensure you it is still a piece of cake in comparison to other [embedded] projects I've had a chance to work with. And the real fun comes much later, when you need to F10 in native code
Still waiting on detailed notes .......
Please have a look at Netduino 2 Firmware v4.3.1 with GCC support. There are similar topics and wiki articles (by other community members) for basically all Netduino firmware variants.
Regarding Netduino Plus, technically it was possible to build the firmware with GCC, but due to the size of its C Runtime libraries and flash memory consumed by networking code, either some of the features had to be removed or the flash region dedicated to user application had to be significantly reduced. After release of newlib-nano - an optimized C Runtime, a part of GNU Tools for ARM Embedded Processors - in December 2012, the code produced by GCC is on par with Keil MDK (formerly ARM RVDS) output, in fact I was able to get even smaller output in certain cases (optimized compiler and linker switches for Cortex-M Thumb code generation).
The other issue with GCC was that after introduction of Cortex-M port, there were wrong build settings and interrupt-related code that did not work correctly for Thumb instruction set - this was fixed and published in 2012 (unfortunately, the repository has been deleted, but the code is included in newer releases).
Hope this helps.
- Netduino Forums
- → Viewing Profile: Posts: CW2
- Privacy Policy