adding ADC_pal to freertos - mpc5748g.

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

adding ADC_pal to freertos - mpc5748g.

1,132件の閲覧回数
Krishnaja
Contributor II

Hi,

I added hardware trigger part of adc_pal_mpc5748g example to as a freeRTOS project as an rtos task.

Krishnaja_0-1621850235572.png

It is stuck in this loop. I face this issue only when created as a rtos task??

Please tell me how to resolve it.

 

Regards

Krishnaja.

0 件の賞賛
返信
5 返答(返信)

1,116件の閲覧回数
Krishnaja
Contributor II

Any updates over the query??

0 件の賞賛
返信

1,041件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

you got this DevAssert because PIT ch3 is selected for both FreeRTOS tick and ADC HW trigger, and this channel is already started by FreeRTOS. Once started next time by you this devAssert appears. Try to use e.g different PIT channel for FreeRTOS.

BR, Petr

0 件の賞賛
返信

1,106件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Could you describe which NXP examples is the attached code based on? Thanks

0 件の賞賛
返信

1,064件の閲覧回数
Krishnaja
Contributor II

Any updates?

0 件の賞賛
返信

1,098件の閲覧回数
Krishnaja
Contributor II

Hi,

To a "freertos_mpc5748g" example, I have added adc component and added hardware trigger part from "adc_pal_mpc5748g" example.

I had created adc task and its task handler in the previously attached project.

PFA

Thanks,

Krishnaja.

0 件の賞賛
返信