[Arm-netbook] a10 cpu has SPDIF

Henrik Nordström henrik at henriknordstrom.net
Sun Jan 29 00:23:20 GMT 2012


lör 2012-01-28 klockan 17:45 +0000 skrev lkcl luke:
> hmmm...  still haven't picked which of the 16 GPIOs should go out on
> the EOMA68 connector.  i'm inclined to put 12 of them to be group G -
> PG0 to PG11.
> 
> for non-EOMA-compliant situations, that would give access to either
> camera-in (CSI), one of the TS groups, SDC1 and two UARTs (3 and 4).
> 
> that would leave 4 pins... i'm inclined towards one of the PWMs and
> the 3 GPS pins.

3 GPS pins? I have 9 from the EVB manual.. but very little info on how
these should be programmed..

The EVB board signals for GPS is from what I can tell:

PI0  GPS-CLK    (GPS clock signal)       
PI1  GPS-SIGN   (GPS data0) 
PI14 GPS-OSC-EN (GPS clock control) 
PI2  GPS-MAG    (GPS data1) 
PC22 GPS-VCC-EN (GPS power control)
PC19 GPS-SCS    (GPS SPI chip select)
PI15 GPS-RX-EN  (GPS RX enable)         
PC20 GPS-SCLK   (GPS SPI serial clock)
PC21 GPS-MOSI   (GPS SPI data output)
     LRADC1

but it's confusing.. MOSI? Would think one mostly needs to read from the
GPS so I would think one rather needs MISO?

The corresponding samel configuration parameters in sys_config1.fex:

;--------------------------------------------------------------------------------
; gps gpio configuration
; gps_spi_id       --- the index of SPI controller. 0: SPI0, 1: SPI1, 2: SPI2, 15: no SPI used
; gps_spi_cs_num   --- the chip select number of SPI controller. 0: SPI CS0, 1: SPI CS1
; gps_lradc        --- the lradc number for GPS used. 0 and 1 is valid, set 2 if not use lradc
;--------------------------------------------------------------------------------
[gps_para]
gps_used           = 0
gps_spi_id         = 2
gps_spi_cs_num     = 0
gps_lradc          = 1
gps_clk            = port:PI00<2><default><default><default>
gps_sign           = port:PI01<2><default><default><default>
gps_mag            = port:PI02<2><default><default><default>
gps_vcc_en         = port:PC22<1><default><default><0>
gps_osc_en         = port:PI14<1><default><default><0>
gps_rx_en          = port:PI15<1><default><default><0>


Based on the pin descriptions that seems to be GPIO + SPI + LRADC? But
the <2> above for PI00,PI01,PI02 is confusing.. 2 is reserved on these
pins in the PIO manual? But on the other hand none of the sys_config I
have have gps enabled or any info on which GPS chip it's intended to
connect to.


PI0 GPIO?
000: Input	010: Reserved	100: Reserved	110: Reserved
001: Output	011: Reserved	101: Reserved	111: Reserved

PI1 GPIO?
000: Input	010: Reserved	100: Reserved	110: Reserved
001: Output	011: Reserved	101: Reserved	111: Reserved

PI14 GPIO?
000: Input	010: SPI0_CS1	100: TCLKIN0	110: EINT26
001: Output	011: PS2_SCK1	101: Reserved	111: Reserved

PI2 GPIO?
000: Input	010: Reserved	100: Reserved	110: Reserved
001: Output	011: Reserved	101: Reserved	111: Reserved

PC22 GPIO? Can't fit GPS VCC power control as SPI...
000: Input	010: NCE7	100: Reserved	110: Reserved
001: Output	011: SPI2_MISO	101: Reserved	111: Reserved

PI19 SPI2
000: Input	010: NCE4	100: Reserved	110: Reserved
001: Output	011: SPI2_CS0	101: Reserved	111: Reserved

PI15 GPIO?
000: Input	010: SPI1_CS1	100: TCLKIN1	110: EINT27
001: Output	011: PS2_SDA1	101: Reserved	111: Reserved

PC20 SPI2
000: Input	010: NCE5	100: Reserved	110: Reserved
001: Output	011: SPI2_CLK	101: Reserved	111: Reserved

PC21 SPI2
000: Input	010: NCE6	100: Reserved	110: Reserved
001: Output	011: SPI2_MOSI	101: Reserved	111: Reserved


Regards
Henrik




More information about the arm-netbook mailing list