Miro, not sure if this is the right place to put this or should I create a new ticket. It would be valuable to have a way to program a QTimeEvt to also post time events without delivery guarantee (QACTIVE_POST_X). It is common to have timers created for pooling peripherals and devices (when those are not able to generate IRQs when data is available - example SEGGER RTT data available buffers). I usually create a QTimeEvt to pool/read data. Queue overflow problems starts to arise when this timer is...
Hi Miro. Great point. The way Nordic decided to implement the SoftDevice just make it harder and more complex to use a QP/C application with their stack. You will have to manually manage all these IRQ contexts. I still prefer to use Silicon Labs stacks because of this. Thank you Miro for all support.
Any ideas about the second problem (not able to use the Framework on the kernel-unaware IRQs)?
Calling QF_Init before SoftDevice initialization seems to fix the problem. But I still have concerns about how the SoftDevice initialization is setting up the IRQ priorities. Leaving QF_BASEPRI = 0x3F (1) means that on critical sections all exceptions equal or greater than 1 will be disabled, but this includes the SoftDevice memory protection IRC (level 1) which might not be a good idea to block. Wouldn't be safer to change QF_BASEPRI to 0x40 (priority = 2) which will not block exception 1 from the...
Hi MMS. I'm trying to use the QP/C framework in a Nordic nRF52840 with SoftDevice S140. This particular subject was already discussed sometimes on the QP forums and other sources but so far I was unable to create a working port of both softwares working at the same time. The problem I believe I'm having is about the way the SD handle interrupts. The SoftDevice IRQ policy requires that some IRQ priorities are not available to the user application, and instead are used exclusively by the stack to signal...
Hi MMS. I'm trying to use the QP/C framework in a Nordic nRF52840 with SoftDevice S140. This particular subject was already discussed sometimes on the QP forums and other sources but so far I was unable to create a working port of both softwares working at the same time. The problem I believe I'm having is about the way the SD handle interrupts. The SoftDevice IRQ policy requires that some IRQ priorities are not available to the user application, and instead are used exclusively by the stack to signal...
Hi Can someone provide some help/guidance on how use a simple HSM with multiple instances...