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

nrf_drv_pwm_sequence_values_update question

when i use sdk14.2.0 pwm_driver , i use nrf_drv_pwm_sequence_values_update(&m_pwm0, 1, values) can work well , but use seq0 not work well. why

Parents
  • Hello strengthstrong.

    I will need to look further into this, but it seems like while the loop counter of the simple sequence is 1, it will not execute sequence 0. When the loop counter is larger that 1, it switches between executing sequence 0 and sequence 1. If you look within the simple sequence function it sets both sequences to the same values.

    Due to the Christmas Holidays I will not get a chance to look further into this until January.

Reply
  • Hello strengthstrong.

    I will need to look further into this, but it seems like while the loop counter of the simple sequence is 1, it will not execute sequence 0. When the loop counter is larger that 1, it switches between executing sequence 0 and sequence 1. If you look within the simple sequence function it sets both sequences to the same values.

    Due to the Christmas Holidays I will not get a chance to look further into this until January.

Children
No Data
Related