This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Mesh 4.1.0 timings

Is there still no way on this build to setup zerocrossing detection?, I mean using interrupts I developed a zigbee dimmer that detects zero crossing and dims 3 separate channels, it works fine, but with mesh 4.0 it blinks because I think the softdevice or the ble irq priorities block the excecution of the zerocrossing detection, but I mean there must be a way to achieve this.

Anyone?

Parents
  • We don't have any HW peripherals dedicated for zero crossing detection. I am not sure exactly how zero crossing detection works, but if you experience issues with it being blocked by the softdevice, I suggest that you look into using PPI. Check out the PPI example in the SDK\examples\peripheral\ppi.

    The advantage of PPI is that you can automate simple tasks using timers and GPIOs (and other peripherals) to operate without having to wait for the CPU to handle the events.

    I also suspect that it is possible to use PWM instead of zero crossing detection, is that correct? If so, we have a peripheral for this, which requires less CPU activity to maintain.

    BR,

    Edvin

Reply
  • We don't have any HW peripherals dedicated for zero crossing detection. I am not sure exactly how zero crossing detection works, but if you experience issues with it being blocked by the softdevice, I suggest that you look into using PPI. Check out the PPI example in the SDK\examples\peripheral\ppi.

    The advantage of PPI is that you can automate simple tasks using timers and GPIOs (and other peripherals) to operate without having to wait for the CPU to handle the events.

    I also suspect that it is possible to use PWM instead of zero crossing detection, is that correct? If so, we have a peripheral for this, which requires less CPU activity to maintain.

    BR,

    Edvin

Children
No Data
Related