Hi
We have a freeRTOS project using nRF52840, I found that if I put SPI transfer API before running task is OK, but it has a problem if I put in the task,
Does anyone know how to use SPI(easyDMA) in freeRTOS?
thank you
Hi
We have a freeRTOS project using nRF52840, I found that if I put SPI transfer API before running task is OK, but it has a problem if I put in the task,
Does anyone know how to use SPI(easyDMA) in freeRTOS?
thank you
Hello,
I tried searching a bit and could find this thread that discuss possible issues in general:
nRF52840 - SPIM Blocking mode with SD and FreeRTOS
If you are starting a new project I recommend to check out the nRF Connect SDK instead (using the zephyr RTOS):
https://academy.nordicsemi.com/
If there is no luck I guess you need to provide a simplified project we can run on an nRF52840-DK, but make sure it compiles on a fresh installation of an nRF5 SDK before providing the project and where to unzip it in the latest nRF5 SDK.
Kenneth
Hi Kenneth
thank you, I think is our PCBA problem, it is workable on DK.
According to your second statement, can we use the pure NCS project and integrate the third party RF protocol which is develop by nRF 17.0.x sdk?
thank you
RHO said:thank you, I think is our PCBA problem, it is workable on DK.
Okey.
RHO said:According to your second statement, can we use the pure NCS project and integrate the third party RF protocol which is develop by nRF 17.0.x sdk?
If you don't need to use any other radio protocol concurrently then I expect you should be able to make this work:
https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/app_memory.html
https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/basic/minimal/README.html
Edit: The above links don't really answer your question, but show zephyr rtos can be used without any dependency of protocol.
Kenneth
Hi Kenneth
It looks possible coexist these two sdk, right?
BR
I am not able to give a good answer based on the limited information available here, if you have made a RF protocol in the nRF5 SDK, and now plan to switch to the nRF Connect SDK, then you (or whoevever made the RF protocol for you) must to an assesment/study of the resources used, and how they can be modified. For instance your RF protocol may be relying on application timers that was implemented in the nRF5 SDK that is different in the nRF Connect SDK.
Kenneth