We made an update of the pin assignments for the board configuration described in the article “A new platform for FPGA seminars based on Gowin Tang Nano 9K: adding sound, graphics and microarchitecture labs”. Specifically, we swapped the locations of three user GPIO pins and I2S interface pins used for GY-PCM5102 DAC, a sound output peripheral device. We also stopped driving the SCK pin of PCM5102 from the FPGA output. Instead this pin should be connected to the ground (have 0 value) since PCM5102 can internally recover the value of SCK from the value of another pin, BCK.

The main reason for this update is to free an additional pin for extra sensors connected via GPIO pins in the user’s module. GPIO is an abbreviation for General Purpose Input/Output. A secondary reason for the update is to make the setup easier to assemble for the user. As a result:

  1. We can now connect all the core peripherals (TM1638, the microphone and the sound DAC) to ten continuous pins on the same side of the Tang Nano 9K board.
  2. We can now connect two extra peripherals, the rotary encoder and the ultrasonic distance sensor, to the board at the same time, on the side of the board that is opposite to the core peripherals.

This change makes express training and hackathon events more fun, since we are not limited by three pins for extra peripherals. Plus the whole setup is more straightforward and looks more logical.

 

UNFINISHED

 

Leave a Reply

Your email address will not be published. Required fields are marked *