Why are all registers 0xFFFFFFFF in LPIT0 module?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Why are all registers 0xFFFFFFFF in LPIT0 module?

1,264 次查看
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,252 次查看
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,248 次查看
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,232 次查看
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 项奖励
回复