I wonder is it possible to program nRF52 DK with Python instead C language? And are there any examples with python?
and No, there are a lot of developmental languages like this. They are fine to mess around with (if anyone has time for that!) but if you are asking about them that…
I actually ported MicroPython to nRF52 (see: labapart.com/.../11-the-story-of-porting-micropython-to-polymcu-first-target-nordic-nrf52). So it means you could write Python code on this MCU.
I added support…
hi Olivier, did you remove the page? :) I'm pretty interested in it :)
and No, there are a lot of developmental languages like this. They are fine to mess around with (if anyone has time for that!) but if you are asking about them that likely means you're looking for a way to avoid learning C. And with micro controllers, I have to tell you that's going to hurt you quickly. Once you understand memory, pointers are easy. Once you understand binary and bitmapping, special function registers are easy. Once you get how a micro works, you're going to want to work in C as something as high level as Python is going to abstract everything so much that you won't be able to determine what the code is actually doing.
I like Python. I like microcontrollers. I'd never combine them.
For what it's worth, I guess I do see a reason to use micropython if you have an enviroment where you are sending code to be executed to an existing micro. Like if you have a well coded enviroment in C, and you want to give that micro extra code to perform via an interface. Imagine you need local execution on a remote device. That would be a very small specific function inside a larger application. Doing the whole application in Py seems like a really bad idea for simple projects - not even getting into a Nordic SoftDevice BLE application.
I share the view. Loving Python as high-level language on platforms which can handle it but you hardly write "quasi real-time OS" for single-threaded processors like ARM Cortex-M in it. There are people who use more advanced things (like Haskell;) for embedded development but always ends in C(/ASM) generation and then translation by GCC or similar compiler/linker to native binary code...
I added support to few interfaces like LED, I2C, GPIO, delay.
Yes, you can use Zerynth to program nRF52 Nordic Microcontroller boards in Python.
Zerynth provides a modular set of software tools tailored for designing embedded applications and IoT connected devices using any 32-bit microcontrollers and connecting to any cloud infrastructure. All in Python and/or hybrid C/Python language.
More info: https://www.zerynth.com/