FlexCAN FreeRTOS Driver

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FlexCAN FreeRTOS Driver

ソリューションへジャンプ
2,210件の閲覧回数
buettgenbach
Contributor I

Hi,

is there any FreeRTOS driver available for FlexCAN? The SDK currently includes FreeRTOS drivers for SPI, I2C and UART. Any reason there is none available for FlexCAN?

Regards

Markus

0 件の賞賛
返信
1 解決策
1,948件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Markus:

There is no special reason for no flexCAN freeRTOS driver.  I will issue a new feature request to the develop team.

The FreeRTOS driver is a wrapper built on top of standard SDK peripheral drivers.

The wrappers provide an API which blocks the calling task until the I/O operation completes and allows other tasks to run. This is achieved by using the asynchronous API of the underlying driver along with RTOS task synchronization object.

 

You can refer to the FreeRTOS usart driver in SDK installation folder. I am assuming you are using K64.

SDK_2.5.0_TWR-K64F120M\devices\MK64F12\drivers\fsk_uart_freertos.c

SDK_2.5.0_TWR-K64F120M\devices\MK64F12\drivers\fsk_uart_freertos.h

Regards

Daniel

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,949件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Markus:

There is no special reason for no flexCAN freeRTOS driver.  I will issue a new feature request to the develop team.

The FreeRTOS driver is a wrapper built on top of standard SDK peripheral drivers.

The wrappers provide an API which blocks the calling task until the I/O operation completes and allows other tasks to run. This is achieved by using the asynchronous API of the underlying driver along with RTOS task synchronization object.

 

You can refer to the FreeRTOS usart driver in SDK installation folder. I am assuming you are using K64.

SDK_2.5.0_TWR-K64F120M\devices\MK64F12\drivers\fsk_uart_freertos.c

SDK_2.5.0_TWR-K64F120M\devices\MK64F12\drivers\fsk_uart_freertos.h

Regards

Daniel

0 件の賞賛
返信
1,305件の閲覧回数
daharingwitekio
Contributor III

4 years later, has this gotten implemented? I don't see it available in MCUXpresso SDK 2.13.0

0 件の賞賛
返信
1,948件の閲覧回数
buettgenbach
Contributor I

Hi Daniel,

thanks four your answer. The UART FreeRTOS drivers helped me a lot to develop my own FlexCAN FreeRTOS driver.

0 件の賞賛
返信
1,178件の閲覧回数
daharingwitekio
Contributor III

Hi @buettgenbach, I also need to write a FlexCAN FreeRTOS driver and was hoping you would be able to share/post the one you created?

0 件の賞賛
返信