DAC output/ Pin number selection? (Propeller)
Patrice
Posts: 5
Hi everyone,
·
- Using (well trying to use), cog counters to get analogue outputs, I cannot find·how to drive the APIN signal to any other pin than P0; lets say to P5 instead of P0.
For instance, in operation mode %00110 DUTY single ended ·(Code like the one in Parallax Application Note AN001/Propeller counters – Duty Cycle modes of operation p11-13)
·
Please, does anyone know how to do that, and even if it is possible?
- In fact six bits APIN and BPIN of CTRx register fields are quite·a mystery to me.
What difference between affecting APIN reg. = %X10000 or %X00001?
I first though it could mean Pin16 or Pin1, but it does not seem so.
Maybe I missed something in the manual or did not the right thing with DIRA.
·
Thank you for helping.
·
- Using (well trying to use), cog counters to get analogue outputs, I cannot find·how to drive the APIN signal to any other pin than P0; lets say to P5 instead of P0.
For instance, in operation mode %00110 DUTY single ended ·(Code like the one in Parallax Application Note AN001/Propeller counters – Duty Cycle modes of operation p11-13)
·
Please, does anyone know how to do that, and even if it is possible?
- In fact six bits APIN and BPIN of CTRx register fields are quite·a mystery to me.
What difference between affecting APIN reg. = %X10000 or %X00001?
I first though it could mean Pin16 or Pin1, but it does not seem so.
Maybe I missed something in the manual or did not the right thing with DIRA.
·
Thank you for helping.
Comments
The reason there are 6 bits is that there are plans for 64 I/O devices, so that 6th bit is <reserved>. AN001 makes a brief mention about this on page 2.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
I could not make another try again before this morning,·now I think I should apologize for disturbing because it is Ok.
Cumulated mistakes and number of "0" that was probably wrong in fact...
Thank you very much
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.