6 Commits

Author SHA1 Message Date
98fcfdfec0 random changes i found on my laptop 2025-04-17 21:51:15 +02:00
f97daa8df3 Adapt to inverted SDC close 2023-08-04 23:00:31 +02:00
1e4e5a91aa Only close SDC if watchdog is OK 2023-08-03 16:40:42 +02:00
34611dac20 Reduce startup delay
The 5s discharge is managed via ABX/PDU
2023-08-03 16:11:09 +02:00
d1c2cc5d80 Fix mission LEDs 2023-08-03 16:05:40 +02:00
75b8039e96 Update bodges to fully remove latch and logic 2023-08-03 13:36:33 +02:00
9 changed files with 743 additions and 2550 deletions

View File

@ -23,7 +23,8 @@
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu.1893121708" name="Floating-point unit" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu" useByScannerDiscovery="true" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu.value.fpv4-sp-d16" valueType="enumerated"/> <option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu.1893121708" name="Floating-point unit" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu" useByScannerDiscovery="true" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu.value.fpv4-sp-d16" valueType="enumerated"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi.2104279709" name="Floating-point ABI" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi" useByScannerDiscovery="true" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi.value.hard" valueType="enumerated"/> <option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi.2104279709" name="Floating-point ABI" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi" useByScannerDiscovery="true" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi.value.hard" valueType="enumerated"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_board.77669292" name="Board" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_board" useByScannerDiscovery="false" value="genericBoard" valueType="string"/> <option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_board.77669292" name="Board" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_board" useByScannerDiscovery="false" value="genericBoard" valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults.326360180" name="Defaults" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults" useByScannerDiscovery="false" value="com.st.stm32cube.ide.common.services.build.inputs.revA.1.0.5 || Debug || true || Executable || com.st.stm32cube.ide.mcu.gnu.managedbuild.option.toolchain.value.workspace || STM32F302C8Tx || 0 || 0 || arm-none-eabi- || ${gnu_tools_for_stm32_compiler_path} || ../Drivers/STM32F3xx_HAL_Driver/Inc | ../Drivers/CMSIS/Include | ../Core/Inc | ../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy | ../Drivers/CMSIS/Device/ST/STM32F3xx/Include || || || USE_HAL_DRIVER | STM32F302x8 || || Drivers | Core/Startup | Core || || || ${workspace_loc:/${ProjName}/STM32F302C8TX_FLASH.ld} || true || NonSecure || || secure_nsclib.o || || None || " valueType="string"/> <option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults.326360180" name="Defaults" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults" useByScannerDiscovery="false" value="com.st.stm32cube.ide.common.services.build.inputs.revA.1.0.6 || Debug || true || Executable || com.st.stm32cube.ide.mcu.gnu.managedbuild.option.toolchain.value.workspace || STM32F302C8Tx || 0 || 0 || arm-none-eabi- || ${gnu_tools_for_stm32_compiler_path} || ../Drivers/STM32F3xx_HAL_Driver/Inc | ../Drivers/CMSIS/Include | ../Core/Inc | ../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy | ../Drivers/CMSIS/Device/ST/STM32F3xx/Include || || || USE_HAL_DRIVER | STM32F302x8 || || Drivers | Core/Startup | Core || || || ${workspace_loc:/${ProjName}/STM32F302C8TX_FLASH.ld} || true || NonSecure || || secure_nsclib.o || || None || || || " valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.debug.option.cpuclock.164461163" superClass="com.st.stm32cube.ide.mcu.debug.option.cpuclock" value="8" valueType="string"/>
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform.1970141959" isAbstract="false" osList="all" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform"/> <targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform.1970141959" isAbstract="false" osList="all" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform"/>
<builder buildPath="${workspace_loc:/sdcl-firmware}/Debug" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder.1431370682" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder"/> <builder buildPath="${workspace_loc:/sdcl-firmware}/Debug" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder.1431370682" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.306874017" name="MCU GCC Assembler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler"> <tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.306874017" name="MCU GCC Assembler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler">
@ -102,7 +103,8 @@
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu.385019979" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu" useByScannerDiscovery="true" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu.value.fpv4-sp-d16" valueType="enumerated"/> <option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu.385019979" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu" useByScannerDiscovery="true" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu.value.fpv4-sp-d16" valueType="enumerated"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi.860143386" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi" useByScannerDiscovery="true" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi.value.hard" valueType="enumerated"/> <option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi.860143386" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi" useByScannerDiscovery="true" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi.value.hard" valueType="enumerated"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_board.1618095123" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_board" useByScannerDiscovery="false" value="genericBoard" valueType="string"/> <option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_board.1618095123" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_board" useByScannerDiscovery="false" value="genericBoard" valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults.1170098193" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults" useByScannerDiscovery="false" value="com.st.stm32cube.ide.common.services.build.inputs.revA.1.0.5 || Release || false || Executable || com.st.stm32cube.ide.mcu.gnu.managedbuild.option.toolchain.value.workspace || STM32F302C8Tx || 0 || 0 || arm-none-eabi- || ${gnu_tools_for_stm32_compiler_path} || ../Drivers/STM32F3xx_HAL_Driver/Inc | ../Drivers/CMSIS/Include | ../Core/Inc | ../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy | ../Drivers/CMSIS/Device/ST/STM32F3xx/Include || || || USE_HAL_DRIVER | STM32F302x8 || || Drivers | Core/Startup | Core || || || ${workspace_loc:/${ProjName}/STM32F302C8TX_FLASH.ld} || true || NonSecure || || secure_nsclib.o || || None || " valueType="string"/> <option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults.1170098193" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults" useByScannerDiscovery="false" value="com.st.stm32cube.ide.common.services.build.inputs.revA.1.0.6 || Release || false || Executable || com.st.stm32cube.ide.mcu.gnu.managedbuild.option.toolchain.value.workspace || STM32F302C8Tx || 0 || 0 || arm-none-eabi- || ${gnu_tools_for_stm32_compiler_path} || ../Drivers/STM32F3xx_HAL_Driver/Inc | ../Drivers/CMSIS/Include | ../Core/Inc | ../Drivers/STM32F3xx_HAL_Driver/Inc/Legacy | ../Drivers/CMSIS/Device/ST/STM32F3xx/Include || || || USE_HAL_DRIVER | STM32F302x8 || || Drivers | Core/Startup | Core || || || ${workspace_loc:/${ProjName}/STM32F302C8TX_FLASH.ld} || true || NonSecure || || secure_nsclib.o || || None || || || " valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.debug.option.cpuclock.1703375225" superClass="com.st.stm32cube.ide.mcu.debug.option.cpuclock" useByScannerDiscovery="false" value="8" valueType="string"/>
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform.2133501522" isAbstract="false" osList="all" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform"/> <targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform.2133501522" isAbstract="false" osList="all" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform"/>
<builder buildPath="${workspace_loc:/sdcl-firmware}/Release" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder.1576103886" managedBuildOn="true" name="Gnu Make Builder.Release" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder"/> <builder buildPath="${workspace_loc:/sdcl-firmware}/Release" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder.1576103886" managedBuildOn="true" name="Gnu Make Builder.Release" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.452758280" name="MCU GCC Assembler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler"> <tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.452758280" name="MCU GCC Assembler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler">

File diff suppressed because one or more lines are too long

View File

@ -48,6 +48,15 @@ typedef enum {
M_MANUAL = 7 M_MANUAL = 7
} mission_t; } mission_t;
typedef enum {
AS_OFF = 0,
AS_MANUAL = 1,
AS_READY = 2,
AS_DRIVING = 3,
AS_FINISHED = 4,
AS_EMERGENCY = 5,
} as_state_t;
/* /*
* BO_ 15 SDCL_rx: 3 ABX * BO_ 15 SDCL_rx: 3 ABX
* SG_ as_close_sdc : 0|1@1+ (1,0) [0|1] "" SDCL * SG_ as_close_sdc : 0|1@1+ (1,0) [0|1] "" SDCL
@ -112,6 +121,7 @@ typedef union {
#define CAN_ID_RX 0x00F #define CAN_ID_RX 0x00F
#define CAN_ID_TX 0x010 #define CAN_ID_TX 0x010
#define CAN_ID_JETSON_RX 0x0E0
// Defined in DBC? // Defined in DBC?
#define TX_UPDATE_PERIOD 100 #define TX_UPDATE_PERIOD 100
@ -135,15 +145,17 @@ IWDG_HandleTypeDef hiwdg;
/* USER CODE BEGIN PV */ /* USER CODE BEGIN PV */
// Mission Maps: NONE ACCEL SKIDPAD TRACKDRIVE EBSTEST INSPECTION AUTOX MANUAL // Mission Maps: NONE ACCEL SKIDPAD AUTOX EBSTEST INSPECTION TRACKDRIVE MANUAL
const uint16_t mission2led[] = {0 , AMI_ACCEL_Pin , AMI_SKIDPAD_Pin , AMI_TRACKDRIVE_Pin, AMI_EBSTEST_Pin , AMI_INSPECTION_Pin, AMI_AUTOX_Pin , AMI_MANUAL_Pin}; const uint16_t mission2led[] = {0 , AMI_ACCEL_Pin , AMI_SKIDPAD_Pin , AMI_AUTOX_Pin , AMI_TRACKDRIVE_Pin, AMI_EBSTEST_Pin , AMI_INSPECTION_Pin, AMI_MANUAL_Pin};
const mission_t mission2next[] = {M_MANUAL , M_SKIDPAD , M_AUTOX , M_EBSTEST , M_INSPECTION , M_MANUAL , M_TRACKDRIVE , M_ACCEL }; const mission_t mission2next[] = {M_MANUAL , M_SKIDPAD , M_AUTOX , M_EBSTEST , M_INSPECTION , M_MANUAL , M_TRACKDRIVE , M_ACCEL };
mission_t mission = M_NONE; mission_t mission = M_NONE;
as_state_t state = AS_OFF;
bool setup_done = false; bool setup_done = false;
#ifdef WATCHDOG_STM #ifdef WATCHDOG_STM
bool heartbeat_received = false;
bool pHeartbeat = false; bool pHeartbeat = false;
bool WD_OK = false; bool WD_OK = false;
bool WD_initialized = false; bool WD_initialized = false;
@ -198,6 +210,7 @@ int main(void)
#if false #if false
/* USER CODE END SysInit */ /* USER CODE END SysInit */
/* Initialize all configured peripherals */ /* Initialize all configured peripherals */
MX_GPIO_Init(); MX_GPIO_Init();
MX_CAN_Init(); MX_CAN_Init();
@ -209,8 +222,6 @@ int main(void)
__HAL_DBGMCU_FREEZE_IWDG(); __HAL_DBGMCU_FREEZE_IWDG();
// Ensure we start with SDC disabled // Ensure we start with SDC disabled
HAL_GPIO_WritePin(Watchdog_GPIO_Port, Watchdog_Pin, GPIO_PIN_RESET);
// Due to bodge, AScSDC is inverted, so it is set by default
HAL_GPIO_WritePin(AS_close_SDC_GPIO_Port, AS_close_SDC_Pin, GPIO_PIN_SET); HAL_GPIO_WritePin(AS_close_SDC_GPIO_Port, AS_close_SDC_Pin, GPIO_PIN_SET);
if (HAL_CAN_Start(&hcan) != HAL_OK) if (HAL_CAN_Start(&hcan) != HAL_OK)
@ -228,7 +239,11 @@ int main(void)
canfilterconfig.FilterMode = CAN_FILTERMODE_IDMASK; canfilterconfig.FilterMode = CAN_FILTERMODE_IDMASK;
canfilterconfig.FilterScale = CAN_FILTERSCALE_32BIT; canfilterconfig.FilterScale = CAN_FILTERSCALE_32BIT;
canfilterconfig.SlaveStartFilterBank = 14; canfilterconfig.SlaveStartFilterBank = 14;
if (HAL_CAN_ConfigFilter(&hcan, &canfilterconfig) != HAL_OK) {
Error_Handler();
}
canfilterconfig.FilterBank = 1;
canfilterconfig.FilterIdHigh = CAN_ID_JETSON_RX << (16 -11);
if (HAL_CAN_ConfigFilter(&hcan, &canfilterconfig) != HAL_OK) { if (HAL_CAN_ConfigFilter(&hcan, &canfilterconfig) != HAL_OK) {
Error_Handler(); Error_Handler();
} }
@ -258,9 +273,8 @@ int main(void)
mission_t new_mission = mission; // By default, don't change mission mission_t new_mission = mission; // By default, don't change mission
// Wait at least 1s to prevent bus error state while ABX is starting up // Wait at least 1s to prevent bus error state while ABX is starting up
// Wait at least 5s for the discharge of the DC link (so AMS can't restart)
// During that time, show loading animation to show LEDs work // During that time, show loading animation to show LEDs work
while (HAL_GetTick() < 5000) { while (HAL_GetTick() < 1000) {
setMissionLED(M_MANUAL, GPIO_PIN_SET); setMissionLED(M_MANUAL, GPIO_PIN_SET);
HAL_Delay(150); HAL_Delay(150);
setMissionLED(M_MANUAL, GPIO_PIN_RESET); setMissionLED(M_MANUAL, GPIO_PIN_RESET);
@ -272,6 +286,7 @@ int main(void)
} }
setup_done = true; setup_done = true;
uint32_t last_msg = 0;
while (true) { while (true) {
@ -290,48 +305,53 @@ int main(void)
bool CLOSED = HAL_GPIO_ReadPin(CLOSED_GPIO_Port, CLOSED_Pin) == GPIO_PIN_RESET; bool CLOSED = HAL_GPIO_ReadPin(CLOSED_GPIO_Port, CLOSED_Pin) == GPIO_PIN_RESET;
bool REOPENED = HAL_GPIO_ReadPin(REOPENED_GPIO_Port, REOPENED_Pin) == GPIO_PIN_RESET; bool REOPENED = HAL_GPIO_ReadPin(REOPENED_GPIO_Port, REOPENED_Pin) == GPIO_PIN_RESET;
bool AMC = HAL_GPIO_ReadPin(AMC_GPIO_Port, AMC_Pin) == GPIO_PIN_SET; if (HAL_GetTick() - last_msg >= TX_UPDATE_PERIOD) {
// On signal edge. Debouncing usually not needed at these polling rates (10Hz) last_msg = HAL_GetTick();
if (AMC < pAMC) { bool AMC = HAL_GPIO_ReadPin(AMC_GPIO_Port, AMC_Pin) == GPIO_PIN_SET;
// On signal edge. Debouncing usually not needed at these polling rates (10Hz)
if (AMC < pAMC) {
// Reset LED to indicate transaction / mission change in progress // Reset LED to indicate transaction / mission change in progress
setMissionLED(mission, GPIO_PIN_RESET); setMissionLED(mission, GPIO_PIN_RESET);
new_mission = mission2next[mission]; new_mission = mission2next[mission];
// New LED will be set once response from ABX is received // New LED will be set once response from ABX is received
}
// TEMP: Only enable WD if in autonomous mode because EMI currently messes it up during R2D
if (ASMS > pASMS) {
MX_IWDG_Init();
WD_initialized = true;
}
txData = (tx_data_t) {
.signals = {
.asms_state = ASMS,
.sdc_state_1 = LV_SENSE_1,
.sdc_state_2 = LV_SENSE_2,
.sdc_state_3 = SDC_in_3V3,
.heartbeat_ok = WD_OK,
.sdc_ready = SDC_is_ready,
.ts_start_muxed = TS_activate_MUXed,
.latch_init_open = INITIAL_OPEN,
.latch_closed = CLOSED,
.latch_reopened = REOPENED,
.as_mission = new_mission
} }
};
if (HAL_CAN_AddTxMessage(&hcan, &txHeader, txData.raw, &txMailbox) != HAL_OK) // TEMP: Only enable WD if in autonomous mode because EMI currently messes it up during R2D
Error_Handler(); if (ASMS > pASMS) {
MX_IWDG_Init();
WD_initialized = true;
}
// Store previous button value to detect signal edges txData = (tx_data_t) {
pAMC = AMC; .signals = {
pASMS = ASMS; .asms_state = ASMS,
.sdc_state_1 = LV_SENSE_1,
.sdc_state_2 = LV_SENSE_2,
.sdc_state_3 = SDC_in_3V3,
.heartbeat_ok = WD_OK,
.sdc_ready = SDC_is_ready,
.ts_start_muxed = TS_activate_MUXed,
.latch_init_open = INITIAL_OPEN,
.latch_closed = CLOSED,
.latch_reopened = REOPENED,
.as_mission = new_mission
}
};
HAL_Delay(TX_UPDATE_PERIOD); if (HAL_CAN_AddTxMessage(&hcan, &txHeader, txData.raw, &txMailbox) != HAL_OK)
Error_Handler();
// Store previous button value to detect signal edges
pAMC = AMC;
pASMS = ASMS;
}
if (state != AS_OFF && state != AS_MANUAL && WD_initialized) {
HAL_IWDG_Refresh(&hiwdg);
WD_OK = true;
}
/* USER CODE END WHILE */ /* USER CODE END WHILE */
@ -461,7 +481,10 @@ static void MX_GPIO_Init(void)
|AMI_AUTOX_Pin|AMI_SKIDPAD_Pin|AMI_ACCEL_Pin|AMI_MANUAL_Pin, GPIO_PIN_RESET); |AMI_AUTOX_Pin|AMI_SKIDPAD_Pin|AMI_ACCEL_Pin|AMI_MANUAL_Pin, GPIO_PIN_RESET);
/*Configure GPIO pin Output Level */ /*Configure GPIO pin Output Level */
HAL_GPIO_WritePin(GPIOA, AS_close_SDC_Pin|Watchdog_Pin, GPIO_PIN_RESET); HAL_GPIO_WritePin(AS_close_SDC_GPIO_Port, AS_close_SDC_Pin, GPIO_PIN_SET);
/*Configure GPIO pin Output Level */
HAL_GPIO_WritePin(Watchdog_GPIO_Port, Watchdog_Pin, GPIO_PIN_RESET);
/*Configure GPIO pins : TS_activate_MUXed_Pin ASMS_Pin INITIAL_OPEN_Pin CLOSED_Pin /*Configure GPIO pins : TS_activate_MUXed_Pin ASMS_Pin INITIAL_OPEN_Pin CLOSED_Pin
REOPENED_Pin WD_OK_Pin SDC_is_ready_Pin SDC_in_3V3_Pin REOPENED_Pin WD_OK_Pin SDC_is_ready_Pin SDC_in_3V3_Pin
@ -510,40 +533,46 @@ void HAL_CAN_RxFifo0MsgPendingCallback(CAN_HandleTypeDef *hcan) {
Error_Handler(); Error_Handler();
// Discard if it's not for us (shouldn't happen thanks to filter, but just to be sure) // Discard if it's not for us (shouldn't happen thanks to filter, but just to be sure)
if (rxHeader.StdId != CAN_ID_RX) if (rxHeader.StdId == CAN_ID_RX) {
return; // return;
#ifdef WATCHDOG_STM #ifdef WATCHDOG_STM
if (rxData.signals.heartbeat != pHeartbeat) { if (rxData.signals.heartbeat != pHeartbeat) {
if (WD_initialized) if (WD_initialized)
HAL_IWDG_Refresh(&hiwdg); HAL_IWDG_Refresh(&hiwdg);
WD_OK = true; if (heartbeat_received) {
HAL_GPIO_WritePin(Watchdog_GPIO_Port, Watchdog_Pin, GPIO_PIN_SET); WD_OK = true;
}
heartbeat_received = true;
//HAL_GPIO_WritePin(Watchdog_GPIO_Port, Watchdog_Pin, GPIO_PIN_SET);
}
pHeartbeat = rxData.signals.heartbeat;
bool close_sdc = setup_done && rxData.signals.as_close_sdc && WD_OK;
#endif
#ifdef WATCHDOG_UCC
HAL_GPIO_WritePin(Watchdog_GPIO_Port, Watchdog_Pin, rxData.signals.heartbeat);
bool close_sdc = rxData.signals.as_close_sdc;
#endif
// Set whether to close the relay. The port is inverted due to multiple bodges
GPIO_PinState close_sdc_val = close_sdc ? GPIO_PIN_RESET : GPIO_PIN_SET;
HAL_GPIO_WritePin(AS_close_SDC_GPIO_Port, AS_close_SDC_Pin, close_sdc_val);
// Reset old mission LED
setMissionLED(mission, GPIO_PIN_RESET);
mission = rxData.signals.as_mission;
setMissionLED(mission, GPIO_PIN_SET);
// Set ASB Error status
HAL_GPIO_WritePin(ASB_Error_GPIO_Port, ASB_Error_Pin, rxData.signals.asb_error);
} else if (rxHeader.StdId == CAN_ID_JETSON_RX) {
state = (rxData.raw[0] >> 3) & 0b111;
} }
pHeartbeat = rxData.signals.heartbeat;
bool close_sdc = setup_done && rxData.signals.as_close_sdc;
#endif
#ifdef WATCHDOG_UCC
HAL_GPIO_WritePin(Watchdog_GPIO_Port, Watchdog_Pin, rxData.signals.heartbeat);
bool close_sdc = rxData.signals.as_close_sdc;
#endif
// Set whether to close the relay
// Inverted because the NAND was bodged out
HAL_GPIO_WritePin(AS_close_SDC_GPIO_Port, AS_close_SDC_Pin, !close_sdc);
// Reset old mission LED
setMissionLED(mission, GPIO_PIN_RESET);
mission = rxData.signals.as_mission;
setMissionLED(mission, GPIO_PIN_SET);
// Set ASB Error status
HAL_GPIO_WritePin(ASB_Error_GPIO_Port, ASB_Error_Pin, rxData.signals.asb_error);
} }

View File

@ -38,8 +38,8 @@ ENTRY(Reset_Handler)
/* Highest address of the user mode stack */ /* Highest address of the user mode stack */
_estack = ORIGIN(RAM) + LENGTH(RAM); /* end of "RAM" Ram type memory */ _estack = ORIGIN(RAM) + LENGTH(RAM); /* end of "RAM" Ram type memory */
_Min_Heap_Size = 0x200 ; /* required amount of heap */ _Min_Heap_Size = 0x200; /* required amount of heap */
_Min_Stack_Size = 0x400 ; /* required amount of stack */ _Min_Stack_Size = 0x400; /* required amount of stack */
/* Memories definition */ /* Memories definition */
MEMORY MEMORY

View File

@ -1,4 +1,7 @@
#MicroXplorer Configuration settings - do not modify #MicroXplorer Configuration settings - do not modify
CAD.formats=
CAD.pinconfig=
CAD.provider=
CAN.ABOM=ENABLE CAN.ABOM=ENABLE
CAN.AWUM=ENABLE CAN.AWUM=ENABLE
CAN.BS1=CAN_BS1_13TQ CAN.BS1=CAN_BS1_13TQ
@ -122,9 +125,10 @@ PA7.GPIOParameters=GPIO_Label
PA7.GPIO_Label=SDC_in_3V3 PA7.GPIO_Label=SDC_in_3V3
PA7.Locked=true PA7.Locked=true
PA7.Signal=GPIO_Input PA7.Signal=GPIO_Input
PA9.GPIOParameters=GPIO_Label PA9.GPIOParameters=PinState,GPIO_Label
PA9.GPIO_Label=AS_close_SDC PA9.GPIO_Label=AS_close_SDC
PA9.Locked=true PA9.Locked=true
PA9.PinState=GPIO_PIN_SET
PA9.Signal=GPIO_Output PA9.Signal=GPIO_Output
PB0.GPIOParameters=GPIO_Label PB0.GPIOParameters=GPIO_Label
PB0.GPIO_Label=LV_SENSE_1 PB0.GPIO_Label=LV_SENSE_1
@ -251,7 +255,7 @@ ProjectManager.FreePins=false
ProjectManager.HalAssertFull=false ProjectManager.HalAssertFull=false
ProjectManager.HeapSize=0x200 ProjectManager.HeapSize=0x200
ProjectManager.KeepUserCode=true ProjectManager.KeepUserCode=true
ProjectManager.LastFirmware=false ProjectManager.LastFirmware=true
ProjectManager.LibraryCopy=1 ProjectManager.LibraryCopy=1
ProjectManager.MainLocation=Core/Src ProjectManager.MainLocation=Core/Src
ProjectManager.NoMain=false ProjectManager.NoMain=false
@ -259,12 +263,13 @@ ProjectManager.PreviousToolchain=STM32CubeIDE
ProjectManager.ProjectBuild=false ProjectManager.ProjectBuild=false
ProjectManager.ProjectFileName=sdcl-firmware.ioc ProjectManager.ProjectFileName=sdcl-firmware.ioc
ProjectManager.ProjectName=sdcl-firmware ProjectManager.ProjectName=sdcl-firmware
ProjectManager.ProjectStructure=
ProjectManager.RegisterCallBack= ProjectManager.RegisterCallBack=
ProjectManager.StackSize=0x400 ProjectManager.StackSize=0x400
ProjectManager.TargetToolchain=STM32CubeIDE ProjectManager.TargetToolchain=STM32CubeIDE
ProjectManager.ToolChainLocation= ProjectManager.ToolChainLocation=
ProjectManager.UnderRoot=true ProjectManager.UnderRoot=true
ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-HAL-true,2-SystemClock_Config-RCC-false-HAL-false,3-MX_CAN_Init-CAN-false-HAL-true,4-MX_WWDG_Init-WWDG-false-HAL-true ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-HAL-true,2-SystemClock_Config-RCC-false-HAL-false,3-MX_CAN_Init-CAN-false-HAL-true,4-MX_IWDG_Init-IWDG-false-HAL-true
RCC.ADC12outputFreq_Value=16000000 RCC.ADC12outputFreq_Value=16000000
RCC.AHBFreq_Value=8000000 RCC.AHBFreq_Value=8000000
RCC.APB1Freq_Value=8000000 RCC.APB1Freq_Value=8000000

File diff suppressed because it is too large Load Diff

View File

@ -2053,7 +2053,7 @@
) )
(symbol (lib_id "Device:C") (at 87.63 91.44 90) (unit 1) (symbol (lib_id "Device:C") (at 87.63 91.44 90) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp yes)
(uuid 0e71714c-95a6-453c-8f8d-3fbed81cf9cc) (uuid 0e71714c-95a6-453c-8f8d-3fbed81cf9cc)
(property "Reference" "C26" (at 87.63 86.36 90) (property "Reference" "C26" (at 87.63 86.36 90)
(effects (font (size 1.27 1.27))) (effects (font (size 1.27 1.27)))
@ -2193,7 +2193,7 @@
) )
(symbol (lib_id "Device:Crystal_GND24_Small") (at 91.44 95.25 90) (unit 1) (symbol (lib_id "Device:Crystal_GND24_Small") (at 91.44 95.25 90) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp yes)
(uuid 3be0f0b9-eb14-4cad-a9da-a50c9b00369e) (uuid 3be0f0b9-eb14-4cad-a9da-a50c9b00369e)
(property "Reference" "Y1" (at 93.345 87.63 90) (property "Reference" "Y1" (at 93.345 87.63 90)
(effects (font (size 1.27 1.27))) (effects (font (size 1.27 1.27)))
@ -2309,7 +2309,7 @@
) )
(symbol (lib_id "Device:R") (at 102.87 95.25 0) (unit 1) (symbol (lib_id "Device:R") (at 102.87 95.25 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) (in_bom yes) (on_board yes) (dnp yes) (fields_autoplaced)
(uuid 5738faba-bd8b-4dac-a7fd-4b412eafb2cc) (uuid 5738faba-bd8b-4dac-a7fd-4b412eafb2cc)
(property "Reference" "R38" (at 105.664 93.9799 0) (property "Reference" "R38" (at 105.664 93.9799 0)
(effects (font (size 1.27 1.27)) (justify left)) (effects (font (size 1.27 1.27)) (justify left))
@ -2475,7 +2475,7 @@
) )
(symbol (lib_id "Device:C") (at 87.63 99.06 90) (unit 1) (symbol (lib_id "Device:C") (at 87.63 99.06 90) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp yes)
(uuid c6fb5fd2-39c6-4fe5-a29f-bcf672e39a95) (uuid c6fb5fd2-39c6-4fe5-a29f-bcf672e39a95)
(property "Reference" "C27" (at 87.63 104.14 90) (property "Reference" "C27" (at 87.63 104.14 90)
(effects (font (size 1.27 1.27))) (effects (font (size 1.27 1.27)))

View File

@ -0,0 +1,30 @@
[html_defaults]
dark_mode=0
show_pads=1
show_fabrication=0
show_silkscreen=1
highlight_pin1=0
redraw_on_drag=1
board_rotation=0
checkboxes=Sourced,Placed
bom_view=left-right
layer_view=FB
compression=1
open_browser=1
[general]
bom_dest_dir=export
bom_name_format=ibom
component_sort_order=C,R,L,D,U,Y,X,F,SW,A,~,HS,CNN,J,P,NT,MH
component_blacklist=
blacklist_virtual=1
blacklist_empty_val=0
include_tracks=0
include_nets=0
[fields]
show_fields=Value,Footprint
group_fields=Value,Footprint
normalize_field_case=0
board_variant_field=
board_variant_whitelist=
board_variant_blacklist=
dnp_field=

View File

@ -516,6 +516,125 @@
) )
) )
) )
(symbol "Custom:MC74HC1G00" (pin_names (offset 1.016)) (in_bom yes) (on_board yes)
(property "Reference" "U" (at 1.27 7.62 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "MC74HC1G00" (at 7.62 5.08 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "https://www.mouser.de/datasheet/2/308/1/MC74HC1G00_D-2315437.pdf" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "nand" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Single 2-input NAND gate" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_fp_filters" "DIP*W7.62mm* SO14*" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "MC74HC1G00_1_1"
(arc (start 0 -3.81) (mid 3.7934 0) (end 0 3.81)
(stroke (width 0.254) (type default))
(fill (type background))
)
(polyline
(pts
(xy 0 3.81)
(xy -3.81 3.81)
(xy -3.81 -3.81)
(xy 0 -3.81)
)
(stroke (width 0.254) (type default))
(fill (type background))
)
(pin input line (at -7.62 2.54 0) (length 3.81)
(name "~" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin input line (at -7.62 -2.54 0) (length 3.81)
(name "~" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
(pin power_in line (at -1.27 -6.35 90) (length 2.54)
(name "GND" (effects (font (size 0.9906 0.9906))))
(number "3" (effects (font (size 1.27 1.27))))
)
(pin output inverted (at 7.62 0 180) (length 3.81)
(name "~" (effects (font (size 1.27 1.27))))
(number "4" (effects (font (size 1.27 1.27))))
)
(pin power_in line (at 0 6.35 270) (length 2.54)
(name "VCC" (effects (font (size 0.9906 0.9906))))
(number "5" (effects (font (size 1.27 1.27))))
)
)
(symbol "MC74HC1G00_1_2"
(arc (start -3.81 -3.81) (mid -2.589 0) (end -3.81 3.81)
(stroke (width 0.254) (type default))
(fill (type none))
)
(arc (start -0.6096 -3.81) (mid 2.1842 -2.5851) (end 3.81 0)
(stroke (width 0.254) (type default))
(fill (type background))
)
(polyline
(pts
(xy -3.81 -3.81)
(xy -0.635 -3.81)
)
(stroke (width 0.254) (type default))
(fill (type background))
)
(polyline
(pts
(xy -3.81 3.81)
(xy -0.635 3.81)
)
(stroke (width 0.254) (type default))
(fill (type background))
)
(polyline
(pts
(xy -0.635 3.81)
(xy -3.81 3.81)
(xy -3.81 3.81)
(xy -3.556 3.4036)
(xy -3.0226 2.2606)
(xy -2.6924 1.0414)
(xy -2.6162 -0.254)
(xy -2.7686 -1.4986)
(xy -3.175 -2.7178)
(xy -3.81 -3.81)
(xy -3.81 -3.81)
(xy -0.635 -3.81)
)
(stroke (width -25.4) (type default))
(fill (type background))
)
(arc (start 3.81 0) (mid 2.1915 2.5936) (end -0.6096 3.81)
(stroke (width 0.254) (type default))
(fill (type background))
)
(pin input inverted (at -7.62 2.54 0) (length 4.318)
(name "~" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin input inverted (at -7.62 -2.54 0) (length 4.318)
(name "~" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
(pin output line (at 7.62 0 180) (length 3.81)
(name "~" (effects (font (size 1.27 1.27))))
(number "3" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "Custom:MC74HC1G32" (pin_names (offset 1.016)) (in_bom yes) (on_board yes) (symbol "Custom:MC74HC1G32" (pin_names (offset 1.016)) (in_bom yes) (on_board yes)
(property "Reference" "U6" (at 2.54 6.35 0) (property "Reference" "U6" (at 2.54 6.35 0)
(effects (font (size 1.27 1.27)) (justify left)) (effects (font (size 1.27 1.27)) (justify left))
@ -1256,6 +1375,9 @@
(junction (at 224.79 93.98) (diameter 0) (color 0 0 0 0) (junction (at 224.79 93.98) (diameter 0) (color 0 0 0 0)
(uuid 27373484-7b88-483b-87bb-dc98c4baecb2) (uuid 27373484-7b88-483b-87bb-dc98c4baecb2)
) )
(junction (at 248.92 67.31) (diameter 0) (color 0 0 0 0)
(uuid 2a3500ba-edd0-4be7-8828-e19c875d0315)
)
(junction (at 87.63 86.995) (diameter 0) (color 0 0 0 0) (junction (at 87.63 86.995) (diameter 0) (color 0 0 0 0)
(uuid 3a66ec48-c77d-4e4c-ab11-9f3ec8df845d) (uuid 3a66ec48-c77d-4e4c-ab11-9f3ec8df845d)
) )
@ -1274,6 +1396,9 @@
(junction (at 146.05 87.63) (diameter 0) (color 0 0 0 0) (junction (at 146.05 87.63) (diameter 0) (color 0 0 0 0)
(uuid 72fcd377-23bf-496b-b5a5-369075642ba5) (uuid 72fcd377-23bf-496b-b5a5-369075642ba5)
) )
(junction (at 84.455 45.72) (diameter 0) (color 0 0 0 0)
(uuid 75a38f73-c857-4f8f-83b6-ae76e187c617)
)
(junction (at 125.73 121.92) (diameter 0) (color 0 0 0 0) (junction (at 125.73 121.92) (diameter 0) (color 0 0 0 0)
(uuid 76c43a86-f226-44c9-baf6-52314da998c1) (uuid 76c43a86-f226-44c9-baf6-52314da998c1)
) )
@ -1289,9 +1414,6 @@
(junction (at 177.8 130.175) (diameter 0) (color 0 0 0 0) (junction (at 177.8 130.175) (diameter 0) (color 0 0 0 0)
(uuid 8a2911f3-abeb-466d-8df4-0d9101265619) (uuid 8a2911f3-abeb-466d-8df4-0d9101265619)
) )
(junction (at 106.68 50.8) (diameter 0) (color 0 0 0 0)
(uuid 8bbf0283-8032-433c-a53d-b5a9e503518d)
)
(junction (at 153.67 104.14) (diameter 0) (color 0 0 0 0) (junction (at 153.67 104.14) (diameter 0) (color 0 0 0 0)
(uuid 937f2c05-8ac9-4863-9938-347ce5e0d1ba) (uuid 937f2c05-8ac9-4863-9938-347ce5e0d1ba)
) )
@ -1316,10 +1438,10 @@
(junction (at 87.63 113.03) (diameter 0) (color 0 0 0 0) (junction (at 87.63 113.03) (diameter 0) (color 0 0 0 0)
(uuid c65feeba-753f-41ea-89f8-5ebf1fd56053) (uuid c65feeba-753f-41ea-89f8-5ebf1fd56053)
) )
(junction (at 76.2 46.99) (diameter 0) (color 0 0 0 0) (junction (at 58.42 41.91) (diameter 0) (color 0 0 0 0)
(uuid d3d4329e-fd16-40b2-9537-230d42c119d0) (uuid d3d4329e-fd16-40b2-9537-230d42c119d0)
) )
(junction (at 87.63 40.64) (diameter 0) (color 0 0 0 0) (junction (at 69.85 35.56) (diameter 0) (color 0 0 0 0)
(uuid eb432c68-9e96-480c-b1e5-cac6fcf77253) (uuid eb432c68-9e96-480c-b1e5-cac6fcf77253)
) )
(junction (at 205.74 114.3) (diameter 0) (color 0 0 0 0) (junction (at 205.74 114.3) (diameter 0) (color 0 0 0 0)
@ -1328,14 +1450,10 @@
(no_connect (at 164.465 184.15) (uuid 305b45ec-f3bc-413c-b22c-a82966acb8d2)) (no_connect (at 164.465 184.15) (uuid 305b45ec-f3bc-413c-b22c-a82966acb8d2))
(wire (pts (xy 63.5 54.61) (xy 80.01 54.61)) (wire (pts (xy 45.72 49.53) (xy 62.23 49.53))
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid 0377af72-3f9a-49c8-a725-6fe5b209413a) (uuid 0377af72-3f9a-49c8-a725-6fe5b209413a)
) )
(wire (pts (xy 138.43 53.34) (xy 153.67 53.34))
(stroke (width 0) (type default))
(uuid 0a2f2a7d-7c0c-4922-9eeb-6cdb84068c68)
)
(wire (pts (xy 245.11 96.52) (xy 256.54 96.52)) (wire (pts (xy 245.11 96.52) (xy 256.54 96.52))
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid 105d77fe-c5a5-4238-a46e-30111e876fe0) (uuid 105d77fe-c5a5-4238-a46e-30111e876fe0)
@ -1360,15 +1478,15 @@
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid 1c18c3c3-eb51-4ec2-ad8d-10c9a9a776fe) (uuid 1c18c3c3-eb51-4ec2-ad8d-10c9a9a776fe)
) )
(wire (pts (xy 113.03 39.37) (xy 115.57 39.37)) (wire (pts (xy 84.455 45.72) (xy 88.265 45.72))
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid 2ad900b3-9c28-4f6d-810d-9627302cfd80) (uuid 1e32780f-e69d-411b-b21b-0db50e01aaa3)
) )
(wire (pts (xy 153.67 53.34) (xy 153.67 80.01)) (wire (pts (xy 153.67 53.34) (xy 153.67 80.01))
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid 2bc11dec-85ff-4963-8f05-013684878b1d) (uuid 2bc11dec-85ff-4963-8f05-013684878b1d)
) )
(wire (pts (xy 87.63 40.64) (xy 87.63 41.91)) (wire (pts (xy 69.85 35.56) (xy 69.85 36.83))
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid 33bfafbe-b3c7-4b12-9b72-d2a82aac44c3) (uuid 33bfafbe-b3c7-4b12-9b72-d2a82aac44c3)
) )
@ -1388,6 +1506,10 @@
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid 48f03ae6-7d4c-4418-9300-a7f9176570d2) (uuid 48f03ae6-7d4c-4418-9300-a7f9176570d2)
) )
(wire (pts (xy 248.92 33.02) (xy 248.92 67.31))
(stroke (width 0) (type default))
(uuid 4cc875d8-650c-44b2-b0c9-6a510d4df852)
)
(wire (pts (xy 224.79 93.98) (xy 224.79 77.47)) (wire (pts (xy 224.79 93.98) (xy 224.79 77.47))
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid 50350130-8969-45f0-84a1-27eef7283e87) (uuid 50350130-8969-45f0-84a1-27eef7283e87)
@ -1396,15 +1518,11 @@
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid 5208a399-f90a-4c00-a0f6-e1545d6d0a8a) (uuid 5208a399-f90a-4c00-a0f6-e1545d6d0a8a)
) )
(wire (pts (xy 106.68 50.8) (xy 113.03 50.8))
(stroke (width 0) (type default))
(uuid 53a11451-75f6-4a8c-b089-ac1759590fc8)
)
(wire (pts (xy 125.73 127.635) (xy 125.73 121.92)) (wire (pts (xy 125.73 127.635) (xy 125.73 121.92))
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid 5d0c1446-fa0f-4d45-86d7-51926c05cc9d) (uuid 5d0c1446-fa0f-4d45-86d7-51926c05cc9d)
) )
(wire (pts (xy 63.5 46.99) (xy 76.2 46.99)) (wire (pts (xy 45.72 41.91) (xy 58.42 41.91))
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid 5e14ed83-cb91-4a52-b75f-195ad28299e2) (uuid 5e14ed83-cb91-4a52-b75f-195ad28299e2)
) )
@ -1424,7 +1542,7 @@
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid 6ef563e8-c2c8-4ea1-aa6a-d1c11eda1ec0) (uuid 6ef563e8-c2c8-4ea1-aa6a-d1c11eda1ec0)
) )
(wire (pts (xy 76.2 46.99) (xy 76.2 55.88)) (wire (pts (xy 58.42 41.91) (xy 58.42 50.8))
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid 7376ba44-dfa3-4f2b-8672-f8ff30bb029d) (uuid 7376ba44-dfa3-4f2b-8672-f8ff30bb029d)
) )
@ -1440,7 +1558,7 @@
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid 7516a81c-9280-435c-bae6-3f628354024d) (uuid 7516a81c-9280-435c-bae6-3f628354024d)
) )
(wire (pts (xy 95.25 50.8) (xy 106.68 50.8)) (wire (pts (xy 77.47 45.72) (xy 84.455 45.72))
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid 798b3f16-4531-441c-89da-319760a102d2) (uuid 798b3f16-4531-441c-89da-319760a102d2)
) )
@ -1556,7 +1674,7 @@
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid b481deaf-3284-42c7-bc5d-9ae72a91337e) (uuid b481deaf-3284-42c7-bc5d-9ae72a91337e)
) )
(wire (pts (xy 63.5 52.07) (xy 80.01 52.07)) (wire (pts (xy 45.72 46.99) (xy 62.23 46.99))
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid bb804471-b8a1-4a1e-a2aa-ce2cc0c88d66) (uuid bb804471-b8a1-4a1e-a2aa-ce2cc0c88d66)
) )
@ -1580,13 +1698,9 @@
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid c7c6cef9-f855-45e0-9399-3c51d2568867) (uuid c7c6cef9-f855-45e0-9399-3c51d2568867)
) )
(wire (pts (xy 138.43 53.34) (xy 138.43 55.88)) (wire (pts (xy 129.54 55.88) (xy 129.54 33.02))
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid c9183c00-2b30-4577-8d38-f6d7aba7f8ed) (uuid c81c62d9-072f-4811-adeb-ef6b94fd84d9)
)
(wire (pts (xy 113.03 39.37) (xy 113.03 50.8))
(stroke (width 0) (type default))
(uuid ce2745ea-4de5-40af-be0d-1cda790fd766)
) )
(wire (pts (xy 229.87 93.98) (xy 224.79 93.98)) (wire (pts (xy 229.87 93.98) (xy 224.79 93.98))
(stroke (width 0) (type default)) (stroke (width 0) (type default))
@ -1604,11 +1718,15 @@
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid dde54a3d-f472-4c56-a673-ea2158c7f3b2) (uuid dde54a3d-f472-4c56-a673-ea2158c7f3b2)
) )
(wire (pts (xy 129.54 33.02) (xy 248.92 33.02))
(stroke (width 0) (type default))
(uuid e0690c0c-630a-49d3-abb7-f89c1429dc1d)
)
(wire (pts (xy 147.955 186.69) (xy 149.225 186.69)) (wire (pts (xy 147.955 186.69) (xy 149.225 186.69))
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid e910ccee-a6fb-4f5c-8252-cb70f86e7685) (uuid e910ccee-a6fb-4f5c-8252-cb70f86e7685)
) )
(wire (pts (xy 76.2 46.99) (xy 80.01 46.99)) (wire (pts (xy 58.42 41.91) (xy 62.23 41.91))
(stroke (width 0) (type default)) (stroke (width 0) (type default))
(uuid ea2888dc-1327-4dbc-95ac-5387b69ddb0e) (uuid ea2888dc-1327-4dbc-95ac-5387b69ddb0e)
) )
@ -1653,7 +1771,7 @@
(effects (font (size 1.27 1.27)) (justify left bottom)) (effects (font (size 1.27 1.27)) (justify left bottom))
(uuid 50be4d66-d86b-4a81-a6e6-baebecf9e221) (uuid 50be4d66-d86b-4a81-a6e6-baebecf9e221)
) )
(text "HIGH if autonomous / ASMS on" (at 71.12 44.45 0) (text "HIGH if autonomous / ASMS on" (at 53.34 39.37 0)
(effects (font (size 1.27 1.27)) (justify right bottom)) (effects (font (size 1.27 1.27)) (justify right bottom))
(uuid 6fcc41f5-86b4-4f8d-ba55-add28542e773) (uuid 6fcc41f5-86b4-4f8d-ba55-add28542e773)
) )
@ -1662,6 +1780,10 @@
(effects (font (size 1.27 1.27)) (justify left bottom)) (effects (font (size 1.27 1.27)) (justify left bottom))
(uuid 94d0cce1-803b-4f1f-94d6-06a7bad80030) (uuid 94d0cce1-803b-4f1f-94d6-06a7bad80030)
) )
(text "Bodge Wire" (at 189.23 31.75 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid a9535592-ae02-4ed8-b483-554a10d44f72)
)
(text "DNP R5 if STM WWDG" (at 46.99 120.65 0) (text "DNP R5 if STM WWDG" (at 46.99 120.65 0)
(effects (font (size 1.27 1.27)) (justify left bottom)) (effects (font (size 1.27 1.27)) (justify left bottom))
(uuid bca64f83-1b22-45dc-901c-d402d49db8e0) (uuid bca64f83-1b22-45dc-901c-d402d49db8e0)
@ -1733,7 +1855,7 @@
) )
) )
(hierarchical_label "TS_activate_dash" (shape input) (at 63.5 52.07 180) (fields_autoplaced) (hierarchical_label "TS_activate_dash" (shape input) (at 45.72 46.99 180) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify right)) (effects (font (size 1.27 1.27)) (justify right))
(uuid 3e7f3004-2604-4829-b7ff-04a92fc9ac68) (uuid 3e7f3004-2604-4829-b7ff-04a92fc9ac68)
) )
@ -1749,15 +1871,15 @@
(effects (font (size 1.27 1.27)) (justify left)) (effects (font (size 1.27 1.27)) (justify left))
(uuid 62caf18f-d357-4125-8718-7c34f342a4b7) (uuid 62caf18f-d357-4125-8718-7c34f342a4b7)
) )
(hierarchical_label "TS_activate_MUXed" (shape output) (at 115.57 39.37 0) (fields_autoplaced) (hierarchical_label "TS_activate_MUXed" (shape output) (at 88.265 45.72 0) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify left)) (effects (font (size 1.27 1.27)) (justify left))
(uuid 87637124-8311-4cfe-8ae7-255e6dd15f19) (uuid 87637124-8311-4cfe-8ae7-255e6dd15f19)
) )
(hierarchical_label "AS_driving_mode" (shape input) (at 63.5 46.99 180) (fields_autoplaced) (hierarchical_label "AS_driving_mode" (shape input) (at 45.72 41.91 180) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify right)) (effects (font (size 1.27 1.27)) (justify right))
(uuid 97e37373-879c-4759-8173-caead95c885e) (uuid 97e37373-879c-4759-8173-caead95c885e)
) )
(hierarchical_label "TS_activate_ext" (shape input) (at 63.5 54.61 180) (fields_autoplaced) (hierarchical_label "TS_activate_ext" (shape input) (at 45.72 49.53 180) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify right)) (effects (font (size 1.27 1.27)) (justify right))
(uuid b9600200-ce68-46d5-adeb-0e7013133fa6) (uuid b9600200-ce68-46d5-adeb-0e7013133fa6)
) )
@ -1771,7 +1893,7 @@
) )
(symbol (lib_id "Device:C") (at 78.74 119.38 0) (unit 1) (symbol (lib_id "Device:C") (at 78.74 119.38 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp yes)
(uuid 00000000-0000-0000-0000-000061ab997b) (uuid 00000000-0000-0000-0000-000061ab997b)
(property "Reference" "C1" (at 81.661 118.2116 0) (property "Reference" "C1" (at 81.661 118.2116 0)
(effects (font (size 1.27 1.27)) (justify left)) (effects (font (size 1.27 1.27)) (justify left))
@ -1797,7 +1919,7 @@
) )
(symbol (lib_id "Device:C") (at 87.63 124.46 0) (unit 1) (symbol (lib_id "Device:C") (at 87.63 124.46 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp yes)
(uuid 00000000-0000-0000-0000-000061ab9981) (uuid 00000000-0000-0000-0000-000061ab9981)
(property "Reference" "C2" (at 90.551 123.2916 0) (property "Reference" "C2" (at 90.551 123.2916 0)
(effects (font (size 1.27 1.27)) (justify left)) (effects (font (size 1.27 1.27)) (justify left))
@ -1823,7 +1945,7 @@
) )
(symbol (lib_id "Custom:UCC2946") (at 114.3 118.11 0) (unit 1) (symbol (lib_id "Custom:UCC2946") (at 114.3 118.11 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp yes)
(uuid 00000000-0000-0000-0000-000061ab999d) (uuid 00000000-0000-0000-0000-000061ab999d)
(property "Reference" "U2" (at 109.855 127 0) (property "Reference" "U2" (at 109.855 127 0)
(effects (font (size 1.27 1.27))) (effects (font (size 1.27 1.27)))
@ -1855,7 +1977,7 @@
) )
(symbol (lib_id "Device:C") (at 118.11 105.41 90) (unit 1) (symbol (lib_id "Device:C") (at 118.11 105.41 90) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp yes)
(uuid 00000000-0000-0000-0000-000061ac3d4e) (uuid 00000000-0000-0000-0000-000061ac3d4e)
(property "Reference" "C3" (at 120.65 99.06 90) (property "Reference" "C3" (at 120.65 99.06 90)
(effects (font (size 1.27 1.27)) (justify left)) (effects (font (size 1.27 1.27)) (justify left))
@ -1907,7 +2029,7 @@
) )
(symbol (lib_id "Device:R") (at 87.63 83.185 0) (unit 1) (symbol (lib_id "Device:R") (at 87.63 83.185 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp yes)
(uuid 00000000-0000-0000-0000-000061af1f92) (uuid 00000000-0000-0000-0000-000061af1f92)
(property "Reference" "R4" (at 89.408 82.0166 0) (property "Reference" "R4" (at 89.408 82.0166 0)
(effects (font (size 1.27 1.27)) (justify left)) (effects (font (size 1.27 1.27)) (justify left))
@ -1958,7 +2080,7 @@
) )
(symbol (lib_id "Custom:MC74HC1G32") (at 185.42 127.635 0) (unit 1) (symbol (lib_id "Custom:MC74HC1G32") (at 185.42 127.635 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp yes)
(uuid 00000000-0000-0000-0000-000061b3fc7a) (uuid 00000000-0000-0000-0000-000061b3fc7a)
(property "Reference" "U6" (at 187.96 121.285 0) (property "Reference" "U6" (at 187.96 121.285 0)
(effects (font (size 1.27 1.27)) (justify left)) (effects (font (size 1.27 1.27)) (justify left))
@ -2062,7 +2184,7 @@
) )
(symbol (lib_id "Custom:74LV08D") (at 152.4 130.175 0) (unit 1) (symbol (lib_id "Custom:74LV08D") (at 152.4 130.175 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp yes)
(uuid 00000000-0000-0000-0000-000061b4b59a) (uuid 00000000-0000-0000-0000-000061b4b59a)
(property "Reference" "U4" (at 152.4 121.92 0) (property "Reference" "U4" (at 152.4 121.92 0)
(effects (font (size 1.27 1.27))) (effects (font (size 1.27 1.27)))
@ -2125,7 +2247,7 @@
) )
(symbol (lib_id "Custom:74LV08D") (at 237.49 74.93 0) (unit 2) (symbol (lib_id "Custom:74LV08D") (at 237.49 74.93 0) (unit 2)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp yes)
(uuid 00000000-0000-0000-0000-000061b52cb3) (uuid 00000000-0000-0000-0000-000061b52cb3)
(property "Reference" "U4" (at 237.49 66.675 0) (property "Reference" "U4" (at 237.49 66.675 0)
(effects (font (size 1.27 1.27))) (effects (font (size 1.27 1.27)))
@ -2163,7 +2285,7 @@
) )
(symbol (lib_id "Custom:74LV08D") (at 237.49 96.52 0) (unit 3) (symbol (lib_id "Custom:74LV08D") (at 237.49 96.52 0) (unit 3)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp yes)
(uuid 00000000-0000-0000-0000-000061b55cfd) (uuid 00000000-0000-0000-0000-000061b55cfd)
(property "Reference" "U4" (at 237.49 88.265 0) (property "Reference" "U4" (at 237.49 88.265 0)
(effects (font (size 1.27 1.27))) (effects (font (size 1.27 1.27)))
@ -2226,7 +2348,7 @@
) )
(symbol (lib_id "Custom:74LV08D") (at 254 146.05 0) (unit 5) (symbol (lib_id "Custom:74LV08D") (at 254 146.05 0) (unit 5)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp yes)
(uuid 00000000-0000-0000-0000-000061b58115) (uuid 00000000-0000-0000-0000-000061b58115)
(property "Reference" "U4" (at 243.84 144.78 0) (property "Reference" "U4" (at 243.84 144.78 0)
(effects (font (size 1.27 1.27)) (justify left)) (effects (font (size 1.27 1.27)) (justify left))
@ -2438,19 +2560,19 @@
) )
) )
(symbol (lib_id "Custom:NL17SZ157") (at 87.63 50.8 0) (unit 1) (symbol (lib_id "Custom:NL17SZ157") (at 69.85 45.72 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp no)
(uuid 00000000-0000-0000-0000-000061b6a3ba) (uuid 00000000-0000-0000-0000-000061b6a3ba)
(property "Reference" "U1" (at 93.98 43.18 0) (property "Reference" "U1" (at 76.2 38.1 0)
(effects (font (size 1.27 1.27)) (justify left)) (effects (font (size 1.27 1.27)) (justify left))
) )
(property "Value" "NL17SZ157" (at 93.98 45.72 0) (property "Value" "NL17SZ157" (at 76.2 40.64 0)
(effects (font (size 1.27 1.27)) (justify left)) (effects (font (size 1.27 1.27)) (justify left))
) )
(property "Footprint" "Package_TO_SOT_SMD:SOT-23-6_Handsoldering" (at 87.63 38.1 0) (property "Footprint" "Package_TO_SOT_SMD:SOT-23-6_Handsoldering" (at 69.85 33.02 0)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
(property "Datasheet" "https://www.mouser.de/datasheet/2/308/1/NL17SZ157_D-2318109.pdf" (at 87.63 38.1 0) (property "Datasheet" "https://www.mouser.de/datasheet/2/308/1/NL17SZ157_D-2318109.pdf" (at 69.85 33.02 0)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
(pin "1" (uuid c5f827aa-5389-4f97-a5c8-3c76d178ca14)) (pin "1" (uuid c5f827aa-5389-4f97-a5c8-3c76d178ca14))
@ -2493,19 +2615,19 @@
) )
) )
(symbol (lib_id "power:GND") (at 87.63 59.69 0) (unit 1) (symbol (lib_id "power:GND") (at 69.85 54.61 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp no)
(uuid 00000000-0000-0000-0000-000061b8f292) (uuid 00000000-0000-0000-0000-000061b8f292)
(property "Reference" "#PWR0116" (at 87.63 66.04 0) (property "Reference" "#PWR0116" (at 69.85 60.96 0)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
(property "Value" "GND" (at 87.757 64.0842 0) (property "Value" "GND" (at 69.977 59.0042 0)
(effects (font (size 1.27 1.27))) (effects (font (size 1.27 1.27)))
) )
(property "Footprint" "" (at 87.63 59.69 0) (property "Footprint" "" (at 69.85 54.61 0)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
(property "Datasheet" "" (at 87.63 59.69 0) (property "Datasheet" "" (at 69.85 54.61 0)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
(pin "1" (uuid 3c4acbf6-9eb4-4b4f-b5f3-91b13391342a)) (pin "1" (uuid 3c4acbf6-9eb4-4b4f-b5f3-91b13391342a))
@ -2596,7 +2718,7 @@
) )
(symbol (lib_id "Device:LED") (at 163.83 141.605 90) (unit 1) (symbol (lib_id "Device:LED") (at 163.83 141.605 90) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp yes)
(uuid 00000000-0000-0000-0000-000061ba7667) (uuid 00000000-0000-0000-0000-000061ba7667)
(property "Reference" "D13" (at 166.8272 140.6144 90) (property "Reference" "D13" (at 166.8272 140.6144 90)
(effects (font (size 1.27 1.27)) (justify right)) (effects (font (size 1.27 1.27)) (justify right))
@ -2622,7 +2744,7 @@
) )
(symbol (lib_id "Device:R") (at 163.83 133.985 180) (unit 1) (symbol (lib_id "Device:R") (at 163.83 133.985 180) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp yes)
(uuid 00000000-0000-0000-0000-000061ba766d) (uuid 00000000-0000-0000-0000-000061ba766d)
(property "Reference" "R22" (at 158.5722 133.985 90) (property "Reference" "R22" (at 158.5722 133.985 90)
(effects (font (size 1.27 1.27))) (effects (font (size 1.27 1.27)))
@ -2673,7 +2795,7 @@
) )
(symbol (lib_id "74xx:74HC74") (at 153.67 87.63 0) (unit 1) (symbol (lib_id "74xx:74HC74") (at 153.67 87.63 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp yes)
(uuid 00000000-0000-0000-0000-000061bb0aab) (uuid 00000000-0000-0000-0000-000061bb0aab)
(property "Reference" "U5" (at 156.21 78.105 0) (property "Reference" "U5" (at 156.21 78.105 0)
(effects (font (size 1.27 1.27))) (effects (font (size 1.27 1.27)))
@ -2711,7 +2833,7 @@
) )
(symbol (lib_id "Device:LED") (at 220.98 128.27 270) (mirror x) (unit 1) (symbol (lib_id "Device:LED") (at 220.98 128.27 270) (mirror x) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp yes)
(uuid 00000000-0000-0000-0000-000061bb2543) (uuid 00000000-0000-0000-0000-000061bb2543)
(property "Reference" "D11" (at 215.9 127 90) (property "Reference" "D11" (at 215.9 127 90)
(effects (font (size 1.27 1.27)) (justify left)) (effects (font (size 1.27 1.27)) (justify left))
@ -2737,7 +2859,7 @@
) )
(symbol (lib_id "Device:R") (at 220.98 120.65 0) (mirror y) (unit 1) (symbol (lib_id "Device:R") (at 220.98 120.65 0) (mirror y) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp yes)
(uuid 00000000-0000-0000-0000-000061bb2549) (uuid 00000000-0000-0000-0000-000061bb2549)
(property "Reference" "R20" (at 222.25 119.38 0) (property "Reference" "R20" (at 222.25 119.38 0)
(effects (font (size 1.27 1.27)) (justify right)) (effects (font (size 1.27 1.27)) (justify right))
@ -2788,7 +2910,7 @@
) )
(symbol (lib_id "74xx:74HC74") (at 213.36 114.3 0) (unit 2) (symbol (lib_id "74xx:74HC74") (at 213.36 114.3 0) (unit 2)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp yes)
(uuid 00000000-0000-0000-0000-000061bb6a7c) (uuid 00000000-0000-0000-0000-000061bb6a7c)
(property "Reference" "U5" (at 215.9 104.775 0) (property "Reference" "U5" (at 215.9 104.775 0)
(effects (font (size 1.27 1.27))) (effects (font (size 1.27 1.27)))
@ -2826,7 +2948,7 @@
) )
(symbol (lib_id "74xx:74HC74") (at 266.7 146.05 0) (unit 3) (symbol (lib_id "74xx:74HC74") (at 266.7 146.05 0) (unit 3)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp yes)
(uuid 00000000-0000-0000-0000-000061bbbbbc) (uuid 00000000-0000-0000-0000-000061bbbbbc)
(property "Reference" "U5" (at 272.542 144.8816 0) (property "Reference" "U5" (at 272.542 144.8816 0)
(effects (font (size 1.27 1.27)) (justify left)) (effects (font (size 1.27 1.27)) (justify left))
@ -2864,7 +2986,7 @@
) )
(symbol (lib_id "Device:C") (at 250.19 133.35 90) (unit 1) (symbol (lib_id "Device:C") (at 250.19 133.35 90) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp yes)
(uuid 00000000-0000-0000-0000-000061bbbc44) (uuid 00000000-0000-0000-0000-000061bbbc44)
(property "Reference" "C21" (at 251.46 127 90) (property "Reference" "C21" (at 251.46 127 90)
(effects (font (size 1.27 1.27)) (justify left)) (effects (font (size 1.27 1.27)) (justify left))
@ -2915,7 +3037,7 @@
) )
(symbol (lib_id "Device:LED") (at 180.34 90.17 180) (unit 1) (symbol (lib_id "Device:LED") (at 180.34 90.17 180) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp yes)
(uuid 00000000-0000-0000-0000-000061bbdc01) (uuid 00000000-0000-0000-0000-000061bbdc01)
(property "Reference" "D9" (at 179.3494 87.1728 90) (property "Reference" "D9" (at 179.3494 87.1728 90)
(effects (font (size 1.27 1.27)) (justify right)) (effects (font (size 1.27 1.27)) (justify right))
@ -2941,7 +3063,7 @@
) )
(symbol (lib_id "Device:R") (at 172.72 90.17 90) (unit 1) (symbol (lib_id "Device:R") (at 172.72 90.17 90) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp yes)
(uuid 00000000-0000-0000-0000-000061bbdc07) (uuid 00000000-0000-0000-0000-000061bbdc07)
(property "Reference" "R18" (at 172.72 84.9122 90) (property "Reference" "R18" (at 172.72 84.9122 90)
(effects (font (size 1.27 1.27))) (effects (font (size 1.27 1.27)))
@ -2992,7 +3114,7 @@
) )
(symbol (lib_id "Device:C") (at 262.89 133.35 90) (unit 1) (symbol (lib_id "Device:C") (at 262.89 133.35 90) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp yes)
(uuid 00000000-0000-0000-0000-000061bbe914) (uuid 00000000-0000-0000-0000-000061bbe914)
(property "Reference" "C22" (at 264.16 127 90) (property "Reference" "C22" (at 264.16 127 90)
(effects (font (size 1.27 1.27)) (justify left)) (effects (font (size 1.27 1.27)) (justify left))
@ -3093,7 +3215,7 @@
) )
(symbol (lib_id "Device:C") (at 181.61 120.015 90) (unit 1) (symbol (lib_id "Device:C") (at 181.61 120.015 90) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp yes)
(uuid 00000000-0000-0000-0000-000061bc6966) (uuid 00000000-0000-0000-0000-000061bc6966)
(property "Reference" "C20" (at 182.88 113.665 90) (property "Reference" "C20" (at 182.88 113.665 90)
(effects (font (size 1.27 1.27)) (justify left)) (effects (font (size 1.27 1.27)) (justify left))
@ -3169,7 +3291,7 @@
) )
(symbol (lib_id "Device:C") (at 149.86 45.72 270) (mirror x) (unit 1) (symbol (lib_id "Device:C") (at 149.86 45.72 270) (mirror x) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp yes)
(uuid 00000000-0000-0000-0000-000061bcff54) (uuid 00000000-0000-0000-0000-000061bcff54)
(property "Reference" "C18" (at 148.59 39.37 90) (property "Reference" "C18" (at 148.59 39.37 90)
(effects (font (size 1.27 1.27)) (justify left)) (effects (font (size 1.27 1.27)) (justify left))
@ -3219,19 +3341,19 @@
) )
) )
(symbol (lib_id "power:+3.3V") (at 87.63 40.64 0) (unit 1) (symbol (lib_id "power:+3.3V") (at 69.85 35.56 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp no)
(uuid 00000000-0000-0000-0000-000061bd93e2) (uuid 00000000-0000-0000-0000-000061bd93e2)
(property "Reference" "#PWR0153" (at 87.63 44.45 0) (property "Reference" "#PWR0153" (at 69.85 39.37 0)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
(property "Value" "+3.3V" (at 88.9 36.83 0) (property "Value" "+3.3V" (at 71.12 31.75 0)
(effects (font (size 1.27 1.27))) (effects (font (size 1.27 1.27)))
) )
(property "Footprint" "" (at 87.63 40.64 0) (property "Footprint" "" (at 69.85 35.56 0)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
(property "Datasheet" "" (at 87.63 40.64 0) (property "Datasheet" "" (at 69.85 35.56 0)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
(pin "1" (uuid 22a78d23-81e7-4933-9837-b018cc813b46)) (pin "1" (uuid 22a78d23-81e7-4933-9837-b018cc813b46))
@ -3244,19 +3366,19 @@
) )
) )
(symbol (lib_id "Device:C") (at 83.82 40.64 90) (unit 1) (symbol (lib_id "Device:C") (at 66.04 35.56 90) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp no)
(uuid 00000000-0000-0000-0000-000061bd93e8) (uuid 00000000-0000-0000-0000-000061bd93e8)
(property "Reference" "C16" (at 83.82 34.29 90) (property "Reference" "C16" (at 66.04 29.21 90)
(effects (font (size 1.27 1.27)) (justify left)) (effects (font (size 1.27 1.27)) (justify left))
) )
(property "Value" "100nF" (at 85.09 36.83 90) (property "Value" "100nF" (at 67.31 31.75 90)
(effects (font (size 1.27 1.27)) (justify left)) (effects (font (size 1.27 1.27)) (justify left))
) )
(property "Footprint" "Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder" (at 87.63 39.6748 0) (property "Footprint" "Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder" (at 69.85 34.5948 0)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
(property "Datasheet" "~" (at 83.82 40.64 0) (property "Datasheet" "~" (at 66.04 35.56 0)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
(pin "1" (uuid aac2f68e-1827-4341-b362-dc536c53cdfb)) (pin "1" (uuid aac2f68e-1827-4341-b362-dc536c53cdfb))
@ -3270,19 +3392,19 @@
) )
) )
(symbol (lib_id "power:GND") (at 80.01 40.64 0) (unit 1) (symbol (lib_id "power:GND") (at 62.23 35.56 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp no)
(uuid 00000000-0000-0000-0000-000061bd93ee) (uuid 00000000-0000-0000-0000-000061bd93ee)
(property "Reference" "#PWR0154" (at 80.01 46.99 0) (property "Reference" "#PWR0154" (at 62.23 41.91 0)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
(property "Value" "GND" (at 77.47 44.45 0) (property "Value" "GND" (at 59.69 39.37 0)
(effects (font (size 1.27 1.27))) (effects (font (size 1.27 1.27)))
) )
(property "Footprint" "" (at 80.01 40.64 0) (property "Footprint" "" (at 62.23 35.56 0)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
(property "Datasheet" "" (at 80.01 40.64 0) (property "Datasheet" "" (at 62.23 35.56 0)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
(pin "1" (uuid 6c9486c9-137e-41f8-8825-fa3da3a5de01)) (pin "1" (uuid 6c9486c9-137e-41f8-8825-fa3da3a5de01))
@ -3295,19 +3417,19 @@
) )
) )
(symbol (lib_id "Device:LED") (at 76.2 67.31 90) (unit 1) (symbol (lib_id "Device:LED") (at 58.42 62.23 90) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp no)
(uuid 00000000-0000-0000-0000-000061beed1b) (uuid 00000000-0000-0000-0000-000061beed1b)
(property "Reference" "D5" (at 79.1972 66.3194 90) (property "Reference" "D5" (at 61.4172 61.2394 90)
(effects (font (size 1.27 1.27)) (justify right)) (effects (font (size 1.27 1.27)) (justify right))
) )
(property "Value" "Yellow LED" (at 79.1972 68.6308 90) (property "Value" "Yellow LED" (at 61.4172 63.5508 90)
(effects (font (size 1.27 1.27)) (justify right)) (effects (font (size 1.27 1.27)) (justify right))
) )
(property "Footprint" "Diode_SMD:D_0603_1608Metric_Pad1.05x0.95mm_HandSolder" (at 76.2 67.31 0) (property "Footprint" "Diode_SMD:D_0603_1608Metric_Pad1.05x0.95mm_HandSolder" (at 58.42 62.23 0)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
(property "Datasheet" "~" (at 76.2 67.31 0) (property "Datasheet" "~" (at 58.42 62.23 0)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
(pin "1" (uuid efd04f2e-70e0-45b4-9160-0dca2b147891)) (pin "1" (uuid efd04f2e-70e0-45b4-9160-0dca2b147891))
@ -3321,19 +3443,19 @@
) )
) )
(symbol (lib_id "Device:R") (at 76.2 59.69 0) (unit 1) (symbol (lib_id "Device:R") (at 58.42 54.61 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp no)
(uuid 00000000-0000-0000-0000-000061beed21) (uuid 00000000-0000-0000-0000-000061beed21)
(property "Reference" "R15" (at 77.978 58.5216 0) (property "Reference" "R15" (at 60.198 53.4416 0)
(effects (font (size 1.27 1.27)) (justify left)) (effects (font (size 1.27 1.27)) (justify left))
) )
(property "Value" "510" (at 77.978 60.833 0) (property "Value" "510" (at 60.198 55.753 0)
(effects (font (size 1.27 1.27)) (justify left)) (effects (font (size 1.27 1.27)) (justify left))
) )
(property "Footprint" "Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder" (at 74.422 59.69 90) (property "Footprint" "Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder" (at 56.642 54.61 90)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
(property "Datasheet" "~" (at 76.2 59.69 0) (property "Datasheet" "~" (at 58.42 54.61 0)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
(pin "1" (uuid 8067db8b-f16f-4d64-9108-27fb85ba051d)) (pin "1" (uuid 8067db8b-f16f-4d64-9108-27fb85ba051d))
@ -3347,19 +3469,19 @@
) )
) )
(symbol (lib_id "power:GND") (at 76.2 71.12 0) (unit 1) (symbol (lib_id "power:GND") (at 58.42 66.04 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp no)
(uuid 00000000-0000-0000-0000-000061beed27) (uuid 00000000-0000-0000-0000-000061beed27)
(property "Reference" "#PWR0159" (at 76.2 77.47 0) (property "Reference" "#PWR0159" (at 58.42 72.39 0)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
(property "Value" "GND" (at 76.327 75.5142 0) (property "Value" "GND" (at 58.547 70.4342 0)
(effects (font (size 1.27 1.27))) (effects (font (size 1.27 1.27)))
) )
(property "Footprint" "" (at 76.2 71.12 0) (property "Footprint" "" (at 58.42 66.04 0)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
(property "Datasheet" "" (at 76.2 71.12 0) (property "Datasheet" "" (at 58.42 66.04 0)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
(pin "1" (uuid 09397f4e-8e16-4086-af99-5c0694e5f8e1)) (pin "1" (uuid 09397f4e-8e16-4086-af99-5c0694e5f8e1))
@ -3449,19 +3571,19 @@
) )
) )
(symbol (lib_id "Device:LED") (at 106.68 62.23 90) (unit 1) (symbol (lib_id "Device:LED") (at 84.455 57.15 90) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp no)
(uuid 00000000-0000-0000-0000-000061c53380) (uuid 00000000-0000-0000-0000-000061c53380)
(property "Reference" "D6" (at 109.6772 61.2394 90) (property "Reference" "D6" (at 87.4522 56.1594 90)
(effects (font (size 1.27 1.27)) (justify right)) (effects (font (size 1.27 1.27)) (justify right))
) )
(property "Value" "Red LED" (at 109.22 63.5 90) (property "Value" "Red LED" (at 86.995 58.42 90)
(effects (font (size 1.27 1.27)) (justify right)) (effects (font (size 1.27 1.27)) (justify right))
) )
(property "Footprint" "Diode_SMD:D_0603_1608Metric_Pad1.05x0.95mm_HandSolder" (at 106.68 62.23 0) (property "Footprint" "Diode_SMD:D_0603_1608Metric_Pad1.05x0.95mm_HandSolder" (at 84.455 57.15 0)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
(property "Datasheet" "~" (at 106.68 62.23 0) (property "Datasheet" "~" (at 84.455 57.15 0)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
(pin "1" (uuid 5c048a67-0a1d-4dcc-95e2-1a29cbd53ad4)) (pin "1" (uuid 5c048a67-0a1d-4dcc-95e2-1a29cbd53ad4))
@ -3475,19 +3597,19 @@
) )
) )
(symbol (lib_id "Device:R") (at 106.68 54.61 180) (unit 1) (symbol (lib_id "Device:R") (at 84.455 49.53 180) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp no)
(uuid 00000000-0000-0000-0000-000061c53386) (uuid 00000000-0000-0000-0000-000061c53386)
(property "Reference" "R16" (at 104.902 55.7784 0) (property "Reference" "R16" (at 82.677 50.6984 0)
(effects (font (size 1.27 1.27)) (justify left)) (effects (font (size 1.27 1.27)) (justify left))
) )
(property "Value" "510" (at 104.902 53.467 0) (property "Value" "510" (at 82.677 48.387 0)
(effects (font (size 1.27 1.27)) (justify left)) (effects (font (size 1.27 1.27)) (justify left))
) )
(property "Footprint" "Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder" (at 108.458 54.61 90) (property "Footprint" "Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder" (at 86.233 49.53 90)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
(property "Datasheet" "~" (at 106.68 54.61 0) (property "Datasheet" "~" (at 84.455 49.53 0)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
(pin "1" (uuid 11beb5e2-8971-4cf8-8b4e-edfc08ba4a30)) (pin "1" (uuid 11beb5e2-8971-4cf8-8b4e-edfc08ba4a30))
@ -3501,19 +3623,19 @@
) )
) )
(symbol (lib_id "power:GND") (at 106.68 66.04 0) (unit 1) (symbol (lib_id "power:GND") (at 84.455 60.96 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp no)
(uuid 00000000-0000-0000-0000-000061c5338c) (uuid 00000000-0000-0000-0000-000061c5338c)
(property "Reference" "#PWR0161" (at 106.68 72.39 0) (property "Reference" "#PWR0161" (at 84.455 67.31 0)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
(property "Value" "GND" (at 106.807 70.4342 0) (property "Value" "GND" (at 84.582 65.3542 0)
(effects (font (size 1.27 1.27))) (effects (font (size 1.27 1.27)))
) )
(property "Footprint" "" (at 106.68 66.04 0) (property "Footprint" "" (at 84.455 60.96 0)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
(property "Datasheet" "" (at 106.68 66.04 0) (property "Datasheet" "" (at 84.455 60.96 0)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
(pin "1" (uuid d35438f4-f88a-4521-9a5e-3679a33879db)) (pin "1" (uuid d35438f4-f88a-4521-9a5e-3679a33879db))
@ -3527,7 +3649,7 @@
) )
(symbol (lib_id "Custom:74LV08D") (at 156.845 184.15 0) (unit 4) (symbol (lib_id "Custom:74LV08D") (at 156.845 184.15 0) (unit 4)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) (in_bom yes) (on_board yes) (dnp yes) (fields_autoplaced)
(uuid 0fa5fdb2-a015-4b15-9d60-48716e9aa3dd) (uuid 0fa5fdb2-a015-4b15-9d60-48716e9aa3dd)
(property "Reference" "U4" (at 156.845 175.26 0) (property "Reference" "U4" (at 156.845 175.26 0)
(effects (font (size 1.27 1.27))) (effects (font (size 1.27 1.27)))
@ -3535,7 +3657,7 @@
(property "Value" "74LV08D" (at 156.845 177.8 0) (property "Value" "74LV08D" (at 156.845 177.8 0)
(effects (font (size 1.27 1.27))) (effects (font (size 1.27 1.27)))
) )
(property "Footprint" "" (at 156.845 184.15 0) (property "Footprint" "Package_SO:SOIC-14_3.9x8.7mm_P1.27mm" (at 156.845 184.15 0)
(effects (font (size 1.27 1.27)) hide) (effects (font (size 1.27 1.27)) hide)
) )
(property "Datasheet" "https://www.mouser.de/datasheet/2/916/74LV08-1388983.pdf" (at 156.845 184.15 0) (property "Datasheet" "https://www.mouser.de/datasheet/2/916/74LV08-1388983.pdf" (at 156.845 184.15 0)
@ -3590,7 +3712,7 @@
) )
(symbol (lib_id "Jumper:SolderJumper_3_Open") (at 125.73 132.715 90) (unit 1) (symbol (lib_id "Jumper:SolderJumper_3_Open") (at 125.73 132.715 90) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp yes)
(uuid 4b77ccc8-1969-41e6-92c2-fa377afcc5f0) (uuid 4b77ccc8-1969-41e6-92c2-fa377afcc5f0)
(property "Reference" "JPWD1" (at 132.715 131.445 90) (property "Reference" "JPWD1" (at 132.715 131.445 90)
(effects (font (size 1.27 1.27)) (justify left)) (effects (font (size 1.27 1.27)) (justify left))
@ -3617,7 +3739,7 @@
) )
(symbol (lib_id "Device:Q_NMOS_GSD") (at 66.675 92.075 0) (unit 1) (symbol (lib_id "Device:Q_NMOS_GSD") (at 66.675 92.075 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) (in_bom yes) (on_board yes) (dnp yes) (fields_autoplaced)
(uuid 4e41913d-554d-4fef-ab12-5cf49ff92fe9) (uuid 4e41913d-554d-4fef-ab12-5cf49ff92fe9)
(property "Reference" "Q1" (at 72.39 90.8049 0) (property "Reference" "Q1" (at 72.39 90.8049 0)
(effects (font (size 1.27 1.27)) (justify left)) (effects (font (size 1.27 1.27)) (justify left))
@ -3694,7 +3816,7 @@
) )
(symbol (lib_id "Device:R") (at 58.42 95.885 180) (unit 1) (symbol (lib_id "Device:R") (at 58.42 95.885 180) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp yes)
(uuid 8f71050d-1281-4790-86a1-8c49701f900c) (uuid 8f71050d-1281-4790-86a1-8c49701f900c)
(property "Reference" "R11" (at 56.642 97.0534 0) (property "Reference" "R11" (at 56.642 97.0534 0)
(effects (font (size 1.27 1.27)) (justify left)) (effects (font (size 1.27 1.27)) (justify left))
@ -3745,7 +3867,7 @@
) )
(symbol (lib_id "Device:C") (at 58.42 88.265 180) (unit 1) (symbol (lib_id "Device:C") (at 58.42 88.265 180) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp yes)
(uuid b3bad86d-489c-44e7-b8dc-69f654b10b8e) (uuid b3bad86d-489c-44e7-b8dc-69f654b10b8e)
(property "Reference" "C19" (at 55.499 89.4334 0) (property "Reference" "C19" (at 55.499 89.4334 0)
(effects (font (size 1.27 1.27)) (justify left)) (effects (font (size 1.27 1.27)) (justify left))
@ -3771,7 +3893,7 @@
) )
(symbol (lib_id "Jumper:SolderJumper_3_Open") (at 132.715 104.14 90) (unit 1) (symbol (lib_id "Jumper:SolderJumper_3_Open") (at 132.715 104.14 90) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (in_bom yes) (on_board yes) (dnp yes)
(uuid bc91c35c-1d16-4949-b648-08c347e641ea) (uuid bc91c35c-1d16-4949-b648-08c347e641ea)
(property "Reference" "JPPoR1" (at 140.97 102.235 90) (property "Reference" "JPPoR1" (at 140.97 102.235 90)
(effects (font (size 1.27 1.27)) (justify left)) (effects (font (size 1.27 1.27)) (justify left))
@ -3796,4 +3918,33 @@
) )
) )
) )
(symbol (lib_id "Custom:MC74HC1G00") (at 146.05 53.34 0) (unit 1)
(in_bom yes) (on_board yes) (dnp yes) (fields_autoplaced)
(uuid e07ead91-c3fb-4e75-9c8b-42a4a1622726)
(property "Reference" "U3" (at 157.48 50.1651 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "MC74HC1G00" (at 157.48 52.7051 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "Package_TO_SOT_SMD:SOT-23-5_HandSoldering" (at 146.05 53.34 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "https://www.mouser.de/datasheet/2/308/1/MC74HC1G00_D-2315437.pdf" (at 146.05 53.34 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 0f2a18e9-9d55-4573-b201-a74f66f54fc6))
(pin "2" (uuid 647b930c-1300-4884-ae2f-e7d617e36aa5))
(pin "3" (uuid fd7e1807-9102-4350-9b11-2cf85dfd843d))
(pin "4" (uuid 881d8fa3-3f4a-4e84-b863-37963ebcfc7e))
(pin "5" (uuid 45523909-cb49-43d8-b1d9-5bf870995d85))
(instances
(project "SDCL"
(path "/bcec61a8-2c2c-45a3-8515-40c63927a0a2/00000000-0000-0000-0000-000061a897b7"
(reference "U3") (unit 1)
)
)
)
)
) )