150 likes | 294 Views
Instrument Interface FPGA . Nicholas Yeung Yongmyung Seo. TRIO-CINEMA 1 KHU, 08/03/2011. Agenda. I2C LVPS SPI Telemetry Current work status & Future plan. TRIO-CINEMA 2 KHU, 08/03/2011. I2C. FSW sends command as data format of various byte sizes
E N D
Instrument Interface FPGA Nicholas Yeung YongmyungSeo TRIO-CINEMA 1 KHU, 08/03/2011
Agenda • I2C • LVPS • SPI • Telemetry • Current work status & Future plan TRIO-CINEMA 2 KHU, 08/03/2011
I2C • FSW sends command as data format of various byte sizes • LVPS, MAG, STEIN, Telemetry and SPI can be turned on and turned off through I2C module • Status : available • CPD is on knowledge tree written by David Clarino TRIO-CINEMA 3 KHU, 08/03/2011
LVPS • Function: • Commanded by CPU through I2C • Turns on STEIN and Attenuator_In/Out • Deploys boom and antenna • Turns on Emhiser • Current Status : • Deployables (boom, antenna), Emhiser, STEIN, and attenuator control signals working in hardware • Various signals (HV_fault, Spare_3.3V, etc.) not yet implemented • Documentation: • CPD is on knowledge tree, but needs to be updated • Description of signals and registers in IIF spec TRIO-CINEMA 4 KHU, 08/03/2011
SPI • PIC 33 acts as a master, FPGA acts as a slave • SPI_SCK : DS PIC 33 initiates clock signal for transmission • SPI_SDO : DS PIC 33 outputs data to FPGA • SPI_SDI : DS PIC 33 takes input data from FPGA • Half of SPI is done(downlink bound), and the rest of half will come after test telemetry module(OBC bound) • Will do documentation once the rest of SPI is done SPI_SCK SPI_SDI SPI_SDO TRIO-CINEMA 5 KHU, 08/03/2011
SPI • When TX is turned on, FPGA gets data for down link from DS PIC 33 • When STE is turned on, FPGA sends STEIN data to DS PIC 33 TRIO-CINEMA 6 KHU, 08/03/2011
SPI test • SPI module was tested through FSW test code, and DS PIC 33 is able to read and write data through SPI protocol • SPI module gets data and sends it to telemetry module, and checked up with logic analyzer TRIO-CINEMA 7 KHU, 08/03/2011
Telemetry – Overview Telemetry Module 8 SPI_Data TELDAT To Antenna To SPI-CPU Module SPI_Valid TELCLKOUT 32 I2CData I2C_Valid 7 To I2C-CPU Module RegAdd 32 Reg_Data Reg_Valid Reg_Ready CLK Reset TRIO-CINEMA 8 KHU, 08/03/2011
Telemetry – Design CCSDSFramer R-S Enc ASM Header To Antenna 0 R-S Enc 1 Output Buffer (1280x8 FIFO) Input Buffer (16x8 FIFO) SPI Data 00 R-S Enc 01 10 R-S Enc CLCW (Footer) R-S Enc TRIO-CINEMA 9KHU, 08/03/2011
Telemetry – Current State • Complete: • Reed-Solomon encoder simulated and verified with Yong-Ho’s decoder • Output Buffer passes synthesis and place&route • Incomplete: • Input Buffer – fixing bugs in simulation TRIO-CINEMA 10KHU, 08/03/2011
Telemetry – Schedule • Today • Simulate • This week • Program onto FPGA and integrate with SPI • Test module by module, using logic analyzer to check control signals • Near future • Connect to Emhiser and transmit to GSE • Revise CPD TRIO-CINEMA 10KHU, 08/03/2011
Current issues & Future plan • Current work status - I2C, LVPS, SPI is working, will do more test - SPI sending data to OBC is not done yet • Future plan - Telemetry module test - module integration & integrated test (I2C, LVPS, SPI and Telemetry module) - test document TRIO-CINEMA 12 KHU, 08/03/2011
Thank you TRIO-CINEMA 13 KHU, 08/03/2011