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

softwareserial on nrf52

We create library for work with software serial, we use two modules gpiote, timer. We have done software serial one instance but we need four (actually just for rx). We don't understand how to solve the problem with bit banging more than just one softwareserial instance. We have some conflicts in timer handlers for different channel but use one timer per one softserial instance is too expensive. Could freertos helps us with that issues?

Parents
  • The problem is we can not manage handler from different instances of one timer simultaneously. We can work only with one softserial uart at a time. When the packets coincide our library is fail. So we wonder could freertos solve this problem. We gonna use hardware uart too of course. We tend to use additional chip stm32f205ret6 it has 6 uart modules 51 GPIO and a lot of other peripherals, on the board we gonna connect it by spi with our main chip nrf52832.

Reply
  • The problem is we can not manage handler from different instances of one timer simultaneously. We can work only with one softserial uart at a time. When the packets coincide our library is fail. So we wonder could freertos solve this problem. We gonna use hardware uart too of course. We tend to use additional chip stm32f205ret6 it has 6 uart modules 51 GPIO and a lot of other peripherals, on the board we gonna connect it by spi with our main chip nrf52832.

Children
No Data
Related