queens-satellite-team / pcbs

PCBs for satellite
1 stars 1 forks source link

ADCS-CTL: Hardware Revisions #56

Open SeanTedesco opened 1 year ago

SeanTedesco commented 1 year ago

Overview

The team has received the ADCS-CTL (the flight controller board for the Selfie-Sat) and we are required to test it. This ticket is used to track the validation and improvements to the design of the ADCS-CTL. Comments to this ticket are given as the board undergoes its test and improvements are identified.

IMG_2470

Supporting Document

SeanTedesco commented 1 year ago

Issue 1: Rerouting for PWM signals

Description: Device U1 (STM32F103RET6) needs to provide PWM signals for the _RAMPCTL and the _PWMSET pins going to the motor controllers for the reaction wheels. As found by @Aidan-Sheedy, some of the output signals from the STM32 are not PWM compatible but go to the motor controller anyway.

Additional Notes: As seen below, _ADCS_GPIO_RW4_PWMSET is not a GPIO but requires a channel of a timer. And all 4x of the ADCS_GPIO_RWx_RAMP signals are also not GPIOs but require connection to the channels of a timer.

Screen Shot 2023-05-02 at 2 40 46 PM Screen Shot 2023-05-02 at 2 40 56 PM

Proposed Solutions:

SeanTedesco commented 1 year ago

Regarding Issue 1: Rerouting for PWM signals, a jumper wire was installed connecting the physical Pin 45 to the pad of Pin 41 (routed to _ADCS_GPIO_RW4DIR) of U1 (STM32) as seen below.

The next step is to install another jumper wire connecting Pin 41 on U1 (STM32) to the pad of Pin 45 (routed to _ADCS_GPIO_RW4_PWMSET)