AnsweredAssumed Answered

How can drivers and Framework middleware be used while programming in the same project to avoid hardware resource access conflicts?

Question asked by limin Jia on Jan 20, 2018
Latest reply on Feb 6, 2018 by Gerardo Rodríguez

Wireless UART(freeRTOS) is a BLE demo application in the SDK_2.2_FRDM-KW41Z, this demo use the FreeRTOS, Framework  middleware and BLE protocol components, these will use KW41Z of hardware resources, such as TPM timer, PIT timer, etc.I need to add the high speed ADC control during normal BLE and serial communication in this demo, and I need to directly operate the PIT and TPM timer in KW41Z through drivers (the timer in TimersManager is too slow).

My question is how do I avoid the PIT and TPM timers used in drivers that don't conflict with the middleware TimersManager and bluetooth protocol?Are there any middleware instructions?How can drivers and Framework middleware be used while programming in the same project to avoid hardware resource access conflicts?

Outcomes