Hi, How do i enable GPIO on Tiny6410 to read input data, i ahve heart beat sensor which gives pulse value out and i need to interface that device to Tiny6410, is there a way to connect any external device to GPIO pins. Also i wanted to know how to use the CON1,2,3,4 (TTL) connectors. is ti possible to use them and as well do we have example program to on their usage. Regards
Need to connect my heart beat sensor to GPIO pins
GPIO only for looking at signals that go high or low (ie 3V3 or 0V)OR to produce a signal that is high or low ADC will convert a DC voltage, in the range of 0V to 3V3 to a 10 bit digital representation. CON1,2,3,4 are for serial communication with external devices. So, what is the data output of the heart rate monitor?
Hi davef, Thanks for replying, Yes, the Hear beat sensor is giving a digital output in range of 0-5V, with variable resistor pod,so I can manage to keep the voltage within the 3v3 range. But my problem is, how to identify the spare GPIO pin on the board, it looks like most of it is used for some or the other functionality. As well,it will be great help if you could help me on usage of one GPIO for reading the pulse input for the sensor.I have tried enabling the GPIO from the kernel config and still figuring out on how to connect the sensor. Waiting for your reply, cheers BSS
If a pin of the S3C6410 processor is not used for its native function, it can act as a GPIO instead. So, you can use any not used GPIO for your application. But in your case I would use an interrupt instead (to avoid polling). The goog news is, all GPIO can act as interrupt inputs. Your application is trivial from the hardware point of view. From the software side you need a kernel driver to make use of the interrupt feature.
Hi Beisert, Thanks a lot for your inputs,few doubts on your suggestion. How to determine that the pin on S3c6410 is not used for native function?Is there any write-up on this? Also, I referred hardware manual,which gives the pin layout for Con1, but the Pin names were bit difficult to understand,is there any help on what these Pin names stand for, do they mean anything or just some convention followed. 3 GPE1 4 GPE2 5 GPE3 6 GPE4 7 GPM0 8 GPM1 9 GPM2 10 GPM3 11 GPM4 12 GPM5 13 GPQ1 14 GPQ2 15 GPQ3 16 GPQ4 17 GPQ5 18 GPQ6
> How to determine that the pin on S3c6410 is not used for native > function? Read the schematic. > [...] is there any help on what these Pin names stand for Read the processor's manual and compare the connections with the schematics.