cancel
Showing results for 
Search instead for 
Did you mean: 

ADC+keyboard+interrupt

sany_as
Associate II
Posted on October 03, 2006 at 04:28

ADC+keyboard+interrupt

16 REPLIES 16
sany_as
Associate II
Posted on September 27, 2006 at 08:16

I am using STDV710B and using the EmbestIDE for

developing my programms.The boot pin settings

are as follows:

JP4 JP5 JP6

1 0 0

i ANALYSED THE VALUE AT ADDRESS 0XA0000050 and

found it to be E2010000.

Please feel free to ask any other relted

question.I just want to come out of this

problem.Please do help.

regards and thanks in advance

Sany

hichem2
Associate II
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
Associate II
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
Associate II
Posted on September 28, 2006 at 10:12

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

regards

Sany

sany_as
Associate II
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 II
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
Associate II
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