Comment #2 on issue 136 by robhamerling: Alias SPI pin names in device files
http://code.google.com/p/jallib/issues/detail?id=136

After making the suggested changes in pinmap.py the new device files generally provide the requested alias definitions. But there is a problem with some PICs like 16[l]f1826/27. These have a configurable pin_SDO1 on RA6 or RB2, which results in pin aliases like:

 alias  pin_SDO1_RA6  is pin_A6
 alias  pin_SDO_RA6   is pin_A6
 alias  pin_SDO1_RB2  is pin_B2
 alias  pin_SDO_RB2   is pin_B2

And something similar for the _direction.
Also the SS1 pin can be on two different physical pins.
These names are not supported by the current libraries,

As far as I can see this is for now only a problem with the 16[l]f1826/27, but who knows if this is a trend for other new PICs?

RobH


--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to