Hello,
Some of the GPIO pins that are brought out to the DIO1 header are
multipurpose pins, they can be configured as GPIO pins or as DMA lines.
In order to achieve a faster boot time the TS-7300's bootrom is using
DMA. As a result some of the GPIO lines on the DIO1 header were
configured for DMA, this is why the keypad example program was not
working. I've modified the source to disable the DMA on GPIO feature in
the init routine of the keypad sample code. You can download the updated
code from our website in the example code section.
http://www.embeddedarm.com/downloads/samplecode/keypad.c
Let me know if you have any problems...
//Eddie
> I have the exact same problem, still did not find a solution. If you
> did please post it, I will also post whatever I find.
>
>
> --- In "Rafael_Sotomayor"
> <> wrote:
>>
>> I have tested again, and I discovered that works only when I press the
>> third row, I mean (7,8,9,2nd)
>>
>> Thanks.
>> Rafael Sotomayor
>>
>> --- In "Rafael_Sotomayor"
>> <rafael_sotomayor@> wrote:
>>>
>>> Hello,
>>>
>>> I connected to the DIO-1 the OP-KPAD that comes as an extra for
>>> TS-7300. Then I run the keypad ( compiled from keypad.c ).
>>>
>>> So, It did not work. What I'm doing badly ?
>>>
>>> Am I correct when I connect the OP-KPAD to the DIO-1 ?
>>> Has anyone other program to test ?
>>>
>>> Thanks
>>> Rafael Sotomayor
>>>
>>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|