Hi Group, currently working on nRF52840 chipset based EVK and able to flash program. But I need to port the chipset driver and required files from nRF5_SDK_15.2.0 SDK to my current linux kernel build which are having all the other device driver integrated. Please let me know which are all files I need to port for basic communication from external CPU to nRF52480 chipset .
Thanks in advance.
ratnakar1978 said:basic communication from external CPU to nRF52480 chipset
The most basic communication would be a UART link - you wouldn't need any special kernel drivers for that.
Have you looked at Serialisation (also mentioned in the above link) ?
There's also the ble-driver-pc
Try a forum search; eg,
Hi Awneil, Thanks for prompt response.
For USB interface also do I need to refer the above links ?
Can I use and port all nRF52480 chipset driver files from "nRF5_SDK_15.2.0_9412b96/modules/nrfx/drivers/src/" to my linux enviornment and use basic test application ?
ratnakar1978 said:For USB interface also do I need to refer the above links ?
AFAIK, the USB is just a standard CDC/ACM class - and Linux supports that.
ratnakar1978 said:Can I use and port all nRF52480 chipset driver files from "nRF5_SDK_15.2.0_9412b96/modules/nrfx/drivers/src/" to my linux enviornment and use basic test application ?
No - they are for running on the SoC's embedded Cortex-M4 CPU.
Hi Awneil, Thanks for response.
Can you please elaborate which SOC Embedded Cortex M4 CPU. As per my understanding nRF52480 contains ARM CORTEX-M4F CPU . So "nRF5_SDK_15.2.0_9412b96/modules/nrfx/drivers/src/" should support to nRF52480 based ARM M4 core CPU? Please confirm.
The nRF52480 is a "SoC" - a "System-on-Chip" - it embeds a Cortex-M4 microcontroller and radio on a single chip.
I am talking about the Cortex-M4 within the nRF52840 chip.
Those files in the SDK are for running on the Cortex-M4 within the nRF52840 chip - they won't be of any use to run on an external Linux system.
Or are you not talking about running on the Linux system? - see below