First a bit of bragging. There will be a workshop with N-ka’s at Stockwerk in Vienna.
Totally free and prepared for beginners. Really 🙂 Anyway – you can register until 19.09.2016 and workshop is on 20.09.2016.
Since CodeBlocks looks like a really nice platform to compile for N-ka the wizard to use CodeBlocks and N-ka is being created. It is in beta and already used in works, so … anyway, you can find the wizard on github. There are also some libraries that were created for N-ka.
When presenting the newest hardware solution called N-ka the question was posted: “What is the license under which you release your hardware?” and I was left speechless.
I didn’t know what to answer since I didn’t take time to study the subject. I somehow know GPL and LGPL (and some other too) licenses for software, but wasn’t really sure how the open source hardware licenses are being done.
It’s sort of a press release … for immediate publication (my media friends will get the joke :))
Anyway – I was talking about stm32f030 arm device that was being created. Being busy with creating some libraries (time and display) it took us some time to do this sort of thing (aka letting world know what was created), so here we go.
Ladies and Gentlemen, we are presenting N-Ka.
As you can see the device sports a TFT display with two buttons at the bottom (if they are not really visible).
The platform is completely open and the scheme will be published in weeks to come. The device includes two clocks, which can be used (you are not obliged to use them :)), but we’d like to use 32.768 kHz clock, to play with time.
Oh and under the display you get access to all the I/O pins, so you can connect the device with outside world and if you don’t need the display you can use some more pins (since few of them are used to communicate with the display).
I’m working with stm32f030xx microcontrollers and obviously needed to program it.
To avoid doing really low level dirty stuff I resorted to using HAL library and tried to do the known Hello world in microcontroller world (blinking LED).
The first thing was to create a library to use. Downloaded the needed files from ST web page. The funny thing is that I needed to hack it a bit since the compilation didn’t went through (got some errors), but at the end the library is created and you can just download it and use it. You need to uncompress the files to a directory next to one with source code (or change paths in Makefile).
After that you just use the regular combination of Makefile and source code file.
And the source code:
The LED should be connected to PA5, as you can see from the code (GPIOA and pin 5).
Via customer I got few JN5168-001-Myy modules. It’s a Zigbee module by NXP. Since I never really worked with Zigbee there were quite a lot of things to read and study.
Just to test things I decided to try with Jennic IP and according to Google it is a company (web page)… but, they were bought by NXP and the web page is now defunct so where to find tools?
Google didn’t help – all I could find was pointing me to Jennic’s web page. Contacted NXP and got no answer. I decided to contact our local NXP distributer to ask them if they know where I can find the tools and voila.
I guess I could find the link via search on NXP’s web page, but I just could not. Go figure.