How to add nrf9160 to Espruino? #7544
Replies: 1 comment
-
Posted at 2021-10-22 by @fanoush the hardware is similar to nrf52 but the SDK is different The port is of course possible but it is not about adding support for this chip to existing nrf52 codebase, it is more like adding new architecture. Posted at 2021-10-22 by @allObjects ...and reading about the chip, it suggests to use an nrf52840 as application / board controller - like a cpu (of course w/ BLE comm support) - and use the nrf9160 as gps and 'cell phone communication' chip / device / function. nrf9160 has an AT-command set. How this command set goes beyond the usual control of a 'cell phone communication' to control the other features (GPS,...), I don't now. If may be up to the implementer to add the control w/ other SW components to the firmware w/ the AT-command set. To have gps and cell phone on the same chip makes sense, because it serves a faster and more precise and more available geolocation service. I'm expecting that the module will become available preloaded with some basic firmware with AT-Commands extended for / combined with control for GPS, etc. and can be used as just any other peripheral device from any Espruino board, like all the ESP8266EX based devices, of which the ESP-01 model was the first one and was featured with the advent of Espruino PICO, and later version with Espruino-Wifi with a better integration. Of course you can go the same route and port Espruino base firmware, extended with integration for and complemented with all the other, nrf9160 required libraries. Since the architecture is a bit different - ARM Cortex-M33 vs -M4, it will amount to 'some' work, as @fanoush points referencing the different SDK. Doing such a port and not having BLE seems to me not worth pursuing. Posted at 2021-10-22 by @fanoush
Well, there is application core inside https://infocenter.nordicsemi.com/topic/ps_nrf9160/chapters/cpu/doc/application_core.html?cp=2_0_0_3 ESP32 or 8266 can also be used for both - being just a network device or running the full application. true that e.g. the nrf5340 has two cores - application and network Posted at 2021-10-22 by @allObjects @fanoush, yep... posts were crossing each other. Would like also to mention that both devices share components, where on nrf9160 some of them are enhanced / next gen versions, in other words, the same and not the same, and that adds to the trickyness. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2021-10-22 by user135683
New chip from Nordic nrf9160, how to add this device support to Espruino?
Beta Was this translation helpful? Give feedback.
All reactions