Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assistance with nRF52840 (Particle Boron) Support #158

Open
Sandman2001 opened this issue Oct 25, 2024 · 4 comments
Open

Assistance with nRF52840 (Particle Boron) Support #158

Sandman2001 opened this issue Oct 25, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@Sandman2001
Copy link

Sandman2001 commented Oct 25, 2024

Current Situation

Currently in preliminary research to add support for Nordic Semiconductor's nRF52 Family. #140 references some hardware requirements (such as the esp32's dual LX6 cores). For reference, here is the MC that I am hoping to integrate Nordic's Product specification. My two goals with this request is to verify feasibility of this application on the nRF52 family & port application to particle's SDK. The boron does not have a radio chip installed on the board, will create a breakout board to connect module, which chip (sx12xx, cc1101, etc.) is arbitrary for this application.

Proposed Change

Why particle & this specific board?

  • Boron's cellular support
  • support for over the air flashing of devices. boards are miles apart, would spend 1/2 day re-flashing devices individually
  • Particle's device health manager sends realtime updates for deployed devices
  • the Boron is the established hardware for other projects, would like to integrate this application into others
  • minimize addition of new hardware as change will have to be made for multiple systems
  • Have all code run on one SoC instead of multiple communicating with each other (cost & complexity reduction)

Additional Context

Currently a junior developer looking to get my hands dirty in some projects involving new hardware integration. Any assistance will be a push in the right direction for this project.

@Sandman2001 Sandman2001 added the enhancement New feature or request label Oct 25, 2024
@NorthernMan54
Copy link
Owner

For the rtl_433 portion of the code base, it should be straight forward, as it will run on almost any processor ( with enough ram to support it ). But the other half of the code base is was written to be run on top of the Arduino / ESP32 framework. So you should be able to replace the Arduino / ESP32 framework pieces with what ever framework the nRF52 ships with.

But that board doesn't appear to support wifi, so what would you do with the data ?

@NorthernMan54
Copy link
Owner

Also that board is pretty light on RAM, 1 MB flash and 256 kB RAM

I don't think it has enough guts to run this.

@Sandman2001
Copy link
Author

"But that board doesn't appear to support wifi, so what would you do with the data ?"

  • The board contains a cellular chip, current projects send data through a webhook using the "Particle.publish()" function, looking to move to tcp/ip or MQTT operations in future

"Also that board is pretty light on RAM, 1 MB flash and 256 kB RAM"

  • if need be, much of the devices, some demodulation modes, etc. can be removed to optimize memory usage.
  • if the ram is being consumed by signal processing, will run some testing to determining minimum sampling rate to obtain data from sensors

These are my initial thoughts. I would prefer to have this architecture due to implementation reasons. However, if you are confident that it will not work, it would be better to fail fast and move to a different approach rather than waste time trying to get this to implement.

@NorthernMan54
Copy link
Owner

Ram and flash are a concern, on the esp32 it was tight with 320k of ram, and the final builds in OMG were over 1mb of flash.

So it may work or may not…..no guaranteed due to resource constraints

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants