Why are all registers 0xFFFFFFFF in LPIT0 module?

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

Why are all registers 0xFFFFFFFF in LPIT0 module?

1,259件の閲覧回数
Ashlie
Contributor III

Hello,

When I try to  use LPIT0 module as a periodic timer, it doesn't work at all. And then, I find that all the registers except VERID are 0xFFFFFFFF. Why?

943552732_0-1679970052539.png

943552732_1-1679970075735.png

I would really appreciate it if anyone could give me a answer.

Best regards,

Ashlie

 

 

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

1,247件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@943552732

so you're using S32K14x series MCU right?

you can take a look at the demo in S32 DS,the name is "lpit_periodic_interrupt_s32k142"

0 件の賞賛
返信

1,243件の閲覧回数
Ashlie
Contributor III

Sorry, I just find that it's the compiler display issue. The lpit0 configuration is ok. It never comes into the interrupt I want but runs into a defaultISR when I configure a interrupt enable in EBTresos as the picutre:

943552732_0-1679985876652.png

943552732_1-1679985897842.png

Maybe it's because I didn't add the interrupt handler into vector table.But what should I do for the next step?

 

タグ(2)
0 件の賞賛
返信

1,227件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@Ashlie

Sorry, I am not familiar with EB tools,you can create a new topic on this forum.

next time,please remember to fill in the complete part number and add some key words in your topic,such as MCAL,EB ,etc, so that your issues will be resloved much faster.

0 件の賞賛
返信