Skip to main content
sany_as
Associate II
October 3, 2006
Question

ADC+keyboard+interrupt

  • October 3, 2006
  • 16 replies
  • 2659 views
Posted on October 03, 2006 at 04:28

ADC+keyboard+interrupt

This topic has been closed for replies.

16 replies

hichem2
Associate
September 27, 2006
Posted on September 27, 2006 at 11:07

Hi Sany,

could you send me your board schematic in order to check the boot pins position.

Regards,

hich

sany_as
sany_asAuthor
Associate II
September 27, 2006
Posted on September 28, 2006 at 01:23

Hello Sir,

I am attching a copy of the pdf file giving details of our dev. board's schematic.

Regards

Sany

________________

Attachments :

DV710B_20050720.pdf : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtAq&d=%2Fa%2F0X0000000aJv%2FC4yv02K6Msqj3EeiHqFQ4RgHx1PiPPQaQ9j_XIFO9ak&asPdf=false
sany_as
sany_asAuthor
Associate II
September 28, 2006
Posted on September 28, 2006 at 10:12

I am eagerly waiting for a reply in deep anticipation....

regards

Sany

sany_as
sany_asAuthor
Associate II
September 29, 2006
Posted on September 29, 2006 at 09:25

BINGO!!!

I made the programme enter the ISR but the values obtained even after using interrupt are varying a lot.

Is it inefficient to write the complete code to compare the key press in the ISR.

Can somebody suggest me a good reason please...

Regards

Thanks

Sany

hichem2
Associate
September 29, 2006
Posted on September 29, 2006 at 09:29

Hi Sany,

Please find attached the STR71x ADC12 interrupt example ported to Embest IDE toolset and it work fine on my board.

Could you please try it on your desk and tell me khnow if you have any problem.

with regards,

Hich :o

________________

Attachments :

STR71x_ADC_int.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtAv&d=%2Fa%2F0X0000000aJx%2FQ2UpPP7i3xQJ0tR.mzUT5uAmmhh9_DrhPMFWR1Pi9Ns&asPdf=false
sany_as
sany_asAuthor
Associate II
October 3, 2006
Posted on October 03, 2006 at 04:28

Thank you very much for your support.

I have already solved my problem(as i mentioned in my previous mail) about the programme not entering the ISR.

The control is noe entering the ISR and geting the conversion value but unfortunately My results are varying a little bit. I am using keyboard with A pull up resistor of 1.2K. and then a series of 10 OHM resistors to drop the voltage of 2.5V across each key.

but i believe the interrupts are serviced at Microsecond speed so the results must be fixed??!! isn't it.?? but its not.

can you help me out??

Regards And thanks Sany