Adding new 16bit pwm block not able to generate the ISR in firmware

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
prbh_3338016
Level 4
Level 4
10 likes given 5 likes given First like received

This is weird problem faced by me. I stucked from days. I have given a task to add some features like pwm to the firmware. I am using 29666 psoc1 chip 32kb . Almost 95% chip is used. however there is some place for pwm16 module to be added.

My problem is I successfully added the pwm 16 module and updated the boot.tpl for appropriate isr on correct block interrupt but still my code under ISR routine doesnt get executed as i am not getting the interrupt call within the firmware.

Is it that if chip is almost full with firmware starts giving error.

0 Likes
1 Solution
SaKu_291986
Level 4
Level 4
10 replies posted 10 questions asked 5 solutions authored

Kindly refer to the following resources: 

PSoC1 Interrupts

Does ISR for 16-bit PSoC 1 Timer have to be written in assembler?

Timer ISR

Timer16 problems - resetting??

Kindly check if the ISR has been declared with

#pragma interrupt_handler Timer16Interrupt

Do kindly please attach your project, so that we may examine it closely.

Best regards,

Sampath Selvaraj

View solution in original post

2 Replies
SaKu_291986
Level 4
Level 4
10 replies posted 10 questions asked 5 solutions authored

Kindly refer to the following resources: 

PSoC1 Interrupts

Does ISR for 16-bit PSoC 1 Timer have to be written in assembler?

Timer ISR

Timer16 problems - resetting??

Kindly check if the ISR has been declared with

#pragma interrupt_handler Timer16Interrupt

Do kindly please attach your project, so that we may examine it closely.

Best regards,

Sampath Selvaraj

SaKu_291986 wrote:

Kindly refer to the following resources: 

PSoC1 Interrupts

Does ISR for 16-bit PSoC 1 Timer have to be written in assembler?

Timer ISR

Timer16 problems - resetting??

Kindly check if the ISR has been declared with

#pragma interrupt_handler Timer16Interrupt

Do kindly please attach your project, so that we may examine it closely.

Best regards,

Sampath Selvaraj

i have correctly done all the settings. I found that running on 24 mhz internal clock i am facing issue. I have four psoc1 29666 ucontrollers

but the isr works on some controller  24 mhz and in others it wont .

Now,

I have kept the controller core speed to 12mhz . But i am facing new issue as can i call other function in ISR .?

0 Likes