Shop OBEX P1 Docs P2 Docs Learn Events
P123_A9 board test image — Parallax Forums

P123_A9 board test image

Hi All
Here's a test image for the P123_A9 FPGA board.
Its a modified P1V which exercises most of the IO on the board.
It has 5x 32 bit ports and implements a integrated spin code image.
Simply use PX.exe to load the .rbf file and away it goes.
Items tested are:
4 x Buttons which control the 4 x RGB Leds
Both 40 pin headers
All three EXP headers
All six channels of DAC (Audio signal duplicated on all)
Who will be first to identify the audio with a picture?


Comments

  • RaymanRayman Posts: 14,768
    I'll definitely try this out when I get home...

    I guess one 32-bit header is port A and the other is port B.

    How do you access the other ports and DAC?
  • evanhevanh Posts: 16,041
    Tested and working (buttons and LEDs) with me Lazarus built PX. :)
  • evanhevanh Posts: 16,041
    And a capture ...
    640 x 480 - 20K
  • evanhevanh Posts: 16,041
    Damn, can't add further pictures to the same comment. Here's another snap with offset set to 1.00 Volt ...
    640 x 480 - 23K
  • rjo__rjo__ Posts: 2,114
    edited 2015-12-07 21:58
    That's not fair... still waiting on my A9:)

  • RaymanRayman Posts: 14,768
    Working for me too. Didn't think buttons were controlling RGB LED, but I figured out you need to hold the buttons down for a long time to make color change...
  • RaymanRayman Posts: 14,768
    So, is the right 32-bit header Port A and the left one Port B?

    Port B doesn't seem to be working for me right away...
  • The image is a P1V image
    PortA is the LEDS and buttons
    PortB is the first 40 pin header
    PortC is the second 40 pin header (Output only)
    PortD is the EXP headers (Output only)
    PortE is the DAC's

    Here's the complete pin assignment list
            'PortA pin assignments
            LED00           = 0     'PIN_H13
            LED01           = 1     'PIN_G13
            LED02           = 2     'PIN_G11
            LED03           = 3     'PIN_F12
            LED04           = 4     'PIN_D13
            LED05           = 5     'PIN_C13
            LED06           = 6     'PIN_B12
            LED07           = 7     'PIN_A12
            LED08           = 8     'PIN_H11
            LED09           = 9     'PIN_G12
            LED10           = 10    'PIN_L8
            LED11           = 11    'PIN_K9
            LED12           = 12    'PIN_D12
            LED13           = 13    'PIN_E12
            LED14           = 14    'PIN_C11
            LED15           = 15    'PIN_B11
            RGB_LEDS        = 16    'PIN_G6
            KEY0            = 17    'PIN_M7
            KEY1            = 18    'PIN_M6
            KEY2            = 19    'PIN_P7
            KEY3            = 20    'PIN_R7
    
            'PortB pin assignments
            P00             = 0     'PIN_T19
            P01             = 1     'PIN_T20
            P02             = 2     'PIN_T18
            P03             = 3     'PIN_T17
            P04             = 4     'PIN_T22
            P05             = 5     'PIN_R22
            P06             = 6     'PIN_T15
            P07             = 7     'PIN_R15
            P08             = 8     'PIN_R21
            P09             = 9     'PIN_T8
            P10             = 10    'PIN_R16
            P11             = 11    'PIN_R17
            P12             = 12    'PIN_P19
            P13             = 13    'PIN_P18
            P14             = 14    'PIN_P16
            P15             = 15    'PIN_P17
            P16             = 16    'PIN_N16
            P17             = 17    'PIN_M16
            P18             = 18    'PIN_N20
            P19             = 19    'PIN_N21
            P20             = 20    'PIN_N19
            P21             = 21    'PIN_M18
            P22             = 22    'PIN_M22
            P23             = 23    'PIN_L22
            P24             = 24    'PIN_K17
            P25             = 25    'PIN_L17
            P26             = 26    'PIN_M20
            P27             = 27    'PIN_M21
            P28             = 28    'PIN_L19
            P29             = 29    'PIN_L18
            P30             = 30    'PIN_K21
            P31             = 31    'PIN_K22
    
            'PortC pin assignments
            P32             = 0     'PIN_AB5
            P33             = 1     'PIN_AB6
            P34             = 2     'PIN_V10
            P35             = 3     'PIN_V9
            P36             = 4     'PIN_N8
            P37             = 5     'PIN_P8
            P38             = 6     'PIN_AB7
            P39             = 7     'PIN_AA7
            P40             = 8     'PIN_AB8
            P41             = 9     'PIN_AA8
            P42             = 10    'PIN_U10
            P43             = 11    'PIN_T9
            P44             = 12    'PIN_M9
            P45             = 13    'PIN_M8
            P46             = 14    'PIN_AA9
            P47             = 15    'PIN_AA10
            P48             = 16    'PIN_Y9
            P49             = 17    'PIN_Y10
            P50             = 18    'PIN_R9
            P51             = 19    'PIN_T10
            P52             = 20    'PIN_U12
            P53             = 21    'PIN_U11
            P54             = 22    'PIN_P12
            P55             = 23    'PIN_R12
            P56             = 24    'PIN_AB11
            P57             = 25    'PIN_AB10
            P58             = 26    'PIN_R11
            P59             = 27    'PIN_R10
            P60             = 28    'PIN_N9
            P61             = 29    'PIN_P9
            P62             = 30    'PIN_AA12
            P63             = 31    'PIN_Y11
    
            'PortD pin assignments
            EXP_A0          = 0     'PIN_L7
            EXP_A1          = 1     'PIN_K7
            EXP_A2          = 2     'PIN_J7
            EXP_A3          = 3     'PIN_J8
            EXP_A4          = 4     'PIN_H8
            EXP_A5          = 5     'PIN_G8
            EXP_A6          = 6     'PIN_J9
            EXP_A7          = 7     'PIN_H9
            EXP_B0          = 8     'PIN_A10
            EXP_B1          = 9     'PIN_A9
            EXP_B2          = 10    'PIN_B10
            EXP_B3          = 11    'PIN_C9
            EXP_B4          = 12    'PIN_A5
            EXP_B5          = 13    'PIN_B5
            EXP_B6          = 14    'PIN_B6
            EXP_B7          = 15    'PIN_B7
            EXP_C0          = 16    'PIN_A8
            EXP_C1          = 17    'PIN_A7
            EXP_C2          = 18    'PIN_C6
            EXP_C3          = 19    'PIN_D6
            EXP_C4          = 20    'PIN_E9
            EXP_C5          = 21    'PIN_D9
            EXP_C6          = 22    'PIN_D7
            EXP_C7          = 23    'PIN_C8
    
            'PortE pin assignments
            DAC_R0          = 0     'PIN_F22
            DAC_R1          = 1     'PIN_K20
            DAC_R2          = 2     'PIN_K19
            DAC_R3          = 3     'PIN_B16
            DAC_R4          = 4     'PIN_C16
            DAC_R5          = 5     'PIN_D17
            DAC_R6          = 6     'PIN_E16
            DAC_R7          = 7     'PIN_G17
            DAC_R8          = 8     'PIN_G16
            DAC_R9          = 9     'PIN_G18
            DAC_G0          = 10    'PIN_H18
            DAC_G1          = 11    'PIN_J19
            DAC_G2          = 12    'PIN_J18
            DAC_G3          = 13    'PIN_E15
            DAC_G4          = 14    'PIN_F15
            DAC_G5          = 15    'PIN_A15
            DAC_G6          = 16    'PIN_A14
            DAC_G7          = 17    'PIN_J17
            DAC_G8          = 18    'PIN_K16
            DAC_G9          = 19    'PIN_C15
            DAC_B0          = 20    'PIN_B15
            DAC_B1          = 21    'PIN_G15
            DAC_B2          = 22    'PIN_F14
            DAC_B3          = 23    'PIN_H14
            DAC_B4          = 24    'PIN_J13
            DAC_B5          = 25    'PIN_B13
            DAC_B6          = 26    'PIN_A13
            DAC_B7          = 27    'PIN_E14
            DAC_B8          = 28    'PIN_F13
            DAC_B9          = 29    'PIN_J11
            DAC0_CLK        = 30    'PIN_H10
            DAC1_CLK        = 31    'PIN_G22
    

    Can anyone identify the audio yet?


  • I think it'd sound pretty good through a valve amp
  • RaymanRayman Posts: 14,768
    Thanks! PortB is working for me with Prop Tool.

    Don't hear any audio, but maybe I'm not doing it right...
  • FYI here's how to access the extra ports in P1
            PORTC = $1FE  'VCFG or SPR[14]
            PORTD = $1FF  'VSCL or SPR[15]
            PORTE = $1FB  'FRQB or SPR[11]
    
    These are all output only.

  • evanhevanh Posts: 16,041
    ozpropdev wrote: »
    Can anyone identify the audio yet?

    Bah! Lost In Space was Smile.
  • @evanh
    Correct x2 :)
    430 x 540 - 43K
Sign In or Register to comment.