mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-02-28 11:54:30 +03:00
hide deprecated code; make USB snippet common for F0/F1/F3
This commit is contained in:
8
F0:F030,F042,F072/deprecated/usbcan/Makefile
Normal file
8
F0:F030,F042,F072/deprecated/usbcan/Makefile
Normal file
@@ -0,0 +1,8 @@
|
||||
BINARY := usbcan
|
||||
# MCU code
|
||||
MCU := F042x6
|
||||
# change this linking script depending on particular MCU model,
|
||||
LDSCRIPT := stm32f042k.ld
|
||||
|
||||
include ../makefile.f0
|
||||
include ../../makefile.stm32
|
||||
147
F0:F030,F042,F072/deprecated/usbcan/Makefile.old
Normal file
147
F0:F030,F042,F072/deprecated/usbcan/Makefile.old
Normal file
@@ -0,0 +1,147 @@
|
||||
BINARY = usbcan
|
||||
BOOTPORT ?= /dev/ttyUSB0
|
||||
BOOTSPEED ?= 57600
|
||||
# MCU FAMILY
|
||||
FAMILY = F0
|
||||
# MCU code
|
||||
MCU = F042x6
|
||||
# hardware definitions
|
||||
#DEFS += -DEBUG
|
||||
# change this linking script depending on particular MCU model,
|
||||
# for example, if you have STM32F103VBT6, you should write:
|
||||
LDSCRIPT = stm32f042k.ld
|
||||
|
||||
INDEPENDENT_HEADERS=
|
||||
|
||||
FP_FLAGS ?= -msoft-float
|
||||
ASM_FLAGS = -mthumb -mcpu=cortex-m0 -march=armv6-m -mtune=cortex-m0
|
||||
ARCH_FLAGS = $(ASM_FLAGS) $(FP_FLAGS)
|
||||
|
||||
###############################################################################
|
||||
# Executables
|
||||
OPREFIX ?= /opt/bin/arm-none-eabi
|
||||
#PREFIX ?= /usr/x86_64-pc-linux-gnu/arm-none-eabi/gcc-bin/7.3.0/arm-none-eabi
|
||||
PREFIX ?= $(OPREFIX)
|
||||
|
||||
RM := rm -f
|
||||
RMDIR := rmdir
|
||||
CC := $(PREFIX)-gcc
|
||||
LD := $(PREFIX)-gcc
|
||||
AR := $(PREFIX)-ar
|
||||
AS := $(PREFIX)-as
|
||||
OBJCOPY := $(OPREFIX)-objcopy
|
||||
OBJDUMP := $(OPREFIX)-objdump
|
||||
GDB := $(OPREFIX)-gdb
|
||||
STFLASH := $(shell which st-flash)
|
||||
STBOOT := $(shell which stm32flash)
|
||||
DFUUTIL := $(shell which dfu-util)
|
||||
|
||||
###############################################################################
|
||||
# Source files
|
||||
OBJDIR = mk
|
||||
LDSCRIPT ?= $(BINARY).ld
|
||||
SRC := $(wildcard *.c)
|
||||
OBJS := $(addprefix $(OBJDIR)/, $(SRC:%.c=%.o))
|
||||
STARTUP = $(OBJDIR)/startup.o
|
||||
OBJS += $(STARTUP)
|
||||
DEPS := $(OBJS:.o=.d)
|
||||
|
||||
INC_DIR ?= ../inc
|
||||
|
||||
INCLUDE := -I$(INC_DIR)/Fx -I$(INC_DIR)/cm
|
||||
LIB_DIR := $(INC_DIR)/ld
|
||||
|
||||
###############################################################################
|
||||
# C flags
|
||||
CFLAGS += -O2 -g -MD -D__thumb2__=1
|
||||
CFLAGS += -Wall -Werror -Wextra -Wshadow -Wimplicit-function-declaration
|
||||
CFLAGS += -Wredundant-decls $(INCLUDE)
|
||||
# -Wmissing-prototypes -Wstrict-prototypes
|
||||
CFLAGS += -fno-common -ffunction-sections -fdata-sections
|
||||
|
||||
###############################################################################
|
||||
# Linker flags
|
||||
LDFLAGS += --static -nostartfiles
|
||||
#--specs=nano.specs
|
||||
LDFLAGS += -L$(LIB_DIR)
|
||||
LDFLAGS += -T$(LDSCRIPT)
|
||||
LDFLAGS += -Wl,-Map=$(OBJDIR)/$(BINARY).map
|
||||
LDFLAGS += -Wl,--gc-sections
|
||||
|
||||
###############################################################################
|
||||
# Used libraries
|
||||
LDLIBS += -Wl,--start-group -lc -lgcc -Wl,--end-group
|
||||
LDLIBS += $(shell $(CC) $(CFLAGS) -print-libgcc-file-name)
|
||||
|
||||
DEFS += -DSTM32$(FAMILY) -DSTM32$(MCU)
|
||||
|
||||
#.SUFFIXES: .elf .bin .hex .srec .list .map .images
|
||||
#.SECONDEXPANSION:
|
||||
#.SECONDARY:
|
||||
|
||||
ELF := $(OBJDIR)/$(BINARY).elf
|
||||
LIST := $(OBJDIR)/$(BINARY).list
|
||||
BIN := $(BINARY).bin
|
||||
HEX := $(BINARY).hex
|
||||
|
||||
all: bin list
|
||||
|
||||
elf: $(ELF)
|
||||
bin: $(BIN)
|
||||
hex: $(HEX)
|
||||
list: $(LIST)
|
||||
|
||||
ifneq ($(MAKECMDGOALS),clean)
|
||||
-include $(DEPS)
|
||||
endif
|
||||
|
||||
$(OBJDIR):
|
||||
mkdir $(OBJDIR)
|
||||
|
||||
$(STARTUP): $(INC_DIR)/startup/vector.c
|
||||
$(CC) $(CFLAGS) $(DEFS) $(INCLUDE) $(ARCH_FLAGS) -o $@ -c $<
|
||||
|
||||
$(OBJDIR)/%.o: %.c
|
||||
@echo " CC $<"
|
||||
$(CC) $(CFLAGS) $(DEFS) $(INCLUDE) $(ARCH_FLAGS) -o $@ -c $<
|
||||
|
||||
#$(OBJDIR)/%.d: %.c $(OBJDIR)
|
||||
# $(CC) -MM -MG $< | sed -e 's,^\([^:]*\)\.o[ ]*:,$(@D)/\1.o $(@D)/\1.d:,' >$@
|
||||
|
||||
$(BIN): $(ELF)
|
||||
@echo " OBJCOPY $(BIN)"
|
||||
$(OBJCOPY) -Obinary $(ELF) $(BIN)
|
||||
|
||||
$(HEX): $(ELF)
|
||||
@echo " OBJCOPY $(HEX)"
|
||||
$(OBJCOPY) -Oihex $(ELF) $(HEX)
|
||||
|
||||
$(LIST): $(ELF)
|
||||
@echo " OBJDUMP $(LIST)"
|
||||
$(OBJDUMP) -S $(ELF) > $(LIST)
|
||||
|
||||
$(ELF): $(OBJDIR) $(OBJS)
|
||||
@echo " LD $(ELF)"
|
||||
$(LD) $(LDFLAGS) $(ARCH_FLAGS) $(OBJS) $(LDLIBS) -o $(ELF)
|
||||
|
||||
clean:
|
||||
@echo " CLEAN"
|
||||
$(RM) $(OBJS) $(DEPS) $(ELF) $(HEX) $(LIST) $(OBJDIR)/*.map *.d
|
||||
@rmdir $(OBJDIR) 2>/dev/null || true
|
||||
|
||||
dfuboot: $(BIN)
|
||||
@echo " LOAD $(BIN) THROUGH DFU"
|
||||
$(DFUUTIL) -a0 -D $(BIN) -s 0x08000000
|
||||
|
||||
flash: $(BIN)
|
||||
@echo " FLASH $(BIN)"
|
||||
$(STFLASH) write $(BIN) 0x8000000
|
||||
|
||||
boot: $(BIN)
|
||||
@echo " LOAD $(BIN) through bootloader"
|
||||
$(STBOOT) -b$(BOOTSPEED) $(BOOTPORT) -w $(BIN)
|
||||
|
||||
gentags:
|
||||
CFLAGS="$(CFLAGS) $(DEFS)" geany -g $(BINARY).c.tags *[hc] 2>/dev/null
|
||||
|
||||
.PHONY: clean flash boot gentags
|
||||
10
F0:F030,F042,F072/deprecated/usbcan/Readme.md
Normal file
10
F0:F030,F042,F072/deprecated/usbcan/Readme.md
Normal file
@@ -0,0 +1,10 @@
|
||||
Simple code for CAN/USB development board
|
||||
Simultaneous work of USB CDC (PL2303 emulation) and CAN
|
||||
|
||||
Pinout:
|
||||
PB0 - LED0 - short blink when message received
|
||||
PB1 - LED1 - shine when line OK
|
||||
|
||||
PB8, PB9 - CAN Rx/Tx
|
||||
|
||||
PA11. PA12 - USB DM/DP
|
||||
376
F0:F030,F042,F072/deprecated/usbcan/can.c
Normal file
376
F0:F030,F042,F072/deprecated/usbcan/can.c
Normal file
@@ -0,0 +1,376 @@
|
||||
/*
|
||||
* geany_encoding=koi8-r
|
||||
* can.c
|
||||
*
|
||||
* Copyright 2018 Edward V. Emelianov <eddy@sao.ru, edward.emelianoff@gmail.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
* MA 02110-1301, USA.
|
||||
*
|
||||
*/
|
||||
#include "can.h"
|
||||
#include "hardware.h"
|
||||
#include "proto.h"
|
||||
|
||||
#include <string.h> // memcpy
|
||||
|
||||
// circular buffer for received messages
|
||||
static CAN_message messages[CAN_INMESSAGE_SIZE];
|
||||
static uint8_t first_free_idx = 0; // index of first empty cell
|
||||
static int8_t first_nonfree_idx = -1; // index of first data cell
|
||||
static uint16_t oldspeed = 100; // speed of last init
|
||||
|
||||
#ifdef EBUG
|
||||
static uint32_t last_err_code = 0;
|
||||
#endif
|
||||
static CAN_status can_status = CAN_STOP;
|
||||
|
||||
static void can_process_fifo(uint8_t fifo_num);
|
||||
|
||||
static CAN_message loc_flood_msg;
|
||||
static CAN_message *flood_msg = NULL; // == loc_flood_msg - to flood
|
||||
|
||||
CAN_status CAN_get_status(){
|
||||
CAN_status st = can_status;
|
||||
// give overrun message only once
|
||||
#ifdef EBUG
|
||||
if(st == CAN_FIFO_OVERRUN) MSG("fifo 0 overrun\n");
|
||||
#endif
|
||||
if(st == CAN_FIFO_OVERRUN){
|
||||
SEND("FIFO overrun\n");
|
||||
can_status = CAN_READY;
|
||||
}
|
||||
return st;
|
||||
}
|
||||
|
||||
// push next message into buffer; return 1 if buffer overfull
|
||||
static int CAN_messagebuf_push(CAN_message *msg){
|
||||
//MSG("Try to push\n");
|
||||
#ifdef EBUG
|
||||
SEND("push\n");
|
||||
#endif
|
||||
if(first_free_idx == first_nonfree_idx){
|
||||
#ifdef EBUG
|
||||
SEND("INBUF OVERFULL\n");
|
||||
#endif
|
||||
return 1; // no free space
|
||||
}
|
||||
if(first_nonfree_idx < 0) first_nonfree_idx = 0; // first message in empty buffer
|
||||
memcpy(&messages[first_free_idx++], msg, sizeof(CAN_message));
|
||||
// need to roll?
|
||||
if(first_free_idx == CAN_INMESSAGE_SIZE) first_free_idx = 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
// pop message from buffer
|
||||
CAN_message *CAN_messagebuf_pop(){
|
||||
if(first_nonfree_idx < 0) return NULL;
|
||||
#ifdef EBUG
|
||||
//MSG("read from idx "); printu(first_nonfree_idx); NL();
|
||||
#endif
|
||||
CAN_message *msg = &messages[first_nonfree_idx++];
|
||||
if(first_nonfree_idx == CAN_INMESSAGE_SIZE) first_nonfree_idx = 0;
|
||||
if(first_nonfree_idx == first_free_idx){ // buffer is empty - refresh it
|
||||
first_nonfree_idx = -1;
|
||||
first_free_idx = 0;
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
void CAN_reinit(uint16_t speed){
|
||||
CAN->TSR |= CAN_TSR_ABRQ0 | CAN_TSR_ABRQ1 | CAN_TSR_ABRQ2;
|
||||
RCC->APB1RSTR |= RCC_APB1RSTR_CANRST;
|
||||
RCC->APB1RSTR &= ~RCC_APB1RSTR_CANRST;
|
||||
CAN_setup(speed);
|
||||
}
|
||||
|
||||
/*
|
||||
Can filtering: FSCx=0 (CAN->FS1R) -> 16-bit identifiers
|
||||
MASK: FBMx=0 (CAN->FM1R), two filters (n in FR1 and n+1 in FR2)
|
||||
ID: CAN->sFilterRegister[x].FRn[0..15]
|
||||
MASK: CAN->sFilterRegister[x].FRn[16..31]
|
||||
FR bits: STID[10:0] RTR IDE EXID[17:15]
|
||||
LIST: FBMx=1, four filters (n&n+1 in FR1, n+2&n+3 in FR2)
|
||||
IDn: CAN->sFilterRegister[x].FRn[0..15]
|
||||
IDn+1: CAN->sFilterRegister[x].FRn[16..31]
|
||||
*/
|
||||
|
||||
/*
|
||||
Can timing: main freq - APB (PLL=48MHz)
|
||||
segment = 1sync + TBS1 + TBS2, sample point is between TBS1 and TBS2,
|
||||
so if TBS1=4 and TBS2=3, sum=8, bit sampling freq is 48/8 = 6MHz
|
||||
-> to get 100kbps we need prescaler=60
|
||||
250kbps - 24
|
||||
500kbps - 12
|
||||
1MBps - 6
|
||||
*/
|
||||
|
||||
// speed - in kbps
|
||||
void CAN_setup(uint16_t speed){
|
||||
LED_off(LED1);
|
||||
if(speed == 0) speed = oldspeed;
|
||||
else if(speed < 50) speed = 50;
|
||||
else if(speed > 3000) speed = 3000;
|
||||
oldspeed = speed;
|
||||
uint32_t tmout = 16000000;
|
||||
// Configure GPIO: PB8 - CAN_Rx, PB9 - CAN_Tx
|
||||
/* (1) Select AF mode (10) on PB8 and PB9 */
|
||||
/* (2) AF4 for CAN signals */
|
||||
GPIOB->MODER = (GPIOB->MODER & ~(GPIO_MODER_MODER8 | GPIO_MODER_MODER9))
|
||||
| (GPIO_MODER_MODER8_AF | GPIO_MODER_MODER9_AF); /* (1) */
|
||||
GPIOB->AFR[1] = (GPIOB->AFR[1] &~ (GPIO_AFRH_AFRH0 | GPIO_AFRH_AFRH1))\
|
||||
| (4 << (0 * 4)) | (4 << (1 * 4)); /* (2) */
|
||||
/* Enable the peripheral clock CAN */
|
||||
RCC->APB1ENR |= RCC_APB1ENR_CANEN;
|
||||
/* Configure CAN */
|
||||
/* (1) Enter CAN init mode to write the configuration */
|
||||
/* (2) Wait the init mode entering */
|
||||
/* (3) Exit sleep mode */
|
||||
/* (4) Normal mode, set timing to 100kb/s: TBS1 = 4, TBS2 = 3, prescaler = 60 */
|
||||
/* (5) Leave init mode */
|
||||
/* (6) Wait the init mode leaving */
|
||||
/* (7) Enter filter init mode, (16-bit + mask, bank 0 for FIFO 0) */
|
||||
/* (8) Acivate filter 0 for two IDs */
|
||||
/* (9) Identifier list mode */
|
||||
/* (10) Set the Id list */
|
||||
/* (12) Leave filter init */
|
||||
/* (13) Set error interrupts enable */
|
||||
CAN->MCR |= CAN_MCR_INRQ; /* (1) */
|
||||
while((CAN->MSR & CAN_MSR_INAK)!=CAN_MSR_INAK) /* (2) */
|
||||
{
|
||||
if(--tmout == 0) break;
|
||||
}
|
||||
CAN->MCR &=~ CAN_MCR_SLEEP; /* (3) */
|
||||
CAN->MCR |= CAN_MCR_ABOM; /* allow automatically bus-off */
|
||||
|
||||
CAN->BTR = 2 << 20 | 3 << 16 | (6000/speed - 1); /* (4) */
|
||||
CAN->MCR &=~ CAN_MCR_INRQ; /* (5) */
|
||||
tmout = 16000000;
|
||||
while((CAN->MSR & CAN_MSR_INAK)==CAN_MSR_INAK) if(--tmout == 0) break; /* (6) */
|
||||
// accept ALL
|
||||
CAN->FMR = CAN_FMR_FINIT; /* (7) */
|
||||
CAN->FA1R = CAN_FA1R_FACT0 | CAN_FA1R_FACT1; /* (8) */
|
||||
// set to 1 all needed bits of CAN->FFA1R to switch given filters to FIFO1
|
||||
CAN->sFilterRegister[0].FR1 = (1<<21)|(1<<5); // all odd IDs
|
||||
CAN->FFA1R = 2; // filter 1 for FIFO1, filter 0 - for FIFO0
|
||||
CAN->sFilterRegister[1].FR1 = (1<<21); // all even IDs
|
||||
CAN->FMR &= ~CAN_FMR_FINIT; /* (12) */
|
||||
CAN->IER |= CAN_IER_ERRIE | CAN_IER_FOVIE0 | CAN_IER_FOVIE1; /* (13) */
|
||||
|
||||
/* Configure IT */
|
||||
/* (14) Set priority for CAN_IRQn */
|
||||
/* (15) Enable CAN_IRQn */
|
||||
NVIC_SetPriority(CEC_CAN_IRQn, 0); /* (14) */
|
||||
NVIC_EnableIRQ(CEC_CAN_IRQn); /* (15) */
|
||||
can_status = CAN_READY;
|
||||
}
|
||||
|
||||
void can_proc(){
|
||||
#ifdef EBUG
|
||||
if(last_err_code){
|
||||
MSG("Error, ESR=");
|
||||
printu(last_err_code);
|
||||
NL();
|
||||
last_err_code = 0;
|
||||
}
|
||||
#endif
|
||||
// check for messages in FIFO0 & FIFO1
|
||||
if(CAN->RF0R & CAN_RF0R_FMP0){
|
||||
can_process_fifo(0);
|
||||
}
|
||||
if(CAN->RF1R & CAN_RF1R_FMP1){
|
||||
can_process_fifo(1);
|
||||
}
|
||||
IWDG->KR = IWDG_REFRESH;
|
||||
if(CAN->ESR & (CAN_ESR_BOFF | CAN_ESR_EPVF | CAN_ESR_EWGF)){ // much errors - restart CAN BUS
|
||||
SEND("\nToo much errors, restarting CAN!\n");
|
||||
SEND("Receive error counter: ");
|
||||
printu((CAN->ESR & CAN_ESR_REC)>>24);
|
||||
SEND("\nTransmit error counter: ");
|
||||
printu((CAN->ESR & CAN_ESR_TEC)>>16);
|
||||
SEND("\nLast error code: ");
|
||||
int lec = (CAN->ESR & CAN_ESR_LEC) >> 4;
|
||||
const char *errmsg = "No";
|
||||
switch(lec){
|
||||
case 1: errmsg = "Stuff"; break;
|
||||
case 2: errmsg = "Form"; break;
|
||||
case 3: errmsg = "Ack"; break;
|
||||
case 4: errmsg = "Bit recessive"; break;
|
||||
case 5: errmsg = "Bit dominant"; break;
|
||||
case 6: errmsg = "CRC"; break;
|
||||
case 7: errmsg = "(set by software)"; break;
|
||||
}
|
||||
SEND(errmsg); SEND(" error\n");
|
||||
if(CAN->ESR & CAN_ESR_BOFF) SEND("Bus off ");
|
||||
if(CAN->ESR & CAN_ESR_EPVF) SEND("Passive error limit ");
|
||||
if(CAN->ESR & CAN_ESR_EWGF) SEND("Error counter limit");
|
||||
NL();
|
||||
// request abort for all mailboxes
|
||||
CAN->TSR |= CAN_TSR_ABRQ0 | CAN_TSR_ABRQ1 | CAN_TSR_ABRQ2;
|
||||
// reset CAN bus
|
||||
RCC->APB1RSTR |= RCC_APB1RSTR_CANRST;
|
||||
RCC->APB1RSTR &= ~RCC_APB1RSTR_CANRST;
|
||||
CAN_setup(0);
|
||||
}
|
||||
static uint32_t lastFloodTime = 0;
|
||||
if(flood_msg && (Tms - lastFloodTime) > (FLOOD_PERIOD_MS-1)){ // flood every ~5ms
|
||||
lastFloodTime = Tms;
|
||||
can_send(flood_msg->data, flood_msg->length, flood_msg->ID);
|
||||
}
|
||||
}
|
||||
|
||||
CAN_status can_send(uint8_t *msg, uint8_t len, uint16_t target_id){
|
||||
uint8_t mailbox = 0;
|
||||
// check first free mailbox
|
||||
if(CAN->TSR & (CAN_TSR_TME)){
|
||||
mailbox = (CAN->TSR & CAN_TSR_CODE) >> 24;
|
||||
}else{ // no free mailboxes
|
||||
#ifdef EBUG
|
||||
MSG("No free mailboxes"); NL();
|
||||
#endif
|
||||
return CAN_BUSY;
|
||||
}
|
||||
#ifdef EBUG
|
||||
MSG("Send data. Len="); printu(len);
|
||||
SEND(", tagid="); printuhex(target_id);
|
||||
SEND(", data=");
|
||||
for(int i = 0; i < len; ++i){
|
||||
SEND(" "); printuhex(msg[i]);
|
||||
}
|
||||
NL();
|
||||
#endif
|
||||
CAN_TxMailBox_TypeDef *box = &CAN->sTxMailBox[mailbox];
|
||||
uint32_t lb = 0, hb = 0;
|
||||
switch(len){
|
||||
case 8:
|
||||
hb |= (uint32_t)msg[7] << 24;
|
||||
__attribute__((fallthrough));
|
||||
case 7:
|
||||
hb |= (uint32_t)msg[6] << 16;
|
||||
__attribute__((fallthrough));
|
||||
case 6:
|
||||
hb |= (uint32_t)msg[5] << 8;
|
||||
__attribute__((fallthrough));
|
||||
case 5:
|
||||
hb |= (uint32_t)msg[4];
|
||||
__attribute__((fallthrough));
|
||||
case 4:
|
||||
lb |= (uint32_t)msg[3] << 24;
|
||||
__attribute__((fallthrough));
|
||||
case 3:
|
||||
lb |= (uint32_t)msg[2] << 16;
|
||||
__attribute__((fallthrough));
|
||||
case 2:
|
||||
lb |= (uint32_t)msg[1] << 8;
|
||||
__attribute__((fallthrough));
|
||||
default:
|
||||
lb |= (uint32_t)msg[0];
|
||||
}
|
||||
box->TDLR = lb;
|
||||
box->TDHR = hb;
|
||||
box->TDTR = len;
|
||||
box->TIR = (target_id & 0x7FF) << 21 | CAN_TI0R_TXRQ;
|
||||
return CAN_OK;
|
||||
}
|
||||
|
||||
void set_flood(CAN_message *msg){
|
||||
if(!msg) flood_msg = NULL;
|
||||
else{
|
||||
memcpy(&loc_flood_msg, msg, sizeof(CAN_message));
|
||||
flood_msg = &loc_flood_msg;
|
||||
}
|
||||
}
|
||||
|
||||
static void can_process_fifo(uint8_t fifo_num){
|
||||
if(fifo_num > 1) return;
|
||||
LED_on(LED1); // Turn on LED1 - message received
|
||||
CAN_FIFOMailBox_TypeDef *box = &CAN->sFIFOMailBox[fifo_num];
|
||||
volatile uint32_t *RFxR = (fifo_num) ? &CAN->RF1R : &CAN->RF0R;
|
||||
#ifdef EBUG
|
||||
printu(*RFxR & CAN_RF0R_FMP0); SEND(" messages in FIFO\n");
|
||||
#endif
|
||||
// read all
|
||||
while(*RFxR & CAN_RF0R_FMP0){ // amount of messages pending
|
||||
// CAN_RDTxR: (16-31) - timestamp, (8-15) - filter match index, (0-3) - data length
|
||||
/* TODO: check filter match index if more than one ID can receive */
|
||||
CAN_message msg;
|
||||
uint8_t *dat = msg.data;
|
||||
uint8_t len = box->RDTR & 0x0f;
|
||||
msg.length = len;
|
||||
msg.ID = box->RIR >> 21;
|
||||
//msg.filterNo = (box->RDTR >> 8) & 0xff;
|
||||
//msg.fifoNum = fifo_num;
|
||||
if(len){ // message can be without data
|
||||
uint32_t hb = box->RDHR, lb = box->RDLR;
|
||||
switch(len){
|
||||
case 8:
|
||||
dat[7] = hb>>24;
|
||||
__attribute__((fallthrough));
|
||||
case 7:
|
||||
dat[6] = (hb>>16) & 0xff;
|
||||
__attribute__((fallthrough));
|
||||
case 6:
|
||||
dat[5] = (hb>>8) & 0xff;
|
||||
__attribute__((fallthrough));
|
||||
case 5:
|
||||
dat[4] = hb & 0xff;
|
||||
__attribute__((fallthrough));
|
||||
case 4:
|
||||
dat[3] = lb>>24;
|
||||
__attribute__((fallthrough));
|
||||
case 3:
|
||||
dat[2] = (lb>>16) & 0xff;
|
||||
__attribute__((fallthrough));
|
||||
case 2:
|
||||
dat[1] = (lb>>8) & 0xff;
|
||||
__attribute__((fallthrough));
|
||||
case 1:
|
||||
dat[0] = lb & 0xff;
|
||||
}
|
||||
}
|
||||
if(CAN_messagebuf_push(&msg)) return; // error: buffer is full, try later
|
||||
*RFxR |= CAN_RF0R_RFOM0; // release fifo for access to next message
|
||||
}
|
||||
//if(*RFxR & CAN_RF0R_FULL0) *RFxR &= ~CAN_RF0R_FULL0;
|
||||
*RFxR = 0; // clear FOVR & FULL
|
||||
}
|
||||
|
||||
void cec_can_isr(){
|
||||
/*
|
||||
if(CAN->RF0R & CAN_RF0R_FOVR0){
|
||||
can_process_fifo(0);
|
||||
}
|
||||
if(CAN->RF1R & CAN_RF1R_FOVR1){
|
||||
can_process_fifo(1);
|
||||
}*/
|
||||
if(CAN->RF0R & CAN_RF0R_FOVR0){ // FIFO overrun
|
||||
CAN->RF0R &= ~CAN_RF0R_FOVR0;
|
||||
can_status = CAN_FIFO_OVERRUN;
|
||||
}
|
||||
if(CAN->RF1R & CAN_RF1R_FOVR1){
|
||||
CAN->RF1R &= ~CAN_RF1R_FOVR1;
|
||||
can_status = CAN_FIFO_OVERRUN;
|
||||
}
|
||||
if(CAN->MSR & CAN_MSR_ERRI){ // Error
|
||||
CAN->MSR &= ~CAN_MSR_ERRI;
|
||||
// request abort for problem mailbox
|
||||
if(CAN->TSR & CAN_TSR_TERR0) CAN->TSR |= CAN_TSR_ABRQ0;
|
||||
if(CAN->TSR & CAN_TSR_TERR1) CAN->TSR |= CAN_TSR_ABRQ1;
|
||||
if(CAN->TSR & CAN_TSR_TERR2) CAN->TSR |= CAN_TSR_ABRQ2;
|
||||
#ifdef EBUG
|
||||
last_err_code = CAN->ESR;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
64
F0:F030,F042,F072/deprecated/usbcan/can.h
Normal file
64
F0:F030,F042,F072/deprecated/usbcan/can.h
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* geany_encoding=koi8-r
|
||||
* can.h
|
||||
*
|
||||
* Copyright 2018 Edward V. Emelianov <eddy@sao.ru, edward.emelianoff@gmail.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
* MA 02110-1301, USA.
|
||||
*
|
||||
*/
|
||||
#pragma once
|
||||
#ifndef __CAN_H__
|
||||
#define __CAN_H__
|
||||
|
||||
#include "hardware.h"
|
||||
|
||||
// amount of filter banks in STM32F0
|
||||
#define STM32F0FBANKNO 28
|
||||
// flood period in milliseconds
|
||||
#define FLOOD_PERIOD_MS 5
|
||||
|
||||
// incoming message buffer size
|
||||
#define CAN_INMESSAGE_SIZE (8)
|
||||
|
||||
// CAN message
|
||||
typedef struct{
|
||||
uint8_t data[8]; // up to 8 bytes of data
|
||||
uint8_t length; // data length
|
||||
uint16_t ID; // ID of receiver
|
||||
} CAN_message;
|
||||
|
||||
typedef enum{
|
||||
CAN_STOP,
|
||||
CAN_READY,
|
||||
CAN_BUSY,
|
||||
CAN_OK,
|
||||
CAN_FIFO_OVERRUN
|
||||
} CAN_status;
|
||||
|
||||
CAN_status CAN_get_status();
|
||||
|
||||
void CAN_reinit(uint16_t speed);
|
||||
void CAN_setup(uint16_t speed);
|
||||
|
||||
CAN_status can_send(uint8_t *msg, uint8_t len, uint16_t target_id);
|
||||
void can_proc();
|
||||
|
||||
CAN_message *CAN_messagebuf_pop();
|
||||
|
||||
void set_flood(CAN_message *msg);
|
||||
|
||||
#endif // __CAN_H__
|
||||
97
F0:F030,F042,F072/deprecated/usbcan/hardware.c
Normal file
97
F0:F030,F042,F072/deprecated/usbcan/hardware.c
Normal file
@@ -0,0 +1,97 @@
|
||||
/*
|
||||
* geany_encoding=koi8-r
|
||||
* hardware.c - hardware-dependent macros & functions
|
||||
*
|
||||
* Copyright 2018 Edward V. Emelianov <eddy@sao.ru, edward.emelianoff@gmail.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
* MA 02110-1301, USA.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "hardware.h"
|
||||
|
||||
uint8_t ledsON = 0;
|
||||
|
||||
void gpio_setup(void){
|
||||
RCC->AHBENR |= RCC_AHBENR_GPIOBEN;
|
||||
// Set LEDS (PB0/1) as output
|
||||
pin_set(LED0_port, LED0_pin); // clear LEDs
|
||||
pin_set(LED1_port, LED1_pin);
|
||||
GPIOB->MODER = (GPIOB->MODER & ~(GPIO_MODER_MODER0 | GPIO_MODER_MODER1)
|
||||
) |
|
||||
GPIO_MODER_MODER0_O | GPIO_MODER_MODER1_O;
|
||||
}
|
||||
|
||||
void iwdg_setup(){
|
||||
uint32_t tmout = 16000000;
|
||||
/* Enable the peripheral clock RTC */
|
||||
/* (1) Enable the LSI (40kHz) */
|
||||
/* (2) Wait while it is not ready */
|
||||
RCC->CSR |= RCC_CSR_LSION; /* (1) */
|
||||
while((RCC->CSR & RCC_CSR_LSIRDY) != RCC_CSR_LSIRDY){if(--tmout == 0) break;} /* (2) */
|
||||
/* Configure IWDG */
|
||||
/* (1) Activate IWDG (not needed if done in option bytes) */
|
||||
/* (2) Enable write access to IWDG registers */
|
||||
/* (3) Set prescaler by 64 (1.6ms for each tick) */
|
||||
/* (4) Set reload value to have a rollover each 2s */
|
||||
/* (5) Check if flags are reset */
|
||||
/* (6) Refresh counter */
|
||||
IWDG->KR = IWDG_START; /* (1) */
|
||||
IWDG->KR = IWDG_WRITE_ACCESS; /* (2) */
|
||||
IWDG->PR = IWDG_PR_PR_1; /* (3) */
|
||||
IWDG->RLR = 1250; /* (4) */
|
||||
tmout = 16000000;
|
||||
while(IWDG->SR){if(--tmout == 0) break;} /* (5) */
|
||||
IWDG->KR = IWDG_REFRESH; /* (6) */
|
||||
}
|
||||
|
||||
// pause in milliseconds for some purposes
|
||||
void pause_ms(uint32_t pause){
|
||||
uint32_t Tnxt = Tms + pause;
|
||||
while(Tms < Tnxt) nop();
|
||||
}
|
||||
|
||||
void Jump2Boot(){
|
||||
void (*SysMemBootJump)(void);
|
||||
volatile uint32_t addr = 0x1FFFC800;
|
||||
// reset systick
|
||||
SysTick->CTRL = 0;
|
||||
// reset clocks
|
||||
|
||||
RCC->APB1RSTR = RCC_APB1RSTR_CECRST | RCC_APB1RSTR_DACRST | RCC_APB1RSTR_PWRRST | RCC_APB1RSTR_CRSRST |
|
||||
RCC_APB1RSTR_CANRST | RCC_APB1RSTR_USBRST | RCC_APB1RSTR_I2C2RST | RCC_APB1RSTR_I2C1RST |
|
||||
RCC_APB1RSTR_USART4RST | RCC_APB1RSTR_USART3RST | RCC_APB1RSTR_USART2RST | RCC_APB1RSTR_SPI2RST |
|
||||
RCC_APB1RSTR_WWDGRST | RCC_APB1RSTR_TIM14RST |
|
||||
#ifdef STM32F072xB
|
||||
RCC_APB1RSTR_TIM7RST | RCC_APB1RSTR_TIM6RST |
|
||||
#endif
|
||||
RCC_APB1RSTR_TIM3RST | RCC_APB1RSTR_TIM2RST;
|
||||
RCC->APB2RSTR = RCC_APB2RSTR_DBGMCURST | RCC_APB2RSTR_TIM17RST | RCC_APB2RSTR_TIM16RST |
|
||||
#ifdef STM32F072xB
|
||||
RCC_APB2RSTR_TIM15RST |
|
||||
#endif
|
||||
RCC_APB2RSTR_USART1RST | RCC_APB2RSTR_SPI1RST | RCC_APB2RSTR_TIM1RST | RCC_APB2RSTR_ADCRST | RCC_APB2RSTR_SYSCFGRST;
|
||||
RCC->AHBRSTR = 0;
|
||||
RCC->APB1RSTR = 0;
|
||||
RCC->APB2RSTR = 0;
|
||||
// remap memory to 0 (only for STM32F0)
|
||||
SYSCFG->CFGR1 = 0x01; __DSB(); __ISB();
|
||||
SysMemBootJump = (void (*)(void)) (*((uint32_t *)(addr + 4)));
|
||||
// set main stack pointer
|
||||
__set_MSP(*((uint32_t *)addr));
|
||||
// jump to bootloader
|
||||
SysMemBootJump();
|
||||
}
|
||||
62
F0:F030,F042,F072/deprecated/usbcan/hardware.h
Normal file
62
F0:F030,F042,F072/deprecated/usbcan/hardware.h
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* geany_encoding=koi8-r
|
||||
* hardware.h
|
||||
*
|
||||
* Copyright 2018 Edward V. Emelianov <eddy@sao.ru, edward.emelianoff@gmail.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
* MA 02110-1301, USA.
|
||||
*
|
||||
*/
|
||||
#pragma once
|
||||
#ifndef __HARDWARE_H__
|
||||
#define __HARDWARE_H__
|
||||
|
||||
#include <stm32f0.h>
|
||||
|
||||
#define CONCAT(a,b) a ## b
|
||||
#define STR_HELPER(s) #s
|
||||
#define STR(s) STR_HELPER(s)
|
||||
|
||||
#define FORMUSART(X) CONCAT(USART, X)
|
||||
#define USARTX FORMUSART(USARTNUM)
|
||||
|
||||
// LEDS: 0 - PB0, 1 - PB1
|
||||
// LED0
|
||||
#define LED0_port GPIOB
|
||||
#define LED0_pin (1<<0)
|
||||
// LED1
|
||||
#define LED1_port GPIOB
|
||||
#define LED1_pin (1<<1)
|
||||
|
||||
#define LED_blink(x) do{if(ledsON) pin_toggle(x ## _port, x ## _pin);}while(0)
|
||||
#define LED_on(x) do{if(ledsON) pin_clear(x ## _port, x ## _pin);}while(0)
|
||||
#define LED_off(x) do{pin_set(x ## _port, x ## _pin);}while(0)
|
||||
|
||||
|
||||
// CAN address - PB14(0), PB15(1), PA8(2)
|
||||
#define READ_CAN_INV_ADDR() (((GPIOA->IDR & (1<<8))>>6)|((GPIOB->IDR & (3<<14))>>14))
|
||||
|
||||
|
||||
extern volatile uint32_t Tms;
|
||||
|
||||
extern uint8_t ledsON;
|
||||
|
||||
void gpio_setup(void);
|
||||
void iwdg_setup();
|
||||
void pause_ms(uint32_t pause);
|
||||
void Jump2Boot();
|
||||
|
||||
#endif // __HARDWARE_H__
|
||||
63
F0:F030,F042,F072/deprecated/usbcan/kicad/bom.ini
Normal file
63
F0:F030,F042,F072/deprecated/usbcan/kicad/bom.ini
Normal file
@@ -0,0 +1,63 @@
|
||||
[BOM_OPTIONS]
|
||||
; General BoM options here
|
||||
; If 'ignore_dnf' option is set to 1, rows that are not to be fitted on the PCB will not be written to the BoM file
|
||||
ignore_dnf = 1
|
||||
; If 'number_rows' option is set to 1, each row in the BoM will be prepended with an incrementing row number
|
||||
number_rows = 1
|
||||
; If 'group_connectors' option is set to 1, connectors with the same footprints will be grouped together, independent of the name of the connector
|
||||
group_connectors = 1
|
||||
; If 'test_regex' option is set to 1, each component group will be tested against a number of regular-expressions (specified, per column, below). If any matches are found, the row is ignored in the output file
|
||||
test_regex = 1
|
||||
; If 'merge_blank_fields' option is set to 1, component groups with blank fields will be merged into the most compatible group, where possible
|
||||
merge_blank_fields = 1
|
||||
; Field name used to determine if a particular part is to be fitted
|
||||
fit_field = Config
|
||||
|
||||
[IGNORE_COLUMNS]
|
||||
; Any column heading that appears here will be excluded from the Generated BoM
|
||||
; Titles are case-insensitive
|
||||
Part Lib
|
||||
Footprint Lib
|
||||
|
||||
[GROUP_FIELDS]
|
||||
; List of fields used for sorting individual components into groups
|
||||
; Components which match (comparing *all* fields) will be grouped together
|
||||
; Field names are case-insensitive
|
||||
Part
|
||||
Part Lib
|
||||
Value
|
||||
Footprint
|
||||
Footprint Lib
|
||||
|
||||
[COMPONENT_ALIASES]
|
||||
; A series of values which are considered to be equivalent for the part name
|
||||
; Each line represents a tab-separated list of equivalent component name values
|
||||
; e.g. 'c c_small cap' will ensure the equivalent capacitor symbols can be grouped together
|
||||
; Aliases are case-insensitive
|
||||
c c_small cap capacitor
|
||||
r r_small res resistor
|
||||
sw switch
|
||||
l l_small inductor
|
||||
zener zenersmall
|
||||
d diode d_small
|
||||
|
||||
[REGEX_INCLUDE]
|
||||
; A series of regular expressions used to include parts in the BoM
|
||||
; If there are any regex defined here, only components that match against ANY of them will be included in the BOM
|
||||
; Column names are case-insensitive
|
||||
; Format is: "ColumName Regex" (tab-separated)
|
||||
|
||||
[REGEX_EXCLUDE]
|
||||
; A series of regular expressions used to exclude parts from the BoM
|
||||
; If a component matches ANY of these, it will be excluded from the BoM
|
||||
; Column names are case-insensitive
|
||||
; Format is: "ColumName Regex" (tab-separated)
|
||||
References ^TP[0-9]*
|
||||
References ^FID
|
||||
Part mount.*hole
|
||||
Part solder.*bridge
|
||||
Part test.*point
|
||||
Footprint test.*point
|
||||
Footprint mount.*hole
|
||||
Footprint fiducial
|
||||
|
||||
210
F0:F030,F042,F072/deprecated/usbcan/kicad/elements.lib
Normal file
210
F0:F030,F042,F072/deprecated/usbcan/kicad/elements.lib
Normal file
@@ -0,0 +1,210 @@
|
||||
EESchema-LIBRARY Version 2.4
|
||||
#encoding utf-8
|
||||
#
|
||||
# 74HC4051
|
||||
#
|
||||
DEF 74HC4051 U 0 10 Y Y 1 F N
|
||||
F0 "U" 0 0 50 H V C CNN
|
||||
F1 "74HC4051" 0 -150 50 H V C CNN
|
||||
F2 "" 0 0 50 H V C CNN
|
||||
F3 "" 0 0 50 H V C CNN
|
||||
$FPLIST
|
||||
SO16
|
||||
TSSOP16
|
||||
SSOP16
|
||||
DHVQFN16
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -400 450 400 -450 0 1 0 N
|
||||
X Y4 1 700 -50 300 L 50 50 1 1 B
|
||||
X S1 10 -700 250 300 R 50 50 1 1 I
|
||||
X S0 11 -700 350 300 R 50 50 1 1 I
|
||||
X Y3 12 700 50 300 L 50 50 1 1 B
|
||||
X Y0 13 700 350 300 L 50 50 1 1 B
|
||||
X Y1 14 700 250 300 L 50 50 1 1 B
|
||||
X Y2 15 700 150 300 L 50 50 1 1 B
|
||||
X VCC 16 -700 -100 300 R 50 50 1 1 W
|
||||
X Y6 2 700 -250 300 L 50 50 1 1 B
|
||||
X Z 3 0 -750 300 U 50 50 1 1 B
|
||||
X Y7 4 700 -350 300 L 50 50 1 1 B
|
||||
X Y5 5 700 -150 300 L 50 50 1 1 B
|
||||
X ~E 6 -700 -350 300 R 50 50 1 1 I I
|
||||
X VEE 7 -700 0 300 R 50 50 1 1 W
|
||||
X GND 8 -700 -200 300 R 50 50 1 1 W
|
||||
X S2 9 -700 150 300 R 50 50 1 1 I
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# B0x0xS-1W
|
||||
#
|
||||
DEF B0x0xS-1W Q? 0 40 Y Y 1 F N
|
||||
F0 "Q?" 0 250 50 H V C CNN
|
||||
F1 "B0x0xS-1W" 0 -250 50 H V C CNN
|
||||
F2 "my_footprints:B0x0xS" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
ALIAS B0305S B0505S
|
||||
$FPLIST
|
||||
b0x0xs
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -200 200 200 -200 0 1 0 N
|
||||
X GND 1 -400 -100 200 R 50 50 1 1 W
|
||||
X Vin 2 -400 100 200 R 50 50 1 1 W
|
||||
X 0V 3 400 -100 200 L 50 50 1 1 w
|
||||
X +Vo 4 400 100 200 L 50 50 1 1 w
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# D_Schottky_x2_ACom_AKK
|
||||
#
|
||||
DEF D_Schottky_x2_ACom_AKK D 0 30 Y N 1 F N
|
||||
F0 "D" 50 -100 50 H V C CNN
|
||||
F1 "D_Schottky_x2_ACom_AKK" 0 100 50 H V C CNN
|
||||
F2 "" 0 0 50 H V C CNN
|
||||
F3 "" 0 0 50 H V C CNN
|
||||
DRAW
|
||||
P 2 0 1 0 -140 0 150 0 N
|
||||
P 2 0 1 0 0 0 0 -100 N
|
||||
P 3 0 1 8 -150 50 -150 -50 -150 -50 N
|
||||
P 3 0 1 8 150 50 150 -50 150 -50 N
|
||||
P 4 0 1 8 -150 50 -170 50 -170 40 -170 40 N
|
||||
P 4 0 1 8 150 -50 170 -50 170 -40 170 -40 N
|
||||
P 4 0 1 8 150 50 130 50 130 40 130 40 N
|
||||
P 5 0 1 8 -130 -40 -130 -50 -150 -50 -150 -50 -150 -50 N
|
||||
P 6 0 1 8 -50 -50 -150 0 -50 50 -50 -50 -50 -50 -50 -50 N
|
||||
P 6 0 1 8 50 50 150 0 50 -50 50 50 50 50 50 50 N
|
||||
X A 1 0 -200 100 U 50 50 0 1 P
|
||||
X K 2 -300 0 150 R 50 50 0 1 P
|
||||
X K 3 300 0 150 L 50 50 0 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# LM1117-ADJ
|
||||
#
|
||||
DEF LM1117-ADJ U 0 30 Y Y 1 F N
|
||||
F0 "U" 100 -250 50 H V C CNN
|
||||
F1 "LM1117-ADJ" 0 250 50 H V C CNN
|
||||
F2 "" 0 0 50 H V C CNN
|
||||
F3 "" 0 0 50 H V C CNN
|
||||
ALIAS LM1117-1.8 LM1117-2.5 LM1117-3.3 LM1117-5.0
|
||||
$FPLIST
|
||||
SOT-223*
|
||||
TO-263*
|
||||
TO-252*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -200 -200 200 200 0 1 10 f
|
||||
X GND/ADJ 1 0 -300 100 U 50 50 1 1 W
|
||||
X VO 2 300 0 100 L 50 50 1 1 w
|
||||
X VI 3 -300 0 100 R 50 50 1 1 W
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# PESD1CAN
|
||||
#
|
||||
DEF PESD1CAN D 0 30 Y N 1 F N
|
||||
F0 "D" 0 -350 50 H V C CNN
|
||||
F1 "PESD1CAN" 50 150 50 H V C CNN
|
||||
F2 "" 0 0 50 H V C CNN
|
||||
F3 "" 0 0 50 H V C CNN
|
||||
$FPLIST
|
||||
SOT23
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -200 100 300 -300 0 1 0 N
|
||||
P 2 0 1 0 -140 -200 150 -200 N
|
||||
P 2 0 1 0 -140 0 150 0 N
|
||||
P 3 0 1 8 -150 -150 -150 -250 -150 -250 N
|
||||
P 3 0 1 8 -150 50 -150 -50 -150 -50 N
|
||||
P 3 0 1 8 150 -150 150 -250 150 -250 N
|
||||
P 3 0 1 8 150 50 150 -50 150 -50 N
|
||||
P 4 0 1 8 -150 -150 -170 -150 -170 -160 -170 -160 N
|
||||
P 4 0 1 8 -150 50 -170 50 -170 40 -170 40 N
|
||||
P 4 0 1 8 150 -250 170 -250 170 -240 170 -240 N
|
||||
P 4 0 1 8 150 -150 130 -150 130 -160 130 -160 N
|
||||
P 4 0 1 8 150 -50 170 -50 170 -40 170 -40 N
|
||||
P 4 0 1 0 150 0 250 0 250 -200 150 -200 N
|
||||
P 4 0 1 8 150 50 130 50 130 40 130 40 N
|
||||
P 5 0 1 8 -130 -240 -130 -250 -150 -250 -150 -250 -150 -250 N
|
||||
P 5 0 1 8 -130 -40 -130 -50 -150 -50 -150 -50 -150 -50 N
|
||||
P 6 0 1 8 -50 -250 -150 -200 -50 -150 -50 -250 -50 -250 -50 -250 N
|
||||
P 6 0 1 8 -50 -50 -150 0 -50 50 -50 -50 -50 -50 -50 -50 N
|
||||
P 6 0 1 8 50 -150 150 -200 50 -250 50 -150 50 -150 50 -150 N
|
||||
P 6 0 1 8 50 50 150 0 50 -50 50 50 50 50 50 50 N
|
||||
X K 1 -300 0 150 R 50 50 0 1 P
|
||||
X K 2 -300 -200 150 R 50 50 0 1 P
|
||||
X O 3 400 -100 150 L 50 50 0 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# TPS2051
|
||||
#
|
||||
DEF TPS2051 U 0 40 Y Y 1 F N
|
||||
F0 "U" 0 -300 60 H V C CNN
|
||||
F1 "TPS2051" 0 300 60 H V C CNN
|
||||
F2 "" 0 0 60 H I C CNN
|
||||
F3 "" 0 0 60 H I C CNN
|
||||
DRAW
|
||||
S -250 250 250 -250 0 1 0 N
|
||||
X GND 1 -450 150 200 R 50 50 1 1 W
|
||||
X IN 2 -450 50 200 R 50 50 1 1 W
|
||||
X IN 3 -450 -50 200 R 50 50 1 1 P
|
||||
X EN 4 -450 -150 200 R 50 50 1 1 I
|
||||
X ~OC 5 450 -150 200 L 50 50 1 1 O
|
||||
X OUT 6 450 -50 200 L 50 50 1 1 P
|
||||
X OUT 7 450 50 200 L 50 50 1 1 P
|
||||
X OUT 8 450 150 200 L 50 50 1 1 w
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# USB6B1
|
||||
#
|
||||
DEF USB6B1 D 0 30 Y N 1 F N
|
||||
F0 "D" 0 -450 50 H V C CNN
|
||||
F1 "USB6B1" 0 400 50 H V C CNN
|
||||
F2 "" 200 -100 50 V V C CNN
|
||||
F3 "" 200 -100 50 V V C CNN
|
||||
$FPLIST
|
||||
SO8
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
C -150 -300 7 0 1 0 N
|
||||
C -150 100 7 0 1 0 N
|
||||
C -150 300 7 0 1 0 N
|
||||
C 0 -300 7 0 1 0 N
|
||||
C 0 -100 7 0 1 0 N
|
||||
C 0 300 7 0 1 0 N
|
||||
C 200 -300 7 0 1 0 N
|
||||
C 200 300 7 0 1 0 N
|
||||
S -300 -100 300 -100 0 1 0 N
|
||||
S -300 300 300 300 0 1 0 N
|
||||
S -200 -150 -100 -150 0 1 0 N
|
||||
S -200 250 -100 250 0 1 0 N
|
||||
S -150 300 -150 -300 0 1 0 N
|
||||
S -50 -150 50 -150 0 1 0 N
|
||||
S -50 250 50 250 0 1 0 N
|
||||
S 0 300 0 -300 0 1 0 N
|
||||
S 200 300 200 -300 0 1 0 N
|
||||
S 300 -300 -300 -300 0 1 0 N
|
||||
S 300 100 -300 100 0 1 0 N
|
||||
P 3 0 1 8 150 50 250 50 250 50 N
|
||||
P 4 0 1 8 150 50 150 30 160 30 160 30 N
|
||||
P 4 0 1 8 250 50 250 70 240 70 240 70 N
|
||||
P 5 0 1 0 -250 350 300 350 300 -350 -250 -350 -250 350 N
|
||||
P 6 0 1 8 -200 -250 -150 -150 -100 -250 -200 -250 -200 -250 -200 -250 N
|
||||
P 6 0 1 8 -200 150 -150 250 -100 150 -200 150 -200 150 -200 150 N
|
||||
P 6 0 1 8 -50 -250 0 -150 50 -250 -50 -250 -50 -250 -50 -250 N
|
||||
P 6 0 1 8 -50 150 0 250 50 150 -50 150 -50 150 -50 150 N
|
||||
P 6 0 1 8 150 -50 200 50 250 -50 150 -50 150 -50 150 -50 N
|
||||
X VCC 1 -500 300 200 R 50 50 1 1 P
|
||||
X I/O1 2 -500 100 200 R 50 50 1 1 P
|
||||
X I/O2 3 -500 -100 200 R 50 50 1 1 P
|
||||
X GND 4 -500 -300 200 R 50 50 1 1 P
|
||||
X GND 5 500 -300 200 L 50 50 1 1 P
|
||||
X I/O2 6 500 -100 200 L 50 50 1 1 P
|
||||
X I/O1 7 500 100 200 L 50 50 1 1 P
|
||||
X VCC 8 500 300 200 L 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
#End Library
|
||||
40678
F0:F030,F042,F072/deprecated/usbcan/kicad/fp-info-cache
Normal file
40678
F0:F030,F042,F072/deprecated/usbcan/kicad/fp-info-cache
Normal file
File diff suppressed because it is too large
Load Diff
3
F0:F030,F042,F072/deprecated/usbcan/kicad/fp-lib-table
Normal file
3
F0:F030,F042,F072/deprecated/usbcan/kicad/fp-lib-table
Normal file
@@ -0,0 +1,3 @@
|
||||
(fp_lib_table
|
||||
(lib (name my_footprints)(type KiCad)(uri "$(KIPRJMOD)/my_footprints.pretty")(options "")(descr ""))
|
||||
)
|
||||
4199
F0:F030,F042,F072/deprecated/usbcan/kicad/gerbers/stm32-B_Cu.gbr
Normal file
4199
F0:F030,F042,F072/deprecated/usbcan/kicad/gerbers/stm32-B_Cu.gbr
Normal file
File diff suppressed because it is too large
Load Diff
1318
F0:F030,F042,F072/deprecated/usbcan/kicad/gerbers/stm32-B_Mask.gbr
Normal file
1318
F0:F030,F042,F072/deprecated/usbcan/kicad/gerbers/stm32-B_Mask.gbr
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,748 @@
|
||||
G04 #@! TF.GenerationSoftware,KiCad,Pcbnew,5.1.4*
|
||||
G04 #@! TF.CreationDate,2020-05-23T13:02:16+03:00*
|
||||
G04 #@! TF.ProjectId,stm32,73746d33-322e-46b6-9963-61645f706362,rev?*
|
||||
G04 #@! TF.SameCoordinates,Original*
|
||||
G04 #@! TF.FileFunction,Legend,Bot*
|
||||
G04 #@! TF.FilePolarity,Positive*
|
||||
%FSLAX46Y46*%
|
||||
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
|
||||
G04 Created by KiCad (PCBNEW 5.1.4) date 2020-05-23 13:02:16*
|
||||
%MOMM*%
|
||||
%LPD*%
|
||||
G04 APERTURE LIST*
|
||||
%ADD10C,0.150000*%
|
||||
%ADD11C,0.120000*%
|
||||
G04 APERTURE END LIST*
|
||||
D10*
|
||||
X73042400Y-63347504D02*
|
||||
X73090019Y-63442742D01*
|
||||
X73090019Y-63585600D01*
|
||||
X73042400Y-63728457D01*
|
||||
X72947161Y-63823695D01*
|
||||
X72851923Y-63871314D01*
|
||||
X72661447Y-63918933D01*
|
||||
X72518590Y-63918933D01*
|
||||
X72328114Y-63871314D01*
|
||||
X72232876Y-63823695D01*
|
||||
X72137638Y-63728457D01*
|
||||
X72090019Y-63585600D01*
|
||||
X72090019Y-63490361D01*
|
||||
X72137638Y-63347504D01*
|
||||
X72185257Y-63299885D01*
|
||||
X72518590Y-63299885D01*
|
||||
X72518590Y-63490361D01*
|
||||
X72090019Y-62871314D02*
|
||||
X73090019Y-62871314D01*
|
||||
X72090019Y-62299885D01*
|
||||
X73090019Y-62299885D01*
|
||||
X72090019Y-61823695D02*
|
||||
X73090019Y-61823695D01*
|
||||
X73090019Y-61585600D01*
|
||||
X73042400Y-61442742D01*
|
||||
X72947161Y-61347504D01*
|
||||
X72851923Y-61299885D01*
|
||||
X72661447Y-61252266D01*
|
||||
X72518590Y-61252266D01*
|
||||
X72328114Y-61299885D01*
|
||||
X72232876Y-61347504D01*
|
||||
X72137638Y-61442742D01*
|
||||
X72090019Y-61585600D01*
|
||||
X72090019Y-61823695D01*
|
||||
X67900419Y-72035942D02*
|
||||
X67948038Y-72083561D01*
|
||||
X68090895Y-72131180D01*
|
||||
X68186133Y-72131180D01*
|
||||
X68328990Y-72083561D01*
|
||||
X68424228Y-71988323D01*
|
||||
X68471847Y-71893085D01*
|
||||
X68519466Y-71702609D01*
|
||||
X68519466Y-71559752D01*
|
||||
X68471847Y-71369276D01*
|
||||
X68424228Y-71274038D01*
|
||||
X68328990Y-71178800D01*
|
||||
X68186133Y-71131180D01*
|
||||
X68090895Y-71131180D01*
|
||||
X67948038Y-71178800D01*
|
||||
X67900419Y-71226419D01*
|
||||
X67519466Y-71845466D02*
|
||||
X67043276Y-71845466D01*
|
||||
X67614704Y-72131180D02*
|
||||
X67281371Y-71131180D01*
|
||||
X66948038Y-72131180D01*
|
||||
X66614704Y-72131180D02*
|
||||
X66614704Y-71131180D01*
|
||||
X66043276Y-72131180D01*
|
||||
X66043276Y-71131180D01*
|
||||
X65090895Y-72131180D02*
|
||||
X65567085Y-72131180D01*
|
||||
X65567085Y-71131180D01*
|
||||
X67917866Y-54205142D02*
|
||||
X67965485Y-54252761D01*
|
||||
X68108342Y-54300380D01*
|
||||
X68203580Y-54300380D01*
|
||||
X68346438Y-54252761D01*
|
||||
X68441676Y-54157523D01*
|
||||
X68489295Y-54062285D01*
|
||||
X68536914Y-53871809D01*
|
||||
X68536914Y-53728952D01*
|
||||
X68489295Y-53538476D01*
|
||||
X68441676Y-53443238D01*
|
||||
X68346438Y-53348000D01*
|
||||
X68203580Y-53300380D01*
|
||||
X68108342Y-53300380D01*
|
||||
X67965485Y-53348000D01*
|
||||
X67917866Y-53395619D01*
|
||||
X67536914Y-54014666D02*
|
||||
X67060723Y-54014666D01*
|
||||
X67632152Y-54300380D02*
|
||||
X67298819Y-53300380D01*
|
||||
X66965485Y-54300380D01*
|
||||
X66632152Y-54300380D02*
|
||||
X66632152Y-53300380D01*
|
||||
X66060723Y-54300380D01*
|
||||
X66060723Y-53300380D01*
|
||||
X65584533Y-54300380D02*
|
||||
X65584533Y-53300380D01*
|
||||
X65584533Y-53776571D02*
|
||||
X65013104Y-53776571D01*
|
||||
X65013104Y-54300380D02*
|
||||
X65013104Y-53300380D01*
|
||||
X91613028Y-54438800D02*
|
||||
X91613028Y-55200704D01*
|
||||
X91993980Y-54819752D02*
|
||||
X91232076Y-54819752D01*
|
||||
X90993980Y-55581657D02*
|
||||
X90993980Y-56200704D01*
|
||||
X91374933Y-55867371D01*
|
||||
X91374933Y-56010228D01*
|
||||
X91422552Y-56105466D01*
|
||||
X91470171Y-56153085D01*
|
||||
X91565409Y-56200704D01*
|
||||
X91803504Y-56200704D01*
|
||||
X91898742Y-56153085D01*
|
||||
X91946361Y-56105466D01*
|
||||
X91993980Y-56010228D01*
|
||||
X91993980Y-55724514D01*
|
||||
X91946361Y-55629276D01*
|
||||
X91898742Y-55581657D01*
|
||||
X91898742Y-56629276D02*
|
||||
X91946361Y-56676895D01*
|
||||
X91993980Y-56629276D01*
|
||||
X91946361Y-56581657D01*
|
||||
X91898742Y-56629276D01*
|
||||
X91993980Y-56629276D01*
|
||||
X90993980Y-57010228D02*
|
||||
X90993980Y-57629276D01*
|
||||
X91374933Y-57295942D01*
|
||||
X91374933Y-57438800D01*
|
||||
X91422552Y-57534038D01*
|
||||
X91470171Y-57581657D01*
|
||||
X91565409Y-57629276D01*
|
||||
X91803504Y-57629276D01*
|
||||
X91898742Y-57581657D01*
|
||||
X91946361Y-57534038D01*
|
||||
X91993980Y-57438800D01*
|
||||
X91993980Y-57153085D01*
|
||||
X91946361Y-57057847D01*
|
||||
X91898742Y-57010228D01*
|
||||
X90993980Y-57914990D02*
|
||||
X91993980Y-58248323D01*
|
||||
X90993980Y-58581657D01*
|
||||
X93603771Y-54808666D02*
|
||||
X93651390Y-54951523D01*
|
||||
X93699009Y-54999142D01*
|
||||
X93794247Y-55046761D01*
|
||||
X93937104Y-55046761D01*
|
||||
X94032342Y-54999142D01*
|
||||
X94079961Y-54951523D01*
|
||||
X94127580Y-54856285D01*
|
||||
X94127580Y-54475333D01*
|
||||
X93127580Y-54475333D01*
|
||||
X93127580Y-54808666D01*
|
||||
X93175200Y-54903904D01*
|
||||
X93222819Y-54951523D01*
|
||||
X93318057Y-54999142D01*
|
||||
X93413295Y-54999142D01*
|
||||
X93508533Y-54951523D01*
|
||||
X93556152Y-54903904D01*
|
||||
X93603771Y-54808666D01*
|
||||
X93603771Y-54475333D01*
|
||||
X93127580Y-55665809D02*
|
||||
X93127580Y-55856285D01*
|
||||
X93175200Y-55951523D01*
|
||||
X93270438Y-56046761D01*
|
||||
X93460914Y-56094380D01*
|
||||
X93794247Y-56094380D01*
|
||||
X93984723Y-56046761D01*
|
||||
X94079961Y-55951523D01*
|
||||
X94127580Y-55856285D01*
|
||||
X94127580Y-55665809D01*
|
||||
X94079961Y-55570571D01*
|
||||
X93984723Y-55475333D01*
|
||||
X93794247Y-55427714D01*
|
||||
X93460914Y-55427714D01*
|
||||
X93270438Y-55475333D01*
|
||||
X93175200Y-55570571D01*
|
||||
X93127580Y-55665809D01*
|
||||
X93127580Y-56713428D02*
|
||||
X93127580Y-56903904D01*
|
||||
X93175200Y-56999142D01*
|
||||
X93270438Y-57094380D01*
|
||||
X93460914Y-57142000D01*
|
||||
X93794247Y-57142000D01*
|
||||
X93984723Y-57094380D01*
|
||||
X94079961Y-56999142D01*
|
||||
X94127580Y-56903904D01*
|
||||
X94127580Y-56713428D01*
|
||||
X94079961Y-56618190D01*
|
||||
X93984723Y-56522952D01*
|
||||
X93794247Y-56475333D01*
|
||||
X93460914Y-56475333D01*
|
||||
X93270438Y-56522952D01*
|
||||
X93175200Y-56618190D01*
|
||||
X93127580Y-56713428D01*
|
||||
X93127580Y-57427714D02*
|
||||
X93127580Y-57999142D01*
|
||||
X94127580Y-57713428D02*
|
||||
X93127580Y-57713428D01*
|
||||
X93127580Y-58522952D02*
|
||||
X93127580Y-58618190D01*
|
||||
X93175200Y-58713428D01*
|
||||
X93222819Y-58761047D01*
|
||||
X93318057Y-58808666D01*
|
||||
X93508533Y-58856285D01*
|
||||
X93746628Y-58856285D01*
|
||||
X93937104Y-58808666D01*
|
||||
X94032342Y-58761047D01*
|
||||
X94079961Y-58713428D01*
|
||||
X94127580Y-58618190D01*
|
||||
X94127580Y-58522952D01*
|
||||
X94079961Y-58427714D01*
|
||||
X94032342Y-58380095D01*
|
||||
X93937104Y-58332476D01*
|
||||
X93746628Y-58284857D01*
|
||||
X93508533Y-58284857D01*
|
||||
X93318057Y-58332476D01*
|
||||
X93222819Y-58380095D01*
|
||||
X93175200Y-58427714D01*
|
||||
X93127580Y-58522952D01*
|
||||
X97124780Y-54541942D02*
|
||||
X96124780Y-54541942D01*
|
||||
X97124780Y-55113371D01*
|
||||
X96124780Y-55113371D01*
|
||||
X97124780Y-56160990D02*
|
||||
X96648590Y-55827657D01*
|
||||
X97124780Y-55589561D02*
|
||||
X96124780Y-55589561D01*
|
||||
X96124780Y-55970514D01*
|
||||
X96172400Y-56065752D01*
|
||||
X96220019Y-56113371D01*
|
||||
X96315257Y-56160990D01*
|
||||
X96458114Y-56160990D01*
|
||||
X96553352Y-56113371D01*
|
||||
X96600971Y-56065752D01*
|
||||
X96648590Y-55970514D01*
|
||||
X96648590Y-55589561D01*
|
||||
X97077161Y-56541942D02*
|
||||
X97124780Y-56684800D01*
|
||||
X97124780Y-56922895D01*
|
||||
X97077161Y-57018133D01*
|
||||
X97029542Y-57065752D01*
|
||||
X96934304Y-57113371D01*
|
||||
X96839066Y-57113371D01*
|
||||
X96743828Y-57065752D01*
|
||||
X96696209Y-57018133D01*
|
||||
X96648590Y-56922895D01*
|
||||
X96600971Y-56732419D01*
|
||||
X96553352Y-56637180D01*
|
||||
X96505733Y-56589561D01*
|
||||
X96410495Y-56541942D01*
|
||||
X96315257Y-56541942D01*
|
||||
X96220019Y-56589561D01*
|
||||
X96172400Y-56637180D01*
|
||||
X96124780Y-56732419D01*
|
||||
X96124780Y-56970514D01*
|
||||
X96172400Y-57113371D01*
|
||||
X96124780Y-57399085D02*
|
||||
X96124780Y-57970514D01*
|
||||
X97124780Y-57684800D02*
|
||||
X96124780Y-57684800D01*
|
||||
X98661600Y-54965695D02*
|
||||
X98613980Y-54870457D01*
|
||||
X98613980Y-54727600D01*
|
||||
X98661600Y-54584742D01*
|
||||
X98756838Y-54489504D01*
|
||||
X98852076Y-54441885D01*
|
||||
X99042552Y-54394266D01*
|
||||
X99185409Y-54394266D01*
|
||||
X99375885Y-54441885D01*
|
||||
X99471123Y-54489504D01*
|
||||
X99566361Y-54584742D01*
|
||||
X99613980Y-54727600D01*
|
||||
X99613980Y-54822838D01*
|
||||
X99566361Y-54965695D01*
|
||||
X99518742Y-55013314D01*
|
||||
X99185409Y-55013314D01*
|
||||
X99185409Y-54822838D01*
|
||||
X99613980Y-55441885D02*
|
||||
X98613980Y-55441885D01*
|
||||
X99613980Y-56013314D01*
|
||||
X98613980Y-56013314D01*
|
||||
X99613980Y-56489504D02*
|
||||
X98613980Y-56489504D01*
|
||||
X98613980Y-56727600D01*
|
||||
X98661600Y-56870457D01*
|
||||
X98756838Y-56965695D01*
|
||||
X98852076Y-57013314D01*
|
||||
X99042552Y-57060933D01*
|
||||
X99185409Y-57060933D01*
|
||||
X99375885Y-57013314D01*
|
||||
X99471123Y-56965695D01*
|
||||
X99566361Y-56870457D01*
|
||||
X99613980Y-56727600D01*
|
||||
X99613980Y-56489504D01*
|
||||
X102157161Y-54421352D02*
|
||||
X102204780Y-54564209D01*
|
||||
X102204780Y-54802304D01*
|
||||
X102157161Y-54897542D01*
|
||||
X102109542Y-54945161D01*
|
||||
X102014304Y-54992780D01*
|
||||
X101919066Y-54992780D01*
|
||||
X101823828Y-54945161D01*
|
||||
X101776209Y-54897542D01*
|
||||
X101728590Y-54802304D01*
|
||||
X101680971Y-54611828D01*
|
||||
X101633352Y-54516590D01*
|
||||
X101585733Y-54468971D01*
|
||||
X101490495Y-54421352D01*
|
||||
X101395257Y-54421352D01*
|
||||
X101300019Y-54468971D01*
|
||||
X101252400Y-54516590D01*
|
||||
X101204780Y-54611828D01*
|
||||
X101204780Y-54849923D01*
|
||||
X101252400Y-54992780D01*
|
||||
X101204780Y-55326114D02*
|
||||
X102204780Y-55564209D01*
|
||||
X101490495Y-55754685D01*
|
||||
X102204780Y-55945161D01*
|
||||
X101204780Y-56183257D01*
|
||||
X102204780Y-56564209D02*
|
||||
X101204780Y-56564209D01*
|
||||
X101204780Y-56802304D01*
|
||||
X101252400Y-56945161D01*
|
||||
X101347638Y-57040400D01*
|
||||
X101442876Y-57088019D01*
|
||||
X101633352Y-57135638D01*
|
||||
X101776209Y-57135638D01*
|
||||
X101966685Y-57088019D01*
|
||||
X102061923Y-57040400D01*
|
||||
X102157161Y-56945161D01*
|
||||
X102204780Y-56802304D01*
|
||||
X102204780Y-56564209D01*
|
||||
X102204780Y-57564209D02*
|
||||
X101204780Y-57564209D01*
|
||||
X101204780Y-58230876D02*
|
||||
X101204780Y-58421352D01*
|
||||
X101252400Y-58516590D01*
|
||||
X101347638Y-58611828D01*
|
||||
X101538114Y-58659447D01*
|
||||
X101871447Y-58659447D01*
|
||||
X102061923Y-58611828D01*
|
||||
X102157161Y-58516590D01*
|
||||
X102204780Y-58421352D01*
|
||||
X102204780Y-58230876D01*
|
||||
X102157161Y-58135638D01*
|
||||
X102061923Y-58040400D01*
|
||||
X101871447Y-57992780D01*
|
||||
X101538114Y-57992780D01*
|
||||
X101347638Y-58040400D01*
|
||||
X101252400Y-58135638D01*
|
||||
X101204780Y-58230876D01*
|
||||
X104697161Y-54481695D02*
|
||||
X104744780Y-54624552D01*
|
||||
X104744780Y-54862647D01*
|
||||
X104697161Y-54957885D01*
|
||||
X104649542Y-55005504D01*
|
||||
X104554304Y-55053123D01*
|
||||
X104459066Y-55053123D01*
|
||||
X104363828Y-55005504D01*
|
||||
X104316209Y-54957885D01*
|
||||
X104268590Y-54862647D01*
|
||||
X104220971Y-54672171D01*
|
||||
X104173352Y-54576933D01*
|
||||
X104125733Y-54529314D01*
|
||||
X104030495Y-54481695D01*
|
||||
X103935257Y-54481695D01*
|
||||
X103840019Y-54529314D01*
|
||||
X103792400Y-54576933D01*
|
||||
X103744780Y-54672171D01*
|
||||
X103744780Y-54910266D01*
|
||||
X103792400Y-55053123D01*
|
||||
X103744780Y-55386457D02*
|
||||
X104744780Y-55624552D01*
|
||||
X104030495Y-55815028D01*
|
||||
X104744780Y-56005504D01*
|
||||
X103744780Y-56243600D01*
|
||||
X104649542Y-57195980D02*
|
||||
X104697161Y-57148361D01*
|
||||
X104744780Y-57005504D01*
|
||||
X104744780Y-56910266D01*
|
||||
X104697161Y-56767409D01*
|
||||
X104601923Y-56672171D01*
|
||||
X104506685Y-56624552D01*
|
||||
X104316209Y-56576933D01*
|
||||
X104173352Y-56576933D01*
|
||||
X103982876Y-56624552D01*
|
||||
X103887638Y-56672171D01*
|
||||
X103792400Y-56767409D01*
|
||||
X103744780Y-56910266D01*
|
||||
X103744780Y-57005504D01*
|
||||
X103792400Y-57148361D01*
|
||||
X103840019Y-57195980D01*
|
||||
X104744780Y-58100742D02*
|
||||
X104744780Y-57624552D01*
|
||||
X103744780Y-57624552D01*
|
||||
X104744780Y-58434076D02*
|
||||
X103744780Y-58434076D01*
|
||||
X104744780Y-59005504D02*
|
||||
X104173352Y-58576933D01*
|
||||
X103744780Y-59005504D02*
|
||||
X104316209Y-58434076D01*
|
||||
X61000000Y-75500000D02*
|
||||
X125500000Y-75500000D01*
|
||||
X61000000Y-49500000D02*
|
||||
X61000000Y-75500000D01*
|
||||
X125500000Y-50000000D02*
|
||||
X125500000Y-49500000D01*
|
||||
X61000000Y-49500000D02*
|
||||
X125500000Y-49500000D01*
|
||||
X83248500Y-55054500D02*
|
||||
G75*
|
||||
G02X84010500Y-55054500I381000J0D01*
|
||||
G01*
|
||||
X84010500Y-70612000D02*
|
||||
G75*
|
||||
G02X83248500Y-70612000I-381000J0D01*
|
||||
G01*
|
||||
X84010500Y-55054500D02*
|
||||
X84010500Y-70612000D01*
|
||||
X83248500Y-55054500D02*
|
||||
X83248500Y-70612000D01*
|
||||
X125500000Y-75500000D02*
|
||||
X125500000Y-50000000D01*
|
||||
D11*
|
||||
X105970500Y-71291500D02*
|
||||
X111980500Y-71291500D01*
|
||||
X108220500Y-64471500D02*
|
||||
X111980500Y-64471500D01*
|
||||
X111980500Y-71291500D02*
|
||||
X111980500Y-70031500D01*
|
||||
X111980500Y-64471500D02*
|
||||
X111980500Y-65731500D01*
|
||||
X105852500Y-62514267D02*
|
||||
X105852500Y-62171733D01*
|
||||
X106872500Y-62514267D02*
|
||||
X106872500Y-62171733D01*
|
||||
X102570000Y-70982500D02*
|
||||
X102570000Y-66897500D01*
|
||||
X102570000Y-66897500D02*
|
||||
X104440000Y-66897500D01*
|
||||
X104440000Y-66897500D02*
|
||||
X104440000Y-70982500D01*
|
||||
X108008267Y-73217500D02*
|
||||
X107665733Y-73217500D01*
|
||||
X108008267Y-72197500D02*
|
||||
X107665733Y-72197500D01*
|
||||
X71702000Y-54858000D02*
|
||||
X71702000Y-55358000D01*
|
||||
X70962000Y-54858000D02*
|
||||
X71702000Y-54858000D01*
|
||||
X67825000Y-66431000D02*
|
||||
X67871000Y-66384000D01*
|
||||
X65527000Y-68728000D02*
|
||||
X65563000Y-68693000D01*
|
||||
X68041000Y-66624000D02*
|
||||
X68076000Y-66589000D01*
|
||||
X65733000Y-68933000D02*
|
||||
X65779000Y-68886000D01*
|
||||
X67825000Y-61431000D02*
|
||||
X67871000Y-61384000D01*
|
||||
X65527000Y-63728000D02*
|
||||
X65563000Y-63693000D01*
|
||||
X68041000Y-61624000D02*
|
||||
X68076000Y-61589000D01*
|
||||
X65733000Y-63933000D02*
|
||||
X65779000Y-63886000D01*
|
||||
X61541000Y-70218000D02*
|
||||
X71462000Y-70218000D01*
|
||||
X61541000Y-55098000D02*
|
||||
X71462000Y-55098000D01*
|
||||
X71462000Y-55098000D02*
|
||||
X71462000Y-70218000D01*
|
||||
X61541000Y-55098000D02*
|
||||
X61541000Y-70218000D01*
|
||||
X64501000Y-55098000D02*
|
||||
X64501000Y-70218000D01*
|
||||
X69402000Y-55098000D02*
|
||||
X69402000Y-70218000D01*
|
||||
X70902000Y-55098000D02*
|
||||
X70902000Y-70218000D01*
|
||||
X68482000Y-67658000D02*
|
||||
G75*
|
||||
G03X68482000Y-67658000I-1680000J0D01*
|
||||
G01*
|
||||
X68482000Y-62658000D02*
|
||||
G75*
|
||||
G03X68482000Y-62658000I-1680000J0D01*
|
||||
G01*
|
||||
X68482253Y-57686805D02*
|
||||
G75*
|
||||
G03X68337000Y-56974000I-1680253J28805D01*
|
||||
G01*
|
||||
X67485042Y-56122574D02*
|
||||
G75*
|
||||
G03X66118000Y-56123000I-683042J-1535426D01*
|
||||
G01*
|
||||
X65266574Y-56974958D02*
|
||||
G75*
|
||||
G03X65267000Y-58342000I1535426J-683042D01*
|
||||
G01*
|
||||
X66118958Y-59193426D02*
|
||||
G75*
|
||||
G03X67486000Y-59193000I683042J1535426D01*
|
||||
G01*
|
||||
X68336756Y-58341318D02*
|
||||
G75*
|
||||
G03X68482000Y-57658000I-1534756J683318D01*
|
||||
G01*
|
||||
X119881000Y-68981500D02*
|
||||
X115621000Y-68981500D01*
|
||||
X115621000Y-68981500D02*
|
||||
X115621000Y-56661500D01*
|
||||
X115621000Y-56661500D02*
|
||||
X119881000Y-56661500D01*
|
||||
X123981000Y-68981500D02*
|
||||
X132341000Y-68981500D01*
|
||||
X132341000Y-68981500D02*
|
||||
X132341000Y-56661500D01*
|
||||
X132341000Y-56661500D02*
|
||||
X123981000Y-56661500D01*
|
||||
X115401000Y-64071500D02*
|
||||
X114901000Y-64571500D01*
|
||||
X114901000Y-64571500D02*
|
||||
X114901000Y-63571500D01*
|
||||
X114901000Y-63571500D02*
|
||||
X115401000Y-64071500D01*
|
||||
X89429500Y-59701000D02*
|
||||
X77829500Y-59701000D01*
|
||||
X89429500Y-53701000D02*
|
||||
X77829500Y-53701000D01*
|
||||
X89429500Y-53701000D02*
|
||||
X89429500Y-59701000D01*
|
||||
X77829500Y-53701000D02*
|
||||
X77829500Y-59701000D01*
|
||||
D10*
|
||||
X84010500Y-53467000D02*
|
||||
X84010500Y-60071000D01*
|
||||
X83248500Y-60071000D02*
|
||||
X83248500Y-53467000D01*
|
||||
D11*
|
||||
X73443000Y-62353436D02*
|
||||
X73443000Y-63557564D01*
|
||||
X76163000Y-62353436D02*
|
||||
X76163000Y-63557564D01*
|
||||
X83629500Y-69582000D02*
|
||||
X80209500Y-69582000D01*
|
||||
X80209500Y-69582000D02*
|
||||
X80209500Y-69292000D01*
|
||||
X83629500Y-69582000D02*
|
||||
X87049500Y-69582000D01*
|
||||
X87049500Y-69582000D02*
|
||||
X87049500Y-69292000D01*
|
||||
X83629500Y-60212000D02*
|
||||
X80209500Y-60212000D01*
|
||||
X80209500Y-60212000D02*
|
||||
X80209500Y-60502000D01*
|
||||
X83629500Y-60212000D02*
|
||||
X87049500Y-60212000D01*
|
||||
X87049500Y-60212000D02*
|
||||
X87049500Y-60502000D01*
|
||||
X87049500Y-60502000D02*
|
||||
X89329500Y-60502000D01*
|
||||
D10*
|
||||
X110934404Y-63015880D02*
|
||||
X110934404Y-63825404D01*
|
||||
X110886785Y-63920642D01*
|
||||
X110839166Y-63968261D01*
|
||||
X110743928Y-64015880D01*
|
||||
X110553452Y-64015880D01*
|
||||
X110458214Y-63968261D01*
|
||||
X110410595Y-63920642D01*
|
||||
X110362976Y-63825404D01*
|
||||
X110362976Y-63015880D01*
|
||||
X109362976Y-64015880D02*
|
||||
X109934404Y-64015880D01*
|
||||
X109648690Y-64015880D02*
|
||||
X109648690Y-63015880D01*
|
||||
X109743928Y-63158738D01*
|
||||
X109839166Y-63253976D01*
|
||||
X109934404Y-63301595D01*
|
||||
X106402166Y-60301142D02*
|
||||
X106449785Y-60348761D01*
|
||||
X106592642Y-60396380D01*
|
||||
X106687880Y-60396380D01*
|
||||
X106830738Y-60348761D01*
|
||||
X106925976Y-60253523D01*
|
||||
X106973595Y-60158285D01*
|
||||
X107021214Y-59967809D01*
|
||||
X107021214Y-59824952D01*
|
||||
X106973595Y-59634476D01*
|
||||
X106925976Y-59539238D01*
|
||||
X106830738Y-59444000D01*
|
||||
X106687880Y-59396380D01*
|
||||
X106592642Y-59396380D01*
|
||||
X106449785Y-59444000D01*
|
||||
X106402166Y-59491619D01*
|
||||
X106068833Y-59396380D02*
|
||||
X105402166Y-59396380D01*
|
||||
X105830738Y-60396380D01*
|
||||
X103608166Y-73001142D02*
|
||||
X103655785Y-73048761D01*
|
||||
X103798642Y-73096380D01*
|
||||
X103893880Y-73096380D01*
|
||||
X104036738Y-73048761D01*
|
||||
X104131976Y-72953523D01*
|
||||
X104179595Y-72858285D01*
|
||||
X104227214Y-72667809D01*
|
||||
X104227214Y-72524952D01*
|
||||
X104179595Y-72334476D01*
|
||||
X104131976Y-72239238D01*
|
||||
X104036738Y-72144000D01*
|
||||
X103893880Y-72096380D01*
|
||||
X103798642Y-72096380D01*
|
||||
X103655785Y-72144000D01*
|
||||
X103608166Y-72191619D01*
|
||||
X102655785Y-73096380D02*
|
||||
X103227214Y-73096380D01*
|
||||
X102941500Y-73096380D02*
|
||||
X102941500Y-72096380D01*
|
||||
X103036738Y-72239238D01*
|
||||
X103131976Y-72334476D01*
|
||||
X103227214Y-72382095D01*
|
||||
X108017666Y-74652142D02*
|
||||
X108065285Y-74699761D01*
|
||||
X108208142Y-74747380D01*
|
||||
X108303380Y-74747380D01*
|
||||
X108446238Y-74699761D01*
|
||||
X108541476Y-74604523D01*
|
||||
X108589095Y-74509285D01*
|
||||
X108636714Y-74318809D01*
|
||||
X108636714Y-74175952D01*
|
||||
X108589095Y-73985476D01*
|
||||
X108541476Y-73890238D01*
|
||||
X108446238Y-73795000D01*
|
||||
X108303380Y-73747380D01*
|
||||
X108208142Y-73747380D01*
|
||||
X108065285Y-73795000D01*
|
||||
X108017666Y-73842619D01*
|
||||
X107636714Y-73842619D02*
|
||||
X107589095Y-73795000D01*
|
||||
X107493857Y-73747380D01*
|
||||
X107255761Y-73747380D01*
|
||||
X107160523Y-73795000D01*
|
||||
X107112904Y-73842619D01*
|
||||
X107065285Y-73937857D01*
|
||||
X107065285Y-74033095D01*
|
||||
X107112904Y-74175952D01*
|
||||
X107684333Y-74747380D01*
|
||||
X107065285Y-74747380D01*
|
||||
X73078933Y-56348380D02*
|
||||
X73078933Y-57062666D01*
|
||||
X73126552Y-57205523D01*
|
||||
X73221790Y-57300761D01*
|
||||
X73364647Y-57348380D01*
|
||||
X73459885Y-57348380D01*
|
||||
X72078933Y-57348380D02*
|
||||
X72650361Y-57348380D01*
|
||||
X72364647Y-57348380D02*
|
||||
X72364647Y-56348380D01*
|
||||
X72459885Y-56491238D01*
|
||||
X72555123Y-56586476D01*
|
||||
X72650361Y-56634095D01*
|
||||
X124314333Y-71293880D02*
|
||||
X124314333Y-72008166D01*
|
||||
X124361952Y-72151023D01*
|
||||
X124457190Y-72246261D01*
|
||||
X124600047Y-72293880D01*
|
||||
X124695285Y-72293880D01*
|
||||
X123409571Y-71627214D02*
|
||||
X123409571Y-72293880D01*
|
||||
X123647666Y-71246261D02*
|
||||
X123885761Y-71960547D01*
|
||||
X123266714Y-71960547D01*
|
||||
X81502238Y-53252619D02*
|
||||
X81597476Y-53205000D01*
|
||||
X81692714Y-53109761D01*
|
||||
X81835571Y-52966904D01*
|
||||
X81930809Y-52919285D01*
|
||||
X82026047Y-52919285D01*
|
||||
X81978428Y-53157380D02*
|
||||
X82073666Y-53109761D01*
|
||||
X82168904Y-53014523D01*
|
||||
X82216523Y-52824047D01*
|
||||
X82216523Y-52490714D01*
|
||||
X82168904Y-52300238D01*
|
||||
X82073666Y-52205000D01*
|
||||
X81978428Y-52157380D01*
|
||||
X81787952Y-52157380D01*
|
||||
X81692714Y-52205000D01*
|
||||
X81597476Y-52300238D01*
|
||||
X81549857Y-52490714D01*
|
||||
X81549857Y-52824047D01*
|
||||
X81597476Y-53014523D01*
|
||||
X81692714Y-53109761D01*
|
||||
X81787952Y-53157380D01*
|
||||
X81978428Y-53157380D01*
|
||||
X80597476Y-53157380D02*
|
||||
X81168904Y-53157380D01*
|
||||
X80883190Y-53157380D02*
|
||||
X80883190Y-52157380D01*
|
||||
X80978428Y-52300238D01*
|
||||
X81073666Y-52395476D01*
|
||||
X81168904Y-52443095D01*
|
||||
X73001166Y-60269380D02*
|
||||
X73334500Y-59793190D01*
|
||||
X73572595Y-60269380D02*
|
||||
X73572595Y-59269380D01*
|
||||
X73191642Y-59269380D01*
|
||||
X73096404Y-59317000D01*
|
||||
X73048785Y-59364619D01*
|
||||
X73001166Y-59459857D01*
|
||||
X73001166Y-59602714D01*
|
||||
X73048785Y-59697952D01*
|
||||
X73096404Y-59745571D01*
|
||||
X73191642Y-59793190D01*
|
||||
X73572595Y-59793190D01*
|
||||
X72048785Y-60269380D02*
|
||||
X72620214Y-60269380D01*
|
||||
X72334500Y-60269380D02*
|
||||
X72334500Y-59269380D01*
|
||||
X72429738Y-59412238D01*
|
||||
X72524976Y-59507476D01*
|
||||
X72620214Y-59555095D01*
|
||||
X89407904Y-70000880D02*
|
||||
X89407904Y-70810404D01*
|
||||
X89360285Y-70905642D01*
|
||||
X89312666Y-70953261D01*
|
||||
X89217428Y-71000880D01*
|
||||
X89026952Y-71000880D01*
|
||||
X88931714Y-70953261D01*
|
||||
X88884095Y-70905642D01*
|
||||
X88836476Y-70810404D01*
|
||||
X88836476Y-70000880D01*
|
||||
X87931714Y-70334214D02*
|
||||
X87931714Y-71000880D01*
|
||||
X88169809Y-69953261D02*
|
||||
X88407904Y-70667547D01*
|
||||
X87788857Y-70667547D01*
|
||||
M02*
|
||||
@@ -0,0 +1,37 @@
|
||||
G04 #@! TF.GenerationSoftware,KiCad,Pcbnew,5.1.4*
|
||||
G04 #@! TF.CreationDate,2020-05-23T13:02:16+03:00*
|
||||
G04 #@! TF.ProjectId,stm32,73746d33-322e-46b6-9963-61645f706362,rev?*
|
||||
G04 #@! TF.SameCoordinates,Original*
|
||||
G04 #@! TF.FileFunction,Profile,NP*
|
||||
%FSLAX46Y46*%
|
||||
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
|
||||
G04 Created by KiCad (PCBNEW 5.1.4) date 2020-05-23 13:02:16*
|
||||
%MOMM*%
|
||||
%LPD*%
|
||||
G04 APERTURE LIST*
|
||||
%ADD10C,0.150000*%
|
||||
G04 APERTURE END LIST*
|
||||
D10*
|
||||
X61000000Y-75500000D02*
|
||||
X125500000Y-75500000D01*
|
||||
X61000000Y-49500000D02*
|
||||
X61000000Y-75500000D01*
|
||||
X125500000Y-50000000D02*
|
||||
X125500000Y-49500000D01*
|
||||
X61000000Y-49500000D02*
|
||||
X125500000Y-49500000D01*
|
||||
X83248500Y-55054500D02*
|
||||
G75*
|
||||
G02X84010500Y-55054500I381000J0D01*
|
||||
G01*
|
||||
X84010500Y-70612000D02*
|
||||
G75*
|
||||
G02X83248500Y-70612000I-381000J0D01*
|
||||
G01*
|
||||
X84010500Y-55054500D02*
|
||||
X84010500Y-70612000D01*
|
||||
X83248500Y-55054500D02*
|
||||
X83248500Y-70612000D01*
|
||||
X125500000Y-75500000D02*
|
||||
X125500000Y-50000000D01*
|
||||
M02*
|
||||
10707
F0:F030,F042,F072/deprecated/usbcan/kicad/gerbers/stm32-F_Cu.gbr
Normal file
10707
F0:F030,F042,F072/deprecated/usbcan/kicad/gerbers/stm32-F_Cu.gbr
Normal file
File diff suppressed because it is too large
Load Diff
7243
F0:F030,F042,F072/deprecated/usbcan/kicad/gerbers/stm32-F_Mask.gbr
Normal file
7243
F0:F030,F042,F072/deprecated/usbcan/kicad/gerbers/stm32-F_Mask.gbr
Normal file
File diff suppressed because it is too large
Load Diff
1076
F0:F030,F042,F072/deprecated/usbcan/kicad/gerbers/stm32-F_SilkS.gbr
Normal file
1076
F0:F030,F042,F072/deprecated/usbcan/kicad/gerbers/stm32-F_SilkS.gbr
Normal file
File diff suppressed because it is too large
Load Diff
2262
F0:F030,F042,F072/deprecated/usbcan/kicad/gerbers/stm32-drl_map.gbr
Normal file
2262
F0:F030,F042,F072/deprecated/usbcan/kicad/gerbers/stm32-drl_map.gbr
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,18 @@
|
||||
(module B0x0xS (layer F.Cu) (tedit 5EC4EFC6)
|
||||
(fp_text reference REF** (at 0.127 2.286) (layer F.SilkS)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_text value B0x0xS (at 0 -3.048) (layer F.Fab)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_line (start -5.8 0.9) (end 5.8 0.9) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -5.8 -5.1) (end 5.8 -5.1) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -5.8 -5.1) (end -5.8 0.9) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start 5.8 -5.1) (end 5.8 0.9) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -0.381 -5.334) (end -0.381 1.27) (layer F.SilkS) (width 0.15))
|
||||
(fp_line (start 0.381 1.27) (end 0.381 -5.334) (layer F.SilkS) (width 0.15))
|
||||
(pad 1 thru_hole circle (at -3.81 0) (size 1.5 1.5) (drill 0.8) (layers *.Cu *.Mask))
|
||||
(pad 2 thru_hole circle (at -1.27 0) (size 1.5 1.5) (drill 0.8) (layers *.Cu *.Mask))
|
||||
(pad 3 thru_hole circle (at 1.27 0) (size 1.5 1.5) (drill 0.8) (layers *.Cu *.Mask))
|
||||
(pad 4 thru_hole circle (at 3.81 0) (size 1.5 1.5) (drill 0.8) (layers *.Cu *.Mask))
|
||||
)
|
||||
@@ -0,0 +1,9 @@
|
||||
(module Hole_3mm (layer F.Cu) (tedit 5913F6E4)
|
||||
(fp_text reference REF** (at 0 3.81) (layer F.SilkS) hide
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_text value Hole_3mm (at 0 -7.62) (layer F.Fab) hide
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(pad 1 thru_hole circle (at 0 0) (size 5 5) (drill 3) (layers *.Cu *.Mask))
|
||||
)
|
||||
695
F0:F030,F042,F072/deprecated/usbcan/kicad/stm32-rescue.lib
Normal file
695
F0:F030,F042,F072/deprecated/usbcan/kicad/stm32-rescue.lib
Normal file
@@ -0,0 +1,695 @@
|
||||
EESchema-LIBRARY Version 2.4
|
||||
#encoding utf-8
|
||||
#
|
||||
# +3.3V
|
||||
#
|
||||
DEF +3.3V #PWR 0 0 Y Y 1 F P
|
||||
F0 "#PWR" 0 -150 50 H I C CNN
|
||||
F1 "+3.3V" 0 140 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
DRAW
|
||||
P 2 0 1 0 -30 50 0 100 N
|
||||
P 2 0 1 0 0 0 0 100 N
|
||||
P 2 0 1 0 0 100 30 50 N
|
||||
X +3V3 1 0 0 0 U 50 50 1 1 W N
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# +5V
|
||||
#
|
||||
DEF +5V #PWR 0 0 Y Y 1 F P
|
||||
F0 "#PWR" 0 -150 50 H I C CNN
|
||||
F1 "+5V" 0 140 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
DRAW
|
||||
P 2 0 1 0 -30 50 0 100 N
|
||||
P 2 0 1 0 0 0 0 100 N
|
||||
P 2 0 1 0 0 100 30 50 N
|
||||
X +5V 1 0 0 0 U 50 50 1 1 W N
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# C
|
||||
#
|
||||
DEF C C 0 10 N Y 1 F N
|
||||
F0 "C" 25 100 50 H V L CNN
|
||||
F1 "C" 25 -100 50 H V L CNN
|
||||
F2 "" 38 -150 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
C_*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
P 2 0 1 20 -80 -30 80 -30 N
|
||||
P 2 0 1 20 -80 30 80 30 N
|
||||
X ~ 1 0 150 110 D 50 50 1 1 P
|
||||
X ~ 2 0 -150 110 U 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# CONN_01X01
|
||||
#
|
||||
DEF CONN_01X01 J 0 40 Y N 1 F N
|
||||
F0 "J" 0 100 50 H V C CNN
|
||||
F1 "CONN_01X01" 100 0 50 V V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
Pin_Header_Straight_1X*
|
||||
Pin_Header_Angled_1X*
|
||||
Socket_Strip_Straight_1X*
|
||||
Socket_Strip_Angled_1X*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -50 5 10 -5 0 1 0 N
|
||||
S -50 50 50 -50 0 1 0 N
|
||||
X P1 1 -200 0 150 R 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# CONN_01X03
|
||||
#
|
||||
DEF CONN_01X03 J 0 40 Y N 1 F N
|
||||
F0 "J" 0 200 50 H V C CNN
|
||||
F1 "CONN_01X03" 100 0 50 V V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
Pin_Header_Straight_1X*
|
||||
Pin_Header_Angled_1X*
|
||||
Socket_Strip_Straight_1X*
|
||||
Socket_Strip_Angled_1X*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -50 -95 10 -105 0 1 0 N
|
||||
S -50 5 10 -5 0 1 0 N
|
||||
S -50 105 10 95 0 1 0 N
|
||||
S -50 150 50 -150 0 1 0 N
|
||||
X P1 1 -200 100 150 R 50 50 1 1 P
|
||||
X P2 2 -200 0 150 R 50 50 1 1 P
|
||||
X P3 3 -200 -100 150 R 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# CONN_02X03
|
||||
#
|
||||
DEF CONN_02X03 J 0 1 Y N 1 F N
|
||||
F0 "J" 0 200 50 H V C CNN
|
||||
F1 "CONN_02X03" 0 -200 50 H V C CNN
|
||||
F2 "" 0 -1200 50 H I C CNN
|
||||
F3 "" 0 -1200 50 H I C CNN
|
||||
$FPLIST
|
||||
Pin_Header_Straight_2X*
|
||||
Pin_Header_Angled_2X*
|
||||
Socket_Strip_Straight_2X*
|
||||
Socket_Strip_Angled_2X*
|
||||
IDC_Header_Straight_*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -100 -95 -50 -105 0 1 0 N
|
||||
S -100 5 -50 -5 0 1 0 N
|
||||
S -100 105 -50 95 0 1 0 N
|
||||
S -100 150 100 -150 0 1 0 N
|
||||
S 50 -95 100 -105 0 1 0 N
|
||||
S 50 5 100 -5 0 1 0 N
|
||||
S 50 105 100 95 0 1 0 N
|
||||
X P1 1 -250 100 150 R 50 50 1 1 P
|
||||
X P2 2 250 100 150 L 50 50 1 1 P
|
||||
X P3 3 -250 0 150 R 50 50 1 1 P
|
||||
X P4 4 250 0 150 L 50 50 1 1 P
|
||||
X P5 5 -250 -100 150 R 50 50 1 1 P
|
||||
X P6 6 250 -100 150 L 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# CP
|
||||
#
|
||||
DEF CP C 0 10 N Y 1 F N
|
||||
F0 "C" 25 100 50 H V L CNN
|
||||
F1 "CP" 25 -100 50 H V L CNN
|
||||
F2 "" 38 -150 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
CP_*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -90 20 -90 40 0 1 0 N
|
||||
S -90 20 90 20 0 1 0 N
|
||||
S 90 -20 -90 -40 0 1 0 F
|
||||
S 90 40 -90 40 0 1 0 N
|
||||
S 90 40 90 20 0 1 0 N
|
||||
P 2 0 1 0 -70 90 -30 90 N
|
||||
P 2 0 1 0 -50 110 -50 70 N
|
||||
X ~ 1 0 150 110 D 50 50 1 1 P
|
||||
X ~ 2 0 -150 110 U 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# Conn_01x01
|
||||
#
|
||||
DEF Conn_01x01 J 0 40 Y N 1 F N
|
||||
F0 "J" 0 100 50 H V C CNN
|
||||
F1 "Conn_01x01" 0 -100 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
Connector*:*_??x*mm*
|
||||
Connector*:*1x??x*mm*
|
||||
Pin?Header?Straight?1X*
|
||||
Pin?Header?Angled?1X*
|
||||
Socket?Strip?Straight?1X*
|
||||
Socket?Strip?Angled?1X*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -50 5 0 -5 1 1 6 N
|
||||
S -50 50 50 -50 1 1 10 f
|
||||
X Pin_1 1 -200 0 150 R 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# Conn_01x02
|
||||
#
|
||||
DEF Conn_01x02 J 0 40 Y N 1 F N
|
||||
F0 "J" 0 100 50 H V C CNN
|
||||
F1 "Conn_01x02" 0 -200 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
Connector*:*_??x*mm*
|
||||
Connector*:*1x??x*mm*
|
||||
Pin?Header?Straight?1X*
|
||||
Pin?Header?Angled?1X*
|
||||
Socket?Strip?Straight?1X*
|
||||
Socket?Strip?Angled?1X*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -50 -95 0 -105 1 1 6 N
|
||||
S -50 5 0 -5 1 1 6 N
|
||||
S -50 50 50 -150 1 1 10 f
|
||||
X Pin_1 1 -200 0 150 R 50 50 1 1 P
|
||||
X Pin_2 2 -200 -100 150 R 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# Conn_01x07
|
||||
#
|
||||
DEF Conn_01x07 J 0 40 Y N 1 F N
|
||||
F0 "J" 0 400 50 H V C CNN
|
||||
F1 "Conn_01x07" 0 -400 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
Connector*:*_??x*mm*
|
||||
Connector*:*1x??x*mm*
|
||||
Pin?Header?Straight?1X*
|
||||
Pin?Header?Angled?1X*
|
||||
Socket?Strip?Straight?1X*
|
||||
Socket?Strip?Angled?1X*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -50 -295 0 -305 1 1 6 N
|
||||
S -50 -195 0 -205 1 1 6 N
|
||||
S -50 -95 0 -105 1 1 6 N
|
||||
S -50 5 0 -5 1 1 6 N
|
||||
S -50 105 0 95 1 1 6 N
|
||||
S -50 205 0 195 1 1 6 N
|
||||
S -50 305 0 295 1 1 6 N
|
||||
S -50 350 50 -350 1 1 10 f
|
||||
X Pin_1 1 -200 300 150 R 50 50 1 1 P
|
||||
X Pin_2 2 -200 200 150 R 50 50 1 1 P
|
||||
X Pin_3 3 -200 100 150 R 50 50 1 1 P
|
||||
X Pin_4 4 -200 0 150 R 50 50 1 1 P
|
||||
X Pin_5 5 -200 -100 150 R 50 50 1 1 P
|
||||
X Pin_6 6 -200 -200 150 R 50 50 1 1 P
|
||||
X Pin_7 7 -200 -300 150 R 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# DB9_Female
|
||||
#
|
||||
DEF DB9_Female J 0 40 Y N 1 F N
|
||||
F0 "J" 0 550 50 H V C CNN
|
||||
F1 "DB9_Female" 0 -575 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
DB*F*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
C -70 -400 30 0 1 0 N
|
||||
C -70 -200 30 0 1 0 N
|
||||
C -70 0 30 0 1 0 N
|
||||
C -70 200 30 0 1 0 N
|
||||
C -70 400 30 0 1 0 N
|
||||
C 50 -300 30 0 1 0 N
|
||||
C 50 -100 30 0 1 0 N
|
||||
C 50 100 30 0 1 0 N
|
||||
C 50 300 30 0 1 0 N
|
||||
P 2 0 1 0 -150 -400 -100 -400 N
|
||||
P 2 0 1 0 -150 -300 20 -300 N
|
||||
P 2 0 1 0 -150 -200 -100 -200 N
|
||||
P 2 0 1 0 -150 -100 20 -100 N
|
||||
P 2 0 1 0 -150 0 -100 0 N
|
||||
P 2 0 1 0 -150 100 20 100 N
|
||||
P 2 0 1 0 -150 200 -100 200 N
|
||||
P 2 0 1 0 -150 300 20 300 N
|
||||
P 2 0 1 0 -150 400 -100 400 N
|
||||
P 5 0 1 10 -150 525 -150 -525 150 -375 150 375 -150 525 f
|
||||
X 1 1 -300 400 150 R 50 50 1 1 P
|
||||
X 2 2 -300 200 150 R 50 50 1 1 P
|
||||
X 3 3 -300 0 150 R 50 50 1 1 P
|
||||
X 4 4 -300 -200 150 R 50 50 1 1 P
|
||||
X 5 5 -300 -400 150 R 50 50 1 1 P
|
||||
X 6 6 -300 300 150 R 50 50 1 1 P
|
||||
X 7 7 -300 100 150 R 50 50 1 1 P
|
||||
X 8 8 -300 -100 150 R 50 50 1 1 P
|
||||
X 9 9 -300 -300 150 R 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# DB9_Male
|
||||
#
|
||||
DEF DB9_Male J 0 40 Y N 1 F N
|
||||
F0 "J" 0 550 50 H V C CNN
|
||||
F1 "DB9_Male" 0 -575 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
DB*M*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
C -70 -400 30 0 1 0 F
|
||||
C -70 -200 30 0 1 0 F
|
||||
C -70 0 30 0 1 0 F
|
||||
C -70 200 30 0 1 0 F
|
||||
C -70 400 30 0 1 0 F
|
||||
C 50 -300 30 0 1 0 F
|
||||
C 50 -100 30 0 1 0 F
|
||||
C 50 100 30 0 1 0 F
|
||||
C 50 300 30 0 1 0 F
|
||||
P 2 0 1 0 -150 -400 -100 -400 N
|
||||
P 2 0 1 0 -150 -300 20 -300 N
|
||||
P 2 0 1 0 -150 -200 -100 -200 N
|
||||
P 2 0 1 0 -150 -100 20 -100 N
|
||||
P 2 0 1 0 -150 0 -100 0 N
|
||||
P 2 0 1 0 -150 100 20 100 N
|
||||
P 2 0 1 0 -150 200 -100 200 N
|
||||
P 2 0 1 0 -150 300 20 300 N
|
||||
P 2 0 1 0 -150 400 -100 400 N
|
||||
P 5 0 1 10 -150 -525 -150 525 150 375 150 -375 -150 -525 f
|
||||
X 1 1 -300 -400 150 R 50 50 1 1 P
|
||||
X 2 2 -300 -200 150 R 50 50 1 1 P
|
||||
X 3 3 -300 0 150 R 50 50 1 1 P
|
||||
X 4 4 -300 200 150 R 50 50 1 1 P
|
||||
X 5 5 -300 400 150 R 50 50 1 1 P
|
||||
X 6 6 -300 -300 150 R 50 50 1 1 P
|
||||
X 7 7 -300 -100 150 R 50 50 1 1 P
|
||||
X 8 8 -300 100 150 R 50 50 1 1 P
|
||||
X 9 9 -300 300 150 R 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# D_Schottky
|
||||
#
|
||||
DEF D_Schottky D 0 40 N N 1 F N
|
||||
F0 "D" 0 100 50 H V C CNN
|
||||
F1 "D_Schottky" 0 -100 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
TO-???*
|
||||
*SingleDiode
|
||||
*_Diode_*
|
||||
*SingleDiode*
|
||||
D_*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
P 2 0 1 0 50 0 -50 0 N
|
||||
P 4 0 1 8 50 50 50 -50 -50 0 50 50 N
|
||||
P 6 0 1 8 -75 25 -75 50 -50 50 -50 -50 -25 -50 -25 -25 N
|
||||
X K 1 -150 0 100 R 50 50 1 1 P
|
||||
X A 2 150 0 100 L 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# D_Zener
|
||||
#
|
||||
DEF D_Zener D 0 40 N N 1 F N
|
||||
F0 "D" 0 100 50 H V C CNN
|
||||
F1 "D_Zener" 0 -100 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
TO-???*
|
||||
*SingleDiode
|
||||
*_Diode_*
|
||||
*SingleDiode*
|
||||
D_*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
P 2 0 1 0 50 0 -50 0 N
|
||||
P 3 0 1 8 -50 -50 -50 50 -30 50 N
|
||||
P 4 0 1 8 50 -50 50 50 -50 0 50 -50 N
|
||||
X K 1 -150 0 100 R 50 50 1 1 P
|
||||
X A 2 150 0 100 L 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# GND
|
||||
#
|
||||
DEF GND #PWR 0 0 Y Y 1 F P
|
||||
F0 "#PWR" 0 -250 50 H I C CNN
|
||||
F1 "GND" 0 -150 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
DRAW
|
||||
P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
|
||||
X GND 1 0 0 0 D 50 50 1 1 W N
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# Jumper_NO_Small
|
||||
#
|
||||
DEF Jumper_NO_Small JP 0 30 N N 1 F N
|
||||
F0 "JP" 0 80 50 H V C CNN
|
||||
F1 "Jumper_NO_Small" 10 -60 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
DRAW
|
||||
C -40 0 20 0 1 0 N
|
||||
C 40 0 20 0 1 0 N
|
||||
X 1 1 -100 0 40 R 50 50 0 1 P
|
||||
X 2 2 100 0 40 L 50 50 0 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# LED-RESCUE-stm32
|
||||
#
|
||||
DEF LED-RESCUE-stm32 D 0 40 Y N 1 F N
|
||||
F0 "D" 0 100 50 H V C CNN
|
||||
F1 "LED-RESCUE-stm32" 0 -100 50 H V C CNN
|
||||
F2 "" 0 0 50 H V C CNN
|
||||
F3 "" 0 0 50 H V C CNN
|
||||
$FPLIST
|
||||
LED*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
P 2 0 1 8 -50 -50 -50 50 N
|
||||
P 2 0 1 0 -50 0 50 0 N
|
||||
P 4 0 1 8 50 -50 50 50 -50 0 50 -50 N
|
||||
P 5 0 1 0 -120 -30 -180 -90 -150 -90 -180 -90 -180 -60 N
|
||||
P 5 0 1 0 -70 -30 -130 -90 -100 -90 -130 -90 -130 -60 N
|
||||
X K 1 -150 0 100 R 50 50 1 1 P
|
||||
X A 2 150 0 100 L 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# LM1117-3.3-RESCUE-stm32
|
||||
#
|
||||
DEF LM1117-3.3-RESCUE-stm32 U 0 30 Y Y 1 F N
|
||||
F0 "U" 100 -250 50 H V C CNN
|
||||
F1 "LM1117-3.3-RESCUE-stm32" 0 250 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
SOT-223*
|
||||
TO-263*
|
||||
TO-252*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -200 -200 200 200 0 1 10 f
|
||||
X GND/ADJ 1 0 -300 100 U 50 50 1 1 W
|
||||
X VO 2 300 50 100 L 50 50 1 1 P
|
||||
X VI 3 -300 0 100 R 50 50 1 1 W
|
||||
X VO 4 300 -50 100 L 50 50 1 1 w
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# MAX471-RESCUE-stm32
|
||||
#
|
||||
DEF MAX471-RESCUE-stm32 U 0 40 Y Y 1 F N
|
||||
F0 "U" -300 350 50 H V L CNN
|
||||
F1 "MAX471-RESCUE-stm32" -300 -350 50 H V L CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
DRAW
|
||||
S -300 300 300 -300 0 1 10 f
|
||||
X SHDN 1 -400 -100 100 R 50 50 1 1 I
|
||||
X RS+ 2 -400 200 100 R 50 50 1 1 W
|
||||
X RS+ 3 -400 100 100 R 50 50 1 1 P
|
||||
X GND 4 -400 -200 100 R 50 50 1 1 W
|
||||
X SIGN 5 400 -100 100 L 50 50 1 1 C
|
||||
X RS- 6 400 200 100 L 50 50 1 1 w
|
||||
X RS- 7 400 100 100 L 50 50 1 1 P
|
||||
X OUT 8 400 -200 100 L 50 50 1 1 O
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# MCP2551-I_SN
|
||||
#
|
||||
DEF MCP2551-I_SN U 0 40 Y Y 1 F N
|
||||
F0 "U" -400 350 50 H V L CNN
|
||||
F1 "MCP2551-I_SN" 100 350 50 H V L CNN
|
||||
F2 "Housings_SOIC:SOIC-8_3.9x4.9mm_Pitch1.27mm" 0 -500 50 H I C CIN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
SOIC*Pitch1.27mm*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -400 300 400 -300 0 1 10 f
|
||||
X TXD 1 -500 200 100 R 50 50 1 1 I
|
||||
X VSS 2 0 -400 100 U 50 50 1 1 W
|
||||
X VDD 3 0 400 100 D 50 50 1 1 W
|
||||
X RXD 4 -500 100 100 R 50 50 1 1 O
|
||||
X Vref 5 -500 -100 100 R 50 50 1 1 w
|
||||
X CANL 6 500 -100 100 L 50 50 1 1 B
|
||||
X CANH 7 500 100 100 L 50 50 1 1 B
|
||||
X Rs 8 -500 -200 100 R 50 50 1 1 I
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# PWR_FLAG
|
||||
#
|
||||
DEF PWR_FLAG #FLG 0 0 N N 1 F P
|
||||
F0 "#FLG" 0 75 50 H I C CNN
|
||||
F1 "PWR_FLAG" 0 150 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
DRAW
|
||||
P 6 0 1 0 0 0 0 50 -40 75 0 100 40 75 0 50 N
|
||||
X pwr 1 0 0 0 U 50 50 0 0 w
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# Q_NMOS_GSD
|
||||
#
|
||||
DEF Q_NMOS_GSD Q 0 0 Y N 1 F N
|
||||
F0 "Q" 200 50 50 H V L CNN
|
||||
F1 "Q_NMOS_GSD" 200 -50 50 H V L CNN
|
||||
F2 "" 200 100 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
DRAW
|
||||
C 65 0 111 0 1 10 N
|
||||
C 100 -70 11 0 1 0 F
|
||||
C 100 70 11 0 1 0 F
|
||||
P 2 0 1 0 2 0 10 0 N
|
||||
P 2 0 1 0 30 -70 100 -70 N
|
||||
P 2 0 1 10 30 -50 30 -90 N
|
||||
P 2 0 1 0 30 0 100 0 N
|
||||
P 2 0 1 10 30 20 30 -20 N
|
||||
P 2 0 1 0 30 70 100 70 N
|
||||
P 2 0 1 10 30 90 30 50 N
|
||||
P 2 0 1 0 100 -70 100 -100 N
|
||||
P 2 0 1 0 100 -70 100 0 N
|
||||
P 2 0 1 0 100 100 100 70 N
|
||||
P 3 0 1 10 10 75 10 -75 10 -75 N
|
||||
P 4 0 1 0 40 0 80 15 80 -15 40 0 F
|
||||
P 4 0 1 0 100 -70 130 -70 130 70 100 70 N
|
||||
P 4 0 1 0 110 20 115 15 145 15 150 10 N
|
||||
P 4 0 1 0 130 15 115 -10 145 -10 130 15 N
|
||||
X G 1 -200 0 200 R 50 50 1 1 I
|
||||
X S 2 100 -200 100 U 50 50 1 1 P
|
||||
X D 3 100 200 100 D 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# Q_PMOS_GSD
|
||||
#
|
||||
DEF Q_PMOS_GSD Q 0 0 Y N 1 F N
|
||||
F0 "Q" 200 50 50 H V L CNN
|
||||
F1 "Q_PMOS_GSD" 200 -50 50 H V L CNN
|
||||
F2 "" 200 100 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
DRAW
|
||||
C 65 0 111 0 1 10 N
|
||||
C 100 -70 11 0 1 0 F
|
||||
C 100 70 11 0 1 0 F
|
||||
P 2 0 1 0 2 0 10 0 N
|
||||
P 2 0 1 0 30 -70 100 -70 N
|
||||
P 2 0 1 10 30 -50 30 -90 N
|
||||
P 2 0 1 0 30 0 100 0 N
|
||||
P 2 0 1 10 30 20 30 -20 N
|
||||
P 2 0 1 0 30 70 100 70 N
|
||||
P 2 0 1 10 30 90 30 50 N
|
||||
P 2 0 1 0 100 -70 100 -100 N
|
||||
P 2 0 1 0 100 -70 100 0 N
|
||||
P 2 0 1 0 100 100 100 70 N
|
||||
P 3 0 1 10 10 75 10 -75 10 -75 N
|
||||
P 4 0 1 0 90 0 50 -15 50 15 90 0 F
|
||||
P 4 0 1 0 100 -70 130 -70 130 70 100 70 N
|
||||
P 4 0 1 0 110 -20 115 -15 145 -15 150 -10 N
|
||||
P 4 0 1 0 130 -15 115 10 145 10 130 -15 N
|
||||
X G 1 -200 0 200 R 50 50 1 1 I
|
||||
X S 2 100 -200 100 U 50 50 1 1 P
|
||||
X D 3 100 200 100 D 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# R
|
||||
#
|
||||
DEF R R 0 0 N Y 1 F N
|
||||
F0 "R" 80 0 50 V V C CNN
|
||||
F1 "R" 0 0 50 V V C CNN
|
||||
F2 "" -70 0 50 V I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
R_*
|
||||
R_*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -40 -100 40 100 0 1 10 N
|
||||
X ~ 1 0 150 50 D 50 50 1 1 P
|
||||
X ~ 2 0 -150 50 U 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# SP0502BAHT
|
||||
#
|
||||
DEF SP0502BAHT D 0 40 Y N 1 F N
|
||||
F0 "D" 225 100 50 H V L CNN
|
||||
F1 "SP0502BAHT" 225 25 50 H V L CNN
|
||||
F2 "TO_SOT_Packages_SMD:SOT-23" 225 -50 50 H I L CNN
|
||||
F3 "" 125 125 50 H I C CNN
|
||||
$FPLIST
|
||||
SOT?23*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -175 100 175 -100 0 1 10 f
|
||||
P 2 0 1 0 -100 100 -100 50 N
|
||||
P 2 0 1 0 0 -50 0 -100 N
|
||||
P 2 0 1 0 100 100 100 50 N
|
||||
P 4 0 1 0 -150 75 -125 50 -75 50 -50 25 N
|
||||
P 4 0 1 0 -100 0 -100 -50 100 -50 100 0 N
|
||||
P 4 0 1 0 -100 50 -75 0 -125 0 -100 50 F
|
||||
P 4 0 1 0 50 75 75 50 125 50 150 25 N
|
||||
P 4 0 1 0 100 50 75 0 125 0 100 50 F
|
||||
X A 3 0 -200 100 U 50 50 0 0 I
|
||||
X K 1 -100 200 100 D 50 50 1 1 I
|
||||
X K 2 100 200 100 D 50 50 1 1 I
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# STM32F042C6Tx
|
||||
#
|
||||
DEF STM32F042C6Tx U 0 40 Y Y 1 L N
|
||||
F0 "U" -3000 1725 50 H V L BNN
|
||||
F1 "STM32F042C6Tx" 3000 1725 50 H V R BNN
|
||||
F2 "LQFP48" 3000 1675 50 H V R TNN
|
||||
F3 "" 0 0 50 H V C CNN
|
||||
DRAW
|
||||
S -3000 -1700 3000 1700 0 1 10 f
|
||||
X VBAT 1 -3100 1100 100 R 50 50 1 1 W
|
||||
X ADC_IN0/RTC_TAMP2/SYS_WKUP1/TIM2_CH1/TIM2_ETR/TSC_G1_IO1/USART2_CTS/PA0 10 3100 100 100 L 50 50 1 1 B
|
||||
X ADC_IN1/TIM2_CH2/TSC_G1_IO2/USART2_DE/USART2_RTS/PA1 11 3100 0 100 L 50 50 1 1 B
|
||||
X ADC_IN2/SYS_WKUP4/TIM2_CH3/TSC_G1_IO3/USART2_TX/PA2 12 3100 -100 100 L 50 50 1 1 B
|
||||
X ADC_IN3/TIM2_CH4/TSC_G1_IO4/USART2_RX/PA3 13 3100 -200 100 L 50 50 1 1 B
|
||||
X ADC_IN4/I2S1_WS/SPI1_NSS/TIM14_CH1/TSC_G2_IO1/USART2_CK/USB_OE/PA4 14 3100 -300 100 L 50 50 1 1 B
|
||||
X ADC_IN5/CEC/I2S1_CK/SPI1_SCK/TIM2_CH1/TIM2_ETR/TSC_G2_IO2/PA5 15 3100 -400 100 L 50 50 1 1 B
|
||||
X ADC_IN6/I2S1_MCK/SPI1_MISO/TIM16_CH1/TIM1_BKIN/TIM3_CH1/TSC_G2_IO3/PA6 16 3100 -500 100 L 50 50 1 1 B
|
||||
X ADC_IN7/I2S1_SD/SPI1_MOSI/TIM14_CH1/TIM17_CH1/TIM1_CH1N/TIM3_CH2/TSC_G2_IO4/PA7 17 3100 -600 100 L 50 50 1 1 B
|
||||
X PB0/ADC_IN8/TIM1_CH2N/TIM3_CH3/TSC_G3_IO2 18 -3100 100 100 R 50 50 1 1 B
|
||||
X PB1/ADC_IN9/TIM14_CH1/TIM1_CH3N/TIM3_CH4/TSC_G3_IO3 19 -3100 0 100 R 50 50 1 1 B
|
||||
X PC13/RTC_OUT_ALARM/RTC_OUT_CALIB/RTC_TAMP1/RTC_TS/SYS_WKUP2 2 -3100 500 100 R 50 50 1 1 B
|
||||
X PB2/TSC_G3_IO4 20 -3100 -100 100 R 50 50 1 1 B
|
||||
X PB10/CEC/I2C1_SCL/SPI2_SCK/TIM2_CH3/TSC_SYNC 21 -3100 -900 100 R 50 50 1 1 B
|
||||
X PB11/I2C1_SDA/TIM2_CH4 22 -3100 -1000 100 R 50 50 1 1 B
|
||||
X VSS 23 -200 -1800 100 U 50 50 1 1 W
|
||||
X VDD 24 -200 1800 100 D 50 50 1 1 W
|
||||
X PB12/SPI2_NSS/TIM1_BKIN 25 -3100 -1100 100 R 50 50 1 1 B
|
||||
X PB13/I2C1_SCL/SPI2_SCK/TIM1_CH1N 26 -3100 -1200 100 R 50 50 1 1 B
|
||||
X PB14/I2C1_SDA/SPI2_MISO/TIM1_CH2N 27 -3100 -1300 100 R 50 50 1 1 B
|
||||
X PB15/RTC_REFIN/SPI2_MOSI/SYS_WKUP7/TIM1_CH3N 28 -3100 -1400 100 R 50 50 1 1 B
|
||||
X CRS_SYNC/RCC_MCO/TIM1_CH1/USART1_CK/PA8 29 3100 -700 100 L 50 50 1 1 B
|
||||
X PC14/RCC_OSC32_IN 3 -3100 400 100 R 50 50 1 1 B
|
||||
X I2C1_SCL/TIM1_CH2/TSC_G4_IO1/USART1_TX/PA9 30 3100 -800 100 L 50 50 1 1 B
|
||||
X I2C1_SDA/TIM17_BKIN/TIM1_CH3/TSC_G4_IO2/USART1_RX/PA10 31 3100 -900 100 L 50 50 1 1 B
|
||||
X CAN_RX/I2C1_SCL/TIM1_CH4/TSC_G4_IO3/USART1_CTS/USB_DM/PA11 32 3100 -1000 100 L 50 50 1 1 B
|
||||
X CAN_TX/I2C1_SDA/TIM1_ETR/TSC_G4_IO4/USART1_DE/USART1_RTS/USB_DP/PA12 33 3100 -1100 100 L 50 50 1 1 B
|
||||
X IR_OUT/SYS_SWDIO/USB_OE/PA13 34 3100 -1200 100 L 50 50 1 1 B
|
||||
X VSS 35 -100 -1800 100 U 50 50 1 1 W
|
||||
X VDDIO2 36 100 1800 100 D 50 50 1 1 W
|
||||
X SYS_SWCLK/USART2_TX/PA14 37 3100 -1300 100 L 50 50 1 1 B
|
||||
X I2S1_WS/SPI1_NSS/TIM2_CH1/TIM2_ETR/USART2_RX/USB_OE/PA15 38 3100 -1400 100 L 50 50 1 1 B
|
||||
X PB3/I2S1_CK/SPI1_SCK/TIM2_CH2/TSC_G5_IO1 39 -3100 -200 100 R 50 50 1 1 B
|
||||
X PC15/RCC_OSC32_OUT 4 -3100 300 100 R 50 50 1 1 B
|
||||
X PB4/I2S1_MCK/SPI1_MISO/TIM17_BKIN/TIM3_CH1/TSC_G5_IO2 40 -3100 -300 100 R 50 50 1 1 B
|
||||
X PB5/I2C1_SMBA/I2S1_SD/SPI1_MOSI/SYS_WKUP6/TIM16_BKIN/TIM3_CH2 41 -3100 -400 100 R 50 50 1 1 B
|
||||
X PB6/I2C1_SCL/TIM16_CH1N/TSC_G5_IO3/USART1_TX 42 -3100 -500 100 R 50 50 1 1 B
|
||||
X PB7/I2C1_SDA/TIM17_CH1N/TSC_G5_IO4/USART1_RX 43 -3100 -600 100 R 50 50 1 1 B
|
||||
X PF11 44 -3100 700 100 R 50 50 1 1 B
|
||||
X PB8/CAN_RX/CEC/I2C1_SCL/TIM16_CH1/TSC_SYNC 45 -3100 -700 100 R 50 50 1 1 B
|
||||
X PB9/CAN_TX/I2C1_SDA/IR_OUT/SPI2_NSS/TIM17_CH1 46 -3100 -800 100 R 50 50 1 1 B
|
||||
X VSS 47 0 -1800 100 U 50 50 1 1 W
|
||||
X VDD 48 -100 1800 100 D 50 50 1 1 W
|
||||
X PF0/CRS_SYNC/I2C1_SDA/RCC_OSC_IN 5 -3100 900 100 R 50 50 1 1 I
|
||||
X PF1/I2C1_SCL/RCC_OSC_OUT 6 -3100 800 100 R 50 50 1 1 I
|
||||
X NRST 7 -3100 1300 100 R 50 50 1 1 I
|
||||
X VSSA 8 100 -1800 100 U 50 50 1 1 W
|
||||
X VDDA 9 0 1800 100 D 50 50 1 1 W
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# SW_Push
|
||||
#
|
||||
DEF SW_Push SW 0 40 N N 1 F N
|
||||
F0 "SW" 50 100 50 H V L CNN
|
||||
F1 "SW_Push" 0 -60 50 H V C CNN
|
||||
F2 "" 0 200 50 H I C CNN
|
||||
F3 "" 0 200 50 H I C CNN
|
||||
DRAW
|
||||
C -80 0 20 0 1 0 N
|
||||
C 80 0 20 0 1 0 N
|
||||
P 2 0 1 0 0 50 0 120 N
|
||||
P 2 0 1 0 100 50 -100 50 N
|
||||
X 1 1 -200 0 100 R 50 50 0 1 P
|
||||
X 2 2 200 0 100 L 50 50 0 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# USB_A-RESCUE-stm32
|
||||
#
|
||||
DEF USB_A-RESCUE-stm32 P 0 40 Y Y 1 F N
|
||||
F0 "P" 200 -200 50 H V C CNN
|
||||
F1 "USB_A-RESCUE-stm32" -50 200 50 H V C CNN
|
||||
F2 "" -50 -100 50 V V C CNN
|
||||
F3 "" -50 -100 50 V V C CNN
|
||||
$FPLIST
|
||||
USB*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -250 -150 150 150 0 1 0 N
|
||||
S -205 -150 -195 -120 0 1 0 N
|
||||
S -105 -150 -95 -120 0 1 0 N
|
||||
S -5 -150 5 -120 0 1 0 N
|
||||
S 95 -150 105 -120 0 1 0 N
|
||||
X VBUS 1 -200 -300 150 U 50 50 1 1 W
|
||||
X D- 2 -100 -300 150 U 50 50 1 1 P
|
||||
X D+ 3 0 -300 150 U 50 50 1 1 P
|
||||
X GND 4 100 -300 150 U 50 50 1 1 W
|
||||
X shield 5 300 100 150 L 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
#End Library
|
||||
24
F0:F030,F042,F072/deprecated/usbcan/kicad/stm32.csv
Normal file
24
F0:F030,F042,F072/deprecated/usbcan/kicad/stm32.csv
Normal file
@@ -0,0 +1,24 @@
|
||||
"Id";"Designator";"Package";"Quantity";"Designation";"Supplier and ref";
|
||||
1;"JP1";"R_Axial_DIN0207_L6.3mm_D2.5mm_P5.08mm_Vertical";1;"NON-ISOL";;;
|
||||
2;"U1";"SOT-223-3_TabPin2";1;"LM1117-3.3";;;
|
||||
3;"C9,C8";"C_0805_2012Metric_Pad1.15x1.40mm_HandSolder";2;"1";;;
|
||||
4;"C7,C2,C3,C4,C5,C6";"C_0603_1608Metric_Pad1.05x0.95mm_HandSolder";6;"0.1";;;
|
||||
5;"C1";"CP_EIA-3216-18_Kemet-A_Pad1.58x1.35mm_HandSolder";1;"47u";;;
|
||||
6;"D1";"SOT-23";1;"PESD1CAN";;;
|
||||
7;"D2";"SOIC-8_3.9x4.9mm_P1.27mm";1;"USB6B1";;;
|
||||
8;"D3";"LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder";1;"LED0";;;
|
||||
9;"D4";"LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder";1;"LED1";;;
|
||||
10;"J1";"TerminalBlock_Phoenix_MKDS-1,5-3_1x03_P5.00mm_Horizontal";1;"Screw_Terminal_01x03";;;
|
||||
11;"J3";"PinHeader_1x06_P2.54mm_Vertical";1;"SWDetc";;;
|
||||
12;"J4";"USB_B_OST_USB-B1HSxx_Horizontal";1;"USB_B";;;
|
||||
13;"P1,P2,P3,P4";"Hole_3mm";4;"Hole";;;
|
||||
14;"Q1";"B0x0xS";1;"B0505S";;;
|
||||
15;"R1";"R_1210_3225Metric_Pad1.42x2.65mm_HandSolder";1;"120";;;
|
||||
16;"R2";"R_0603_1608Metric_Pad1.05x0.95mm_HandSolder";1;"4k7";;;
|
||||
17;"R3,R4,R6";"R_0603_1608Metric_Pad1.05x0.95mm_HandSolder";3;"22";;;
|
||||
18;"R5";"R_0603_1608Metric_Pad1.05x0.95mm_HandSolder";1;"10k";;;
|
||||
19;"R7,R8";"R_0603_1608Metric_Pad1.05x0.95mm_HandSolder";2;"330";;;
|
||||
20;"SW1";"SW_DIP_SPSTx01_Slide_6.7x4.1mm_W7.62mm_P2.54mm_LowProfile";1;"SW_DIP_x01";;;
|
||||
21;"U2";"SOIC-8_3.9x4.9mm_P1.27mm";1;"MCP2551-I/SN";;;
|
||||
22;"U3";"LQFP-48_7x7mm_P0.5mm";1;"STM32F072C8Tx";;;
|
||||
23;"U4";"SOP-8_6.62x9.15mm_P2.54mm";1;"ISO1050DUB";;;
|
||||
|
2568
F0:F030,F042,F072/deprecated/usbcan/kicad/stm32.kicad_pcb
Normal file
2568
F0:F030,F042,F072/deprecated/usbcan/kicad/stm32.kicad_pcb
Normal file
File diff suppressed because it is too large
Load Diff
83
F0:F030,F042,F072/deprecated/usbcan/kicad/stm32.kicad_prl
Normal file
83
F0:F030,F042,F072/deprecated/usbcan/kicad/stm32.kicad_prl
Normal file
@@ -0,0 +1,83 @@
|
||||
{
|
||||
"board": {
|
||||
"active_layer": 44,
|
||||
"active_layer_preset": "All Layers",
|
||||
"auto_track_width": true,
|
||||
"hidden_netclasses": [],
|
||||
"hidden_nets": [],
|
||||
"high_contrast_mode": 0,
|
||||
"net_color_mode": 1,
|
||||
"opacity": {
|
||||
"images": 0.6,
|
||||
"pads": 1.0,
|
||||
"tracks": 1.0,
|
||||
"vias": 1.0,
|
||||
"zones": 0.6
|
||||
},
|
||||
"ratsnest_display_mode": 0,
|
||||
"selection_filter": {
|
||||
"dimensions": true,
|
||||
"footprints": true,
|
||||
"graphics": true,
|
||||
"keepouts": true,
|
||||
"lockedItems": true,
|
||||
"otherItems": true,
|
||||
"pads": true,
|
||||
"text": true,
|
||||
"tracks": true,
|
||||
"vias": true,
|
||||
"zones": true
|
||||
},
|
||||
"visible_items": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
8,
|
||||
9,
|
||||
10,
|
||||
11,
|
||||
12,
|
||||
13,
|
||||
14,
|
||||
15,
|
||||
16,
|
||||
17,
|
||||
18,
|
||||
19,
|
||||
20,
|
||||
21,
|
||||
22,
|
||||
23,
|
||||
24,
|
||||
25,
|
||||
26,
|
||||
27,
|
||||
28,
|
||||
29,
|
||||
30,
|
||||
32,
|
||||
33,
|
||||
34,
|
||||
35,
|
||||
36
|
||||
],
|
||||
"visible_layers": "fffffff_ffffffff",
|
||||
"zone_display_mode": 0
|
||||
},
|
||||
"git": {
|
||||
"repo_password": "",
|
||||
"repo_type": "",
|
||||
"repo_username": "",
|
||||
"ssh_key": ""
|
||||
},
|
||||
"meta": {
|
||||
"filename": "stm32.kicad_prl",
|
||||
"version": 3
|
||||
},
|
||||
"project": {
|
||||
"files": []
|
||||
}
|
||||
}
|
||||
720
F0:F030,F042,F072/deprecated/usbcan/kicad/stm32.kicad_pro
Normal file
720
F0:F030,F042,F072/deprecated/usbcan/kicad/stm32.kicad_pro
Normal file
@@ -0,0 +1,720 @@
|
||||
{
|
||||
"board": {
|
||||
"3dviewports": [],
|
||||
"design_settings": {
|
||||
"defaults": {
|
||||
"board_outline_line_width": 0.15,
|
||||
"copper_line_width": 0.19999999999999998,
|
||||
"copper_text_italic": false,
|
||||
"copper_text_size_h": 1.5,
|
||||
"copper_text_size_v": 1.5,
|
||||
"copper_text_thickness": 0.3,
|
||||
"copper_text_upright": false,
|
||||
"courtyard_line_width": 0.049999999999999996,
|
||||
"dimension_precision": 4,
|
||||
"dimension_units": 3,
|
||||
"dimensions": {
|
||||
"arrow_length": 1270000,
|
||||
"extension_offset": 500000,
|
||||
"keep_text_aligned": true,
|
||||
"suppress_zeroes": false,
|
||||
"text_position": 0,
|
||||
"units_format": 1
|
||||
},
|
||||
"fab_line_width": 0.09999999999999999,
|
||||
"fab_text_italic": false,
|
||||
"fab_text_size_h": 1.0,
|
||||
"fab_text_size_v": 1.0,
|
||||
"fab_text_thickness": 0.15,
|
||||
"fab_text_upright": false,
|
||||
"other_line_width": 0.09999999999999999,
|
||||
"other_text_italic": false,
|
||||
"other_text_size_h": 1.0,
|
||||
"other_text_size_v": 1.0,
|
||||
"other_text_thickness": 0.15,
|
||||
"other_text_upright": false,
|
||||
"pads": {
|
||||
"drill": 0.8,
|
||||
"height": 1.5,
|
||||
"width": 1.5
|
||||
},
|
||||
"silk_line_width": 0.15,
|
||||
"silk_text_italic": false,
|
||||
"silk_text_size_h": 1.0,
|
||||
"silk_text_size_v": 1.0,
|
||||
"silk_text_thickness": 0.15,
|
||||
"silk_text_upright": false,
|
||||
"zones": {
|
||||
"min_clearance": 0.5
|
||||
}
|
||||
},
|
||||
"diff_pair_dimensions": [],
|
||||
"drc_exclusions": [],
|
||||
"meta": {
|
||||
"filename": "board_design_settings.json",
|
||||
"version": 2
|
||||
},
|
||||
"rule_severities": {
|
||||
"annular_width": "error",
|
||||
"clearance": "error",
|
||||
"connection_width": "warning",
|
||||
"copper_edge_clearance": "error",
|
||||
"copper_sliver": "warning",
|
||||
"courtyards_overlap": "error",
|
||||
"diff_pair_gap_out_of_range": "error",
|
||||
"diff_pair_uncoupled_length_too_long": "error",
|
||||
"drill_out_of_range": "error",
|
||||
"duplicate_footprints": "warning",
|
||||
"extra_footprint": "warning",
|
||||
"footprint": "error",
|
||||
"footprint_type_mismatch": "ignore",
|
||||
"hole_clearance": "error",
|
||||
"hole_near_hole": "error",
|
||||
"invalid_outline": "error",
|
||||
"isolated_copper": "warning",
|
||||
"item_on_disabled_layer": "error",
|
||||
"items_not_allowed": "error",
|
||||
"length_out_of_range": "error",
|
||||
"lib_footprint_issues": "warning",
|
||||
"lib_footprint_mismatch": "warning",
|
||||
"malformed_courtyard": "error",
|
||||
"microvia_drill_out_of_range": "error",
|
||||
"missing_courtyard": "ignore",
|
||||
"missing_footprint": "warning",
|
||||
"net_conflict": "warning",
|
||||
"npth_inside_courtyard": "ignore",
|
||||
"padstack": "warning",
|
||||
"pth_inside_courtyard": "ignore",
|
||||
"shorting_items": "error",
|
||||
"silk_edge_clearance": "warning",
|
||||
"silk_over_copper": "warning",
|
||||
"silk_overlap": "warning",
|
||||
"skew_out_of_range": "error",
|
||||
"solder_mask_bridge": "error",
|
||||
"starved_thermal": "error",
|
||||
"text_height": "warning",
|
||||
"text_thickness": "warning",
|
||||
"through_hole_pad_without_hole": "error",
|
||||
"too_many_vias": "error",
|
||||
"track_dangling": "warning",
|
||||
"track_width": "error",
|
||||
"tracks_crossing": "error",
|
||||
"unconnected_items": "error",
|
||||
"unresolved_variable": "error",
|
||||
"via_dangling": "warning",
|
||||
"zones_intersect": "error"
|
||||
},
|
||||
"rule_severitieslegacy_courtyards_overlap": true,
|
||||
"rule_severitieslegacy_no_courtyard_defined": false,
|
||||
"rules": {
|
||||
"max_error": 0.005,
|
||||
"min_clearance": 0.0,
|
||||
"min_connection": 0.0,
|
||||
"min_copper_edge_clearance": 0.075,
|
||||
"min_hole_clearance": 0.25,
|
||||
"min_hole_to_hole": 0.25,
|
||||
"min_microvia_diameter": 0.19999999999999998,
|
||||
"min_microvia_drill": 0.09999999999999999,
|
||||
"min_resolved_spokes": 2,
|
||||
"min_silk_clearance": 0.0,
|
||||
"min_text_height": 0.7999999999999999,
|
||||
"min_text_thickness": 0.08,
|
||||
"min_through_hole_diameter": 0.6,
|
||||
"min_track_width": 0.19999999999999998,
|
||||
"min_via_annular_width": 0.09999999999999999,
|
||||
"min_via_diameter": 0.7999999999999999,
|
||||
"solder_mask_to_copper_clearance": 0.0,
|
||||
"use_height_for_length_calcs": true
|
||||
},
|
||||
"teardrop_options": [
|
||||
{
|
||||
"td_allow_use_two_tracks": true,
|
||||
"td_curve_segcount": 5,
|
||||
"td_on_pad_in_zone": false,
|
||||
"td_onpadsmd": true,
|
||||
"td_onroundshapesonly": false,
|
||||
"td_ontrackend": false,
|
||||
"td_onviapad": true
|
||||
}
|
||||
],
|
||||
"teardrop_parameters": [
|
||||
{
|
||||
"td_curve_segcount": 0,
|
||||
"td_height_ratio": 1.0,
|
||||
"td_length_ratio": 0.5,
|
||||
"td_maxheight": 2.0,
|
||||
"td_maxlen": 1.0,
|
||||
"td_target_name": "td_round_shape",
|
||||
"td_width_to_size_filter_ratio": 0.9
|
||||
},
|
||||
{
|
||||
"td_curve_segcount": 0,
|
||||
"td_height_ratio": 1.0,
|
||||
"td_length_ratio": 0.5,
|
||||
"td_maxheight": 2.0,
|
||||
"td_maxlen": 1.0,
|
||||
"td_target_name": "td_rect_shape",
|
||||
"td_width_to_size_filter_ratio": 0.9
|
||||
},
|
||||
{
|
||||
"td_curve_segcount": 0,
|
||||
"td_height_ratio": 1.0,
|
||||
"td_length_ratio": 0.5,
|
||||
"td_maxheight": 2.0,
|
||||
"td_maxlen": 1.0,
|
||||
"td_target_name": "td_track_end",
|
||||
"td_width_to_size_filter_ratio": 0.9
|
||||
}
|
||||
],
|
||||
"track_widths": [
|
||||
0.0,
|
||||
0.2,
|
||||
0.3,
|
||||
0.5,
|
||||
1.0,
|
||||
2.0
|
||||
],
|
||||
"via_dimensions": [
|
||||
{
|
||||
"diameter": 0.0,
|
||||
"drill": 0.0
|
||||
},
|
||||
{
|
||||
"diameter": 1.5,
|
||||
"drill": 0.8
|
||||
}
|
||||
],
|
||||
"zones_allow_external_fillets": false,
|
||||
"zones_use_no_outline": true
|
||||
},
|
||||
"ipc2581": {
|
||||
"dist": "",
|
||||
"distpn": "",
|
||||
"internal_id": "",
|
||||
"mfg": "",
|
||||
"mpn": ""
|
||||
},
|
||||
"layer_presets": [],
|
||||
"viewports": []
|
||||
},
|
||||
"boards": [],
|
||||
"cvpcb": {
|
||||
"equivalence_files": []
|
||||
},
|
||||
"erc": {
|
||||
"erc_exclusions": [],
|
||||
"meta": {
|
||||
"version": 0
|
||||
},
|
||||
"pin_map": [
|
||||
[
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
2,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
1,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
2,
|
||||
1,
|
||||
1,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
[
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
2,
|
||||
1,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
2,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
2,
|
||||
1,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
[
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2
|
||||
]
|
||||
],
|
||||
"rule_severities": {
|
||||
"bus_definition_conflict": "error",
|
||||
"bus_entry_needed": "error",
|
||||
"bus_to_bus_conflict": "error",
|
||||
"bus_to_net_conflict": "error",
|
||||
"conflicting_netclasses": "error",
|
||||
"different_unit_footprint": "error",
|
||||
"different_unit_net": "error",
|
||||
"duplicate_reference": "error",
|
||||
"duplicate_sheet_names": "error",
|
||||
"endpoint_off_grid": "warning",
|
||||
"extra_units": "error",
|
||||
"global_label_dangling": "warning",
|
||||
"hier_label_mismatch": "error",
|
||||
"label_dangling": "error",
|
||||
"lib_symbol_issues": "warning",
|
||||
"missing_bidi_pin": "warning",
|
||||
"missing_input_pin": "warning",
|
||||
"missing_power_pin": "error",
|
||||
"missing_unit": "warning",
|
||||
"multiple_net_names": "warning",
|
||||
"net_not_bus_member": "warning",
|
||||
"no_connect_connected": "warning",
|
||||
"no_connect_dangling": "warning",
|
||||
"pin_not_connected": "error",
|
||||
"pin_not_driven": "error",
|
||||
"pin_to_pin": "warning",
|
||||
"power_pin_not_driven": "error",
|
||||
"similar_labels": "warning",
|
||||
"simulation_model_issue": "ignore",
|
||||
"unannotated": "error",
|
||||
"unit_value_mismatch": "error",
|
||||
"unresolved_variable": "error",
|
||||
"wire_dangling": "error"
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"pinned_footprint_libs": [],
|
||||
"pinned_symbol_libs": []
|
||||
},
|
||||
"meta": {
|
||||
"filename": "stm32.kicad_pro",
|
||||
"version": 1
|
||||
},
|
||||
"net_settings": {
|
||||
"classes": [
|
||||
{
|
||||
"bus_width": 12,
|
||||
"clearance": 0.2,
|
||||
"diff_pair_gap": 0.25,
|
||||
"diff_pair_via_gap": 0.25,
|
||||
"diff_pair_width": 0.2,
|
||||
"line_style": 0,
|
||||
"microvia_diameter": 0.3,
|
||||
"microvia_drill": 0.1,
|
||||
"name": "Default",
|
||||
"pcb_color": "rgba(0, 0, 0, 0.000)",
|
||||
"schematic_color": "rgba(0, 0, 0, 0.000)",
|
||||
"track_width": 0.2,
|
||||
"via_diameter": 1.0,
|
||||
"via_drill": 0.6,
|
||||
"wire_width": 6
|
||||
},
|
||||
{
|
||||
"bus_width": 12,
|
||||
"clearance": 0.3,
|
||||
"diff_pair_gap": 0.25,
|
||||
"diff_pair_via_gap": 0.25,
|
||||
"diff_pair_width": 0.2,
|
||||
"line_style": 0,
|
||||
"microvia_diameter": 0.3,
|
||||
"microvia_drill": 0.1,
|
||||
"name": "0.5",
|
||||
"pcb_color": "rgba(0, 0, 0, 0.000)",
|
||||
"schematic_color": "rgba(0, 0, 0, 0.000)",
|
||||
"track_width": 0.5,
|
||||
"via_diameter": 1.5,
|
||||
"via_drill": 0.8,
|
||||
"wire_width": 6
|
||||
},
|
||||
{
|
||||
"bus_width": 12,
|
||||
"clearance": 0.5,
|
||||
"diff_pair_gap": 0.25,
|
||||
"diff_pair_via_gap": 0.25,
|
||||
"diff_pair_width": 0.2,
|
||||
"line_style": 0,
|
||||
"microvia_diameter": 0.3,
|
||||
"microvia_drill": 0.1,
|
||||
"name": "1",
|
||||
"pcb_color": "rgba(0, 0, 0, 0.000)",
|
||||
"schematic_color": "rgba(0, 0, 0, 0.000)",
|
||||
"track_width": 1.0,
|
||||
"via_diameter": 1.5,
|
||||
"via_drill": 0.8,
|
||||
"wire_width": 6
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"version": 3
|
||||
},
|
||||
"net_colors": null,
|
||||
"netclass_assignments": null,
|
||||
"netclass_patterns": [
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "+3V3"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "+5V"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "/BOOT0"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "/CANH"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "/CANL"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "/CAN_Rx"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "/CAN_Tx"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "/LED0"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "/LED1"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "/NRST"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "/SWCLK"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "/SWDIO"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "Earth"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "GND"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "Net-(C9-Pad1)"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "Net-(D2-Pad1)"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "Net-(D2-Pad2)"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "Net-(D2-Pad3)"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "Net-(D2-Pad6)"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "Net-(D2-Pad7)"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "Net-(D3-Pad2)"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "Net-(D4-Pad2)"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "Net-(J3-Pad1)"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "Net-(R1-Pad1)"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "Net-(R2-Pad1)"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "Net-(R3-Pad2)"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "Net-(R4-Pad2)"
|
||||
}
|
||||
]
|
||||
},
|
||||
"pcbnew": {
|
||||
"last_paths": {
|
||||
"gencad": "",
|
||||
"idf": "",
|
||||
"netlist": "stm32.net",
|
||||
"plot": "",
|
||||
"pos_files": "",
|
||||
"specctra_dsn": "",
|
||||
"step": "",
|
||||
"svg": "",
|
||||
"vrml": ""
|
||||
},
|
||||
"page_layout_descr_file": ""
|
||||
},
|
||||
"schematic": {
|
||||
"annotate_start_num": 0,
|
||||
"bom_fmt_presets": [],
|
||||
"bom_fmt_settings": {
|
||||
"field_delimiter": ",",
|
||||
"keep_line_breaks": false,
|
||||
"keep_tabs": false,
|
||||
"name": "CSV",
|
||||
"ref_delimiter": ",",
|
||||
"ref_range_delimiter": "",
|
||||
"string_delimiter": "\""
|
||||
},
|
||||
"bom_presets": [],
|
||||
"bom_settings": {
|
||||
"exclude_dnp": false,
|
||||
"fields_ordered": [
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "Reference",
|
||||
"name": "Reference",
|
||||
"show": true
|
||||
},
|
||||
{
|
||||
"group_by": true,
|
||||
"label": "Value",
|
||||
"name": "Value",
|
||||
"show": true
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "Datasheet",
|
||||
"name": "Datasheet",
|
||||
"show": true
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "Footprint",
|
||||
"name": "Footprint",
|
||||
"show": true
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "Qty",
|
||||
"name": "${QUANTITY}",
|
||||
"show": true
|
||||
},
|
||||
{
|
||||
"group_by": true,
|
||||
"label": "DNP",
|
||||
"name": "${DNP}",
|
||||
"show": true
|
||||
}
|
||||
],
|
||||
"filter_string": "",
|
||||
"group_symbols": true,
|
||||
"name": "Grouped By Value",
|
||||
"sort_asc": true,
|
||||
"sort_field": "Обозначение"
|
||||
},
|
||||
"connection_grid_size": 50.0,
|
||||
"drawing": {
|
||||
"dashed_lines_dash_length_ratio": 12.0,
|
||||
"dashed_lines_gap_length_ratio": 3.0,
|
||||
"default_bus_thickness": 12.0,
|
||||
"default_junction_size": 40.0,
|
||||
"default_line_thickness": 6.0,
|
||||
"default_text_size": 50.0,
|
||||
"default_wire_thickness": 6.0,
|
||||
"field_names": [],
|
||||
"intersheets_ref_own_page": false,
|
||||
"intersheets_ref_prefix": "",
|
||||
"intersheets_ref_short": false,
|
||||
"intersheets_ref_show": false,
|
||||
"intersheets_ref_suffix": "",
|
||||
"junction_size_choice": 3,
|
||||
"label_size_ratio": 0.3,
|
||||
"operating_point_overlay_i_precision": 3,
|
||||
"operating_point_overlay_i_range": "~A",
|
||||
"operating_point_overlay_v_precision": 3,
|
||||
"operating_point_overlay_v_range": "~V",
|
||||
"overbar_offset_ratio": 1.23,
|
||||
"pin_symbol_size": 25.0,
|
||||
"text_offset_ratio": 0.3
|
||||
},
|
||||
"legacy_lib_dir": "",
|
||||
"legacy_lib_list": [],
|
||||
"meta": {
|
||||
"version": 1
|
||||
},
|
||||
"net_format_name": "Pcbnew",
|
||||
"ngspice": {
|
||||
"fix_include_paths": true,
|
||||
"fix_passive_vals": false,
|
||||
"meta": {
|
||||
"version": 0
|
||||
},
|
||||
"model_mode": 0,
|
||||
"workbook_filename": ""
|
||||
},
|
||||
"page_layout_descr_file": "",
|
||||
"plot_directory": "",
|
||||
"spice_adjust_passive_values": false,
|
||||
"spice_current_sheet_as_root": false,
|
||||
"spice_external_command": "spice \"%I\"",
|
||||
"spice_model_current_sheet_as_root": true,
|
||||
"spice_save_all_currents": false,
|
||||
"spice_save_all_dissipations": false,
|
||||
"spice_save_all_voltages": false,
|
||||
"subpart_first_id": 65,
|
||||
"subpart_id_separator": 0
|
||||
},
|
||||
"sheets": [],
|
||||
"text_variables": {}
|
||||
}
|
||||
732
F0:F030,F042,F072/deprecated/usbcan/kicad/stm32.net
Normal file
732
F0:F030,F042,F072/deprecated/usbcan/kicad/stm32.net
Normal file
@@ -0,0 +1,732 @@
|
||||
(export (version D)
|
||||
(design
|
||||
(source /home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/canusb/stm32.sch)
|
||||
(date "Чт 21 мая 2020 12:04:16")
|
||||
(tool "Eeschema 5.1.4")
|
||||
(sheet (number 1) (name /) (tstamps /)
|
||||
(title_block
|
||||
(title "STM32F0x2 based USB<>CAN converter (isolated)")
|
||||
(company "SAO RAS")
|
||||
(rev)
|
||||
(date)
|
||||
(source stm32.sch)
|
||||
(comment (number 1) (value ""))
|
||||
(comment (number 2) (value ""))
|
||||
(comment (number 3) (value ""))
|
||||
(comment (number 4) (value "")))))
|
||||
(components
|
||||
(comp (ref C3)
|
||||
(value 0.1)
|
||||
(footprint Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part C) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 58C42D39))
|
||||
(comp (ref U2)
|
||||
(value MCP2551-I/SN)
|
||||
(footprint Package_SO:SOIC-8_3.9x4.9mm_P1.27mm)
|
||||
(libsource (lib stm32-rescue) (part MCP2551-I_SN) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 58C43297))
|
||||
(comp (ref C1)
|
||||
(value 47u)
|
||||
(footprint Capacitor_Tantalum_SMD:CP_EIA-3216-18_Kemet-A_Pad1.58x1.35mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part CP) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 58C454F6))
|
||||
(comp (ref D1)
|
||||
(value PESD1CAN)
|
||||
(footprint TO_SOT_Packages_SMD:SOT-23)
|
||||
(libsource (lib elements) (part PESD1CAN) (description "CAN bus ESD protection"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 58C46522))
|
||||
(comp (ref R2)
|
||||
(value 4k7)
|
||||
(footprint Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part R) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 58C47F04))
|
||||
(comp (ref D3)
|
||||
(value LED0)
|
||||
(footprint LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part LED-RESCUE-stm32) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5908EA64))
|
||||
(comp (ref R7)
|
||||
(value 330)
|
||||
(footprint Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part R) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5908EB17))
|
||||
(comp (ref C4)
|
||||
(value 0.1)
|
||||
(footprint Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part C) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 590935EA))
|
||||
(comp (ref C5)
|
||||
(value 0.1)
|
||||
(footprint Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part C) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 59093675))
|
||||
(comp (ref D2)
|
||||
(value USB6B1)
|
||||
(footprint Package_SO:SOIC-8_3.9x4.9mm_P1.27mm)
|
||||
(libsource (lib elements) (part USB6B1) (description "USB bus ESD protection"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 59098D4D))
|
||||
(comp (ref D4)
|
||||
(value LED1)
|
||||
(footprint LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part LED-RESCUE-stm32) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5909AF9A))
|
||||
(comp (ref R8)
|
||||
(value 330)
|
||||
(footprint Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part R) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5909AFA0))
|
||||
(comp (ref C6)
|
||||
(value 0.1)
|
||||
(footprint Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part C) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 590A8102))
|
||||
(comp (ref R5)
|
||||
(value 10k)
|
||||
(footprint Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part R) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 590D30C8))
|
||||
(comp (ref P1)
|
||||
(value Hole)
|
||||
(footprint my_footprints:Hole_3mm)
|
||||
(libsource (lib stm32-rescue) (part CONN_01X01) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 59143415))
|
||||
(comp (ref P2)
|
||||
(value Hole)
|
||||
(footprint my_footprints:Hole_3mm)
|
||||
(libsource (lib stm32-rescue) (part CONN_01X01) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5914456D))
|
||||
(comp (ref P3)
|
||||
(value Hole)
|
||||
(footprint my_footprints:Hole_3mm)
|
||||
(libsource (lib stm32-rescue) (part CONN_01X01) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 591446F3))
|
||||
(comp (ref P4)
|
||||
(value Hole)
|
||||
(footprint my_footprints:Hole_3mm)
|
||||
(libsource (lib stm32-rescue) (part CONN_01X01) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 591446F9))
|
||||
(comp (ref R3)
|
||||
(value 22)
|
||||
(footprint Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part R) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5968E385))
|
||||
(comp (ref R4)
|
||||
(value 22)
|
||||
(footprint Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part R) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5968E83B))
|
||||
(comp (ref U4)
|
||||
(value ISO1050DUB)
|
||||
(footprint Package_SO:SOP-8_6.62x9.15mm_P2.54mm)
|
||||
(datasheet http://www.ti.com/lit/ds/symlink/iso1050.pdf)
|
||||
(libsource (lib Interface_CAN_LIN) (part ISO1050DUB) (description "Isolated CAN Transceiver, SOP-8"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5EC5A80C))
|
||||
(comp (ref Q1)
|
||||
(value B0505S)
|
||||
(footprint my_footprints:B0x0xS)
|
||||
(libsource (lib elements) (part B0505S) (description "isolated DC-DC"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5EC7332B))
|
||||
(comp (ref J4)
|
||||
(value USB_B)
|
||||
(footprint Connectors_USB:USB_B_OST_USB-B1HSxx_Horizontal)
|
||||
(datasheet " ~")
|
||||
(libsource (lib Connector) (part USB_B) (description "USB Type B connector"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5ECA19CB))
|
||||
(comp (ref U3)
|
||||
(value STM32F072C8Tx)
|
||||
(footprint Package_QFP:LQFP-48_7x7mm_P0.5mm)
|
||||
(datasheet http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00090510.pdf)
|
||||
(libsource (lib MCU_ST_STM32F0) (part STM32F072C8Tx) (description "ARM Cortex-M0 MCU, 64KB flash, 16KB RAM, 48MHz, 2-3.6V, 37 GPIO, LQFP-48"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5ED38032))
|
||||
(comp (ref J1)
|
||||
(value Screw_Terminal_01x03)
|
||||
(footprint TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-3_1x03_P5.00mm_Horizontal)
|
||||
(datasheet ~)
|
||||
(libsource (lib Connector) (part Screw_Terminal_01x03) (description "Generic screw terminal, single row, 01x03, script generated (kicad-library-utils/schlib/autogen/connector/)"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5EECB9D2))
|
||||
(comp (ref R1)
|
||||
(value 120)
|
||||
(footprint Resistor_SMD:R_1210_3225Metric_Pad1.42x2.65mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part R) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 58C488C6))
|
||||
(comp (ref J3)
|
||||
(value SWDetc)
|
||||
(footprint Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical)
|
||||
(datasheet ~)
|
||||
(libsource (lib Connector) (part Conn_01x06_Female) (description "Generic connector, single row, 01x06, script generated (kicad-library-utils/schlib/autogen/connector/)"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5EEF8FF5))
|
||||
(comp (ref R6)
|
||||
(value 22)
|
||||
(footprint Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part R) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5EF24BB7))
|
||||
(comp (ref C2)
|
||||
(value 0.1)
|
||||
(footprint Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part C) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5EFCC1D1))
|
||||
(comp (ref SW1)
|
||||
(value SW_DIP_x01)
|
||||
(footprint Button_Switch_THT:SW_DIP_SPSTx01_Slide_6.7x4.1mm_W7.62mm_P2.54mm_LowProfile)
|
||||
(datasheet ~)
|
||||
(libsource (lib Switch) (part SW_DIP_x01) (description "1x DIP Switch, Single Pole Single Throw (SPST) switch, small symbol"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5EFDFDE6))
|
||||
(comp (ref U1)
|
||||
(value LM1117-3.3)
|
||||
(footprint TO_SOT_Packages_SMD:SOT-223-3_TabPin2)
|
||||
(datasheet http://www.ti.com/lit/ds/symlink/lm1117.pdf)
|
||||
(libsource (lib Regulator_Linear) (part LM1117-3.3) (description "800mA Low-Dropout Linear Regulator, 3.3V fixed output, TO-220/TO-252/TO-263/SOT-223"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5F0B7BCC))
|
||||
(comp (ref C7)
|
||||
(value 0.1)
|
||||
(footprint Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part C) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5F0E47E1))
|
||||
(comp (ref C9)
|
||||
(value 1)
|
||||
(footprint Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part C) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5F0F75F5))
|
||||
(comp (ref C8)
|
||||
(value 1)
|
||||
(footprint Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part C) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5F0F92A0))
|
||||
(comp (ref JP1)
|
||||
(value NON-ISOL)
|
||||
(footprint Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P5.08mm_Vertical)
|
||||
(datasheet ~)
|
||||
(libsource (lib Device) (part Jumper) (description "Jumper, normally closed"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5F1521D0)))
|
||||
(libparts
|
||||
(libpart (lib Connector) (part Conn_01x06_Female)
|
||||
(description "Generic connector, single row, 01x06, script generated (kicad-library-utils/schlib/autogen/connector/)")
|
||||
(docs ~)
|
||||
(footprints
|
||||
(fp Connector*:*_1x??_*))
|
||||
(fields
|
||||
(field (name Reference) J)
|
||||
(field (name Value) Conn_01x06_Female))
|
||||
(pins
|
||||
(pin (num 1) (name Pin_1) (type passive))
|
||||
(pin (num 2) (name Pin_2) (type passive))
|
||||
(pin (num 3) (name Pin_3) (type passive))
|
||||
(pin (num 4) (name Pin_4) (type passive))
|
||||
(pin (num 5) (name Pin_5) (type passive))
|
||||
(pin (num 6) (name Pin_6) (type passive))))
|
||||
(libpart (lib Connector) (part Screw_Terminal_01x03)
|
||||
(description "Generic screw terminal, single row, 01x03, script generated (kicad-library-utils/schlib/autogen/connector/)")
|
||||
(docs ~)
|
||||
(footprints
|
||||
(fp TerminalBlock*:*))
|
||||
(fields
|
||||
(field (name Reference) J)
|
||||
(field (name Value) Screw_Terminal_01x03))
|
||||
(pins
|
||||
(pin (num 1) (name Pin_1) (type passive))
|
||||
(pin (num 2) (name Pin_2) (type passive))
|
||||
(pin (num 3) (name Pin_3) (type passive))))
|
||||
(libpart (lib Connector) (part USB_B)
|
||||
(description "USB Type B connector")
|
||||
(docs " ~")
|
||||
(footprints
|
||||
(fp USB*))
|
||||
(fields
|
||||
(field (name Reference) J)
|
||||
(field (name Value) USB_B))
|
||||
(pins
|
||||
(pin (num 1) (name VBUS) (type power_out))
|
||||
(pin (num 2) (name D-) (type passive))
|
||||
(pin (num 3) (name D+) (type passive))
|
||||
(pin (num 4) (name GND) (type power_out))
|
||||
(pin (num 5) (name Shield) (type passive))))
|
||||
(libpart (lib Device) (part Jumper)
|
||||
(description "Jumper, normally closed")
|
||||
(docs ~)
|
||||
(footprints
|
||||
(fp SolderJumper*)
|
||||
(fp Jumper*)
|
||||
(fp TestPoint*2Pads*)
|
||||
(fp TestPoint*Bridge*))
|
||||
(fields
|
||||
(field (name Reference) JP)
|
||||
(field (name Value) Jumper))
|
||||
(pins
|
||||
(pin (num 1) (name 1) (type passive))
|
||||
(pin (num 2) (name 2) (type passive))))
|
||||
(libpart (lib Interface_CAN_LIN) (part ISO1050DUB)
|
||||
(description "Isolated CAN Transceiver, SOP-8")
|
||||
(docs http://www.ti.com/lit/ds/symlink/iso1050.pdf)
|
||||
(footprints
|
||||
(fp SOP*6.62x9.15mm*P2.54mm*))
|
||||
(fields
|
||||
(field (name Reference) U)
|
||||
(field (name Value) ISO1050DUB)
|
||||
(field (name Footprint) Package_SO:SOP-8_6.62x9.15mm_P2.54mm))
|
||||
(pins
|
||||
(pin (num 1) (name VCC1) (type power_in))
|
||||
(pin (num 2) (name RXD) (type output))
|
||||
(pin (num 3) (name TXD) (type input))
|
||||
(pin (num 4) (name GND1) (type power_in))
|
||||
(pin (num 5) (name GND2) (type power_in))
|
||||
(pin (num 6) (name CANL) (type BiDi))
|
||||
(pin (num 7) (name CANH) (type BiDi))
|
||||
(pin (num 8) (name VCC2) (type power_in))))
|
||||
(libpart (lib MCU_ST_STM32F0) (part STM32F072C8Tx)
|
||||
(aliases
|
||||
(alias STM32F072CBTx))
|
||||
(description "ARM Cortex-M0 MCU, 64KB flash, 16KB RAM, 48MHz, 2-3.6V, 37 GPIO, LQFP-48")
|
||||
(docs http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00090510.pdf)
|
||||
(footprints
|
||||
(fp LQFP*7x7mm*P0.5mm*))
|
||||
(fields
|
||||
(field (name Reference) U)
|
||||
(field (name Value) STM32F072C8Tx)
|
||||
(field (name Footprint) Package_QFP:LQFP-48_7x7mm_P0.5mm))
|
||||
(pins
|
||||
(pin (num 1) (name VBAT) (type power_in))
|
||||
(pin (num 2) (name PC13) (type BiDi))
|
||||
(pin (num 3) (name PC14) (type BiDi))
|
||||
(pin (num 4) (name PC15) (type BiDi))
|
||||
(pin (num 5) (name PF0) (type input))
|
||||
(pin (num 6) (name PF1) (type input))
|
||||
(pin (num 7) (name NRST) (type input))
|
||||
(pin (num 8) (name VSSA) (type power_in))
|
||||
(pin (num 9) (name VDDA) (type power_in))
|
||||
(pin (num 10) (name PA0) (type BiDi))
|
||||
(pin (num 11) (name PA1) (type BiDi))
|
||||
(pin (num 12) (name PA2) (type BiDi))
|
||||
(pin (num 13) (name PA3) (type BiDi))
|
||||
(pin (num 14) (name PA4) (type BiDi))
|
||||
(pin (num 15) (name PA5) (type BiDi))
|
||||
(pin (num 16) (name PA6) (type BiDi))
|
||||
(pin (num 17) (name PA7) (type BiDi))
|
||||
(pin (num 18) (name PB0) (type BiDi))
|
||||
(pin (num 19) (name PB1) (type BiDi))
|
||||
(pin (num 20) (name PB2) (type BiDi))
|
||||
(pin (num 21) (name PB10) (type BiDi))
|
||||
(pin (num 22) (name PB11) (type BiDi))
|
||||
(pin (num 23) (name VSS) (type power_in))
|
||||
(pin (num 24) (name VDD) (type power_in))
|
||||
(pin (num 25) (name PB12) (type BiDi))
|
||||
(pin (num 26) (name PB13) (type BiDi))
|
||||
(pin (num 27) (name PB14) (type BiDi))
|
||||
(pin (num 28) (name PB15) (type BiDi))
|
||||
(pin (num 29) (name PA8) (type BiDi))
|
||||
(pin (num 30) (name PA9) (type BiDi))
|
||||
(pin (num 31) (name PA10) (type BiDi))
|
||||
(pin (num 32) (name PA11) (type BiDi))
|
||||
(pin (num 33) (name PA12) (type BiDi))
|
||||
(pin (num 34) (name PA13) (type BiDi))
|
||||
(pin (num 35) (name VSS) (type power_in))
|
||||
(pin (num 36) (name VDDIO2) (type power_in))
|
||||
(pin (num 37) (name PA14) (type BiDi))
|
||||
(pin (num 38) (name PA15) (type BiDi))
|
||||
(pin (num 39) (name PB3) (type BiDi))
|
||||
(pin (num 40) (name PB4) (type BiDi))
|
||||
(pin (num 41) (name PB5) (type BiDi))
|
||||
(pin (num 42) (name PB6) (type BiDi))
|
||||
(pin (num 43) (name PB7) (type BiDi))
|
||||
(pin (num 44) (name BOOT0) (type input))
|
||||
(pin (num 45) (name PB8) (type BiDi))
|
||||
(pin (num 46) (name PB9) (type BiDi))
|
||||
(pin (num 47) (name VSS) (type power_in))
|
||||
(pin (num 48) (name VDD) (type power_in))))
|
||||
(libpart (lib Regulator_Linear) (part LM1117-1.8)
|
||||
(aliases
|
||||
(alias LM1117-2.5)
|
||||
(alias LM1117-3.3)
|
||||
(alias LM1117-5.0)
|
||||
(alias TLV1117-15)
|
||||
(alias TLV1117-18)
|
||||
(alias TLV1117-25)
|
||||
(alias TLV1117-33)
|
||||
(alias TLV1117-50))
|
||||
(description "800mA Low-Dropout Linear Regulator, 1.8V fixed output, TO-220/TO-252/TO-263/SOT-223")
|
||||
(docs http://www.ti.com/lit/ds/symlink/lm1117.pdf)
|
||||
(footprints
|
||||
(fp SOT?223*)
|
||||
(fp TO?263*)
|
||||
(fp TO?252*)
|
||||
(fp TO?220*))
|
||||
(fields
|
||||
(field (name Reference) U)
|
||||
(field (name Value) LM1117-1.8))
|
||||
(pins
|
||||
(pin (num 1) (name GND) (type power_in))
|
||||
(pin (num 2) (name VO) (type power_out))
|
||||
(pin (num 3) (name VI) (type power_in))))
|
||||
(libpart (lib Switch) (part SW_DIP_x01)
|
||||
(description "1x DIP Switch, Single Pole Single Throw (SPST) switch, small symbol")
|
||||
(docs ~)
|
||||
(footprints
|
||||
(fp SW?DIP?x1*))
|
||||
(fields
|
||||
(field (name Reference) SW)
|
||||
(field (name Value) SW_DIP_x01))
|
||||
(pins
|
||||
(pin (num 1) (name ~) (type passive))
|
||||
(pin (num 2) (name ~) (type passive))))
|
||||
(libpart (lib elements) (part B0x0xS-1W)
|
||||
(aliases
|
||||
(alias B0305S)
|
||||
(alias B0505S))
|
||||
(description "isolated DC-DC")
|
||||
(footprints
|
||||
(fp b0x0xs))
|
||||
(fields
|
||||
(field (name Reference) Q?)
|
||||
(field (name Value) B0x0xS-1W)
|
||||
(field (name Footprint) my_footprints:B0x0xS))
|
||||
(pins
|
||||
(pin (num 1) (name GND) (type power_in))
|
||||
(pin (num 2) (name Vin) (type power_in))
|
||||
(pin (num 3) (name 0V) (type power_out))
|
||||
(pin (num 4) (name +Vo) (type power_out))))
|
||||
(libpart (lib elements) (part PESD1CAN)
|
||||
(description "CAN bus ESD protection")
|
||||
(footprints
|
||||
(fp SOT23))
|
||||
(fields
|
||||
(field (name Reference) D)
|
||||
(field (name Value) PESD1CAN))
|
||||
(pins
|
||||
(pin (num 1) (name K) (type passive))
|
||||
(pin (num 2) (name K) (type passive))
|
||||
(pin (num 3) (name O) (type passive))))
|
||||
(libpart (lib elements) (part USB6B1)
|
||||
(description "USB bus ESD protection")
|
||||
(footprints
|
||||
(fp SO8))
|
||||
(fields
|
||||
(field (name Reference) D)
|
||||
(field (name Value) USB6B1))
|
||||
(pins
|
||||
(pin (num 1) (name VCC) (type passive))
|
||||
(pin (num 2) (name I/O1) (type passive))
|
||||
(pin (num 3) (name I/O2) (type passive))
|
||||
(pin (num 4) (name GND) (type passive))
|
||||
(pin (num 5) (name GND) (type passive))
|
||||
(pin (num 6) (name I/O2) (type passive))
|
||||
(pin (num 7) (name I/O1) (type passive))
|
||||
(pin (num 8) (name VCC) (type passive))))
|
||||
(libpart (lib stm32-rescue) (part C)
|
||||
(footprints
|
||||
(fp C_*))
|
||||
(fields
|
||||
(field (name Reference) C)
|
||||
(field (name Value) C))
|
||||
(pins
|
||||
(pin (num 1) (name ~) (type passive))
|
||||
(pin (num 2) (name ~) (type passive))))
|
||||
(libpart (lib stm32-rescue) (part CONN_01X01)
|
||||
(footprints
|
||||
(fp Pin_Header_Straight_1X*)
|
||||
(fp Pin_Header_Angled_1X*)
|
||||
(fp Socket_Strip_Straight_1X*)
|
||||
(fp Socket_Strip_Angled_1X*))
|
||||
(fields
|
||||
(field (name Reference) J)
|
||||
(field (name Value) CONN_01X01))
|
||||
(pins
|
||||
(pin (num 1) (name P1) (type passive))))
|
||||
(libpart (lib stm32-rescue) (part CP)
|
||||
(footprints
|
||||
(fp CP_*))
|
||||
(fields
|
||||
(field (name Reference) C)
|
||||
(field (name Value) CP))
|
||||
(pins
|
||||
(pin (num 1) (name ~) (type passive))
|
||||
(pin (num 2) (name ~) (type passive))))
|
||||
(libpart (lib stm32-rescue) (part LED-RESCUE-stm32)
|
||||
(footprints
|
||||
(fp LED*))
|
||||
(fields
|
||||
(field (name Reference) D)
|
||||
(field (name Value) LED-RESCUE-stm32))
|
||||
(pins
|
||||
(pin (num 1) (name K) (type passive))
|
||||
(pin (num 2) (name A) (type passive))))
|
||||
(libpart (lib stm32-rescue) (part MCP2551-I_SN)
|
||||
(footprints
|
||||
(fp SOIC*Pitch1.27mm*))
|
||||
(fields
|
||||
(field (name Reference) U)
|
||||
(field (name Value) MCP2551-I_SN)
|
||||
(field (name Footprint) Housings_SOIC:SOIC-8_3.9x4.9mm_Pitch1.27mm))
|
||||
(pins
|
||||
(pin (num 1) (name TXD) (type input))
|
||||
(pin (num 2) (name VSS) (type power_in))
|
||||
(pin (num 3) (name VDD) (type power_in))
|
||||
(pin (num 4) (name RXD) (type output))
|
||||
(pin (num 5) (name Vref) (type power_out))
|
||||
(pin (num 6) (name CANL) (type BiDi))
|
||||
(pin (num 7) (name CANH) (type BiDi))
|
||||
(pin (num 8) (name Rs) (type input))))
|
||||
(libpart (lib stm32-rescue) (part R)
|
||||
(footprints
|
||||
(fp R_*)
|
||||
(fp R_*))
|
||||
(fields
|
||||
(field (name Reference) R)
|
||||
(field (name Value) R))
|
||||
(pins
|
||||
(pin (num 1) (name ~) (type passive))
|
||||
(pin (num 2) (name ~) (type passive)))))
|
||||
(libraries
|
||||
(library (logical Connector)
|
||||
(uri /usr/share/kicad/kicad-symbols//Connector.lib))
|
||||
(library (logical Device)
|
||||
(uri /usr/share/kicad/kicad-symbols//Device.lib))
|
||||
(library (logical Interface_CAN_LIN)
|
||||
(uri /usr/share/kicad/kicad-symbols//Interface_CAN_LIN.lib))
|
||||
(library (logical MCU_ST_STM32F0)
|
||||
(uri /usr/share/kicad/kicad-symbols//MCU_ST_STM32F0.lib))
|
||||
(library (logical Regulator_Linear)
|
||||
(uri /usr/share/kicad/kicad-symbols//Regulator_Linear.lib))
|
||||
(library (logical Switch)
|
||||
(uri /usr/share/kicad/kicad-symbols//Switch.lib))
|
||||
(library (logical elements)
|
||||
(uri /home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/canusb/elements.lib))
|
||||
(library (logical stm32-rescue)
|
||||
(uri /home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/canusb/stm32-rescue.lib)))
|
||||
(nets
|
||||
(net (code 1) (name +3V3)
|
||||
(node (ref U3) (pin 36))
|
||||
(node (ref C5) (pin 2))
|
||||
(node (ref C4) (pin 2))
|
||||
(node (ref R7) (pin 2))
|
||||
(node (ref U3) (pin 1))
|
||||
(node (ref U3) (pin 48))
|
||||
(node (ref U3) (pin 24))
|
||||
(node (ref R8) (pin 2))
|
||||
(node (ref C2) (pin 1))
|
||||
(node (ref U1) (pin 2))
|
||||
(node (ref C6) (pin 2))
|
||||
(node (ref C1) (pin 1))
|
||||
(node (ref U3) (pin 9))
|
||||
(node (ref C3) (pin 2))
|
||||
(node (ref R6) (pin 1)))
|
||||
(net (code 2) (name "Net-(J3-Pad1)")
|
||||
(node (ref J3) (pin 1))
|
||||
(node (ref R6) (pin 2)))
|
||||
(net (code 3) (name /BOOT0)
|
||||
(node (ref U3) (pin 44))
|
||||
(node (ref R5) (pin 2))
|
||||
(node (ref J3) (pin 2)))
|
||||
(net (code 4) (name GND)
|
||||
(node (ref C7) (pin 2))
|
||||
(node (ref U3) (pin 8))
|
||||
(node (ref R5) (pin 1))
|
||||
(node (ref C1) (pin 2))
|
||||
(node (ref J3) (pin 4))
|
||||
(node (ref U1) (pin 1))
|
||||
(node (ref C6) (pin 1))
|
||||
(node (ref C2) (pin 2))
|
||||
(node (ref JP1) (pin 1))
|
||||
(node (ref U3) (pin 47))
|
||||
(node (ref D2) (pin 5))
|
||||
(node (ref D2) (pin 4))
|
||||
(node (ref U3) (pin 35))
|
||||
(node (ref C5) (pin 1))
|
||||
(node (ref C4) (pin 1))
|
||||
(node (ref C8) (pin 2))
|
||||
(node (ref J4) (pin 5))
|
||||
(node (ref J4) (pin 4))
|
||||
(node (ref U3) (pin 23))
|
||||
(node (ref U2) (pin 2))
|
||||
(node (ref C3) (pin 1))
|
||||
(node (ref U4) (pin 4))
|
||||
(node (ref Q1) (pin 1)))
|
||||
(net (code 5) (name /NRST)
|
||||
(node (ref U3) (pin 7))
|
||||
(node (ref J3) (pin 3)))
|
||||
(net (code 6) (name /CANH)
|
||||
(node (ref U4) (pin 7))
|
||||
(node (ref D1) (pin 2))
|
||||
(node (ref U2) (pin 7))
|
||||
(node (ref R1) (pin 2))
|
||||
(node (ref J1) (pin 1)))
|
||||
(net (code 7) (name "Net-(R1-Pad1)")
|
||||
(node (ref SW1) (pin 2))
|
||||
(node (ref R1) (pin 1)))
|
||||
(net (code 8) (name "Net-(U3-Pad2)")
|
||||
(node (ref U3) (pin 2)))
|
||||
(net (code 9) (name "Net-(U3-Pad22)")
|
||||
(node (ref U3) (pin 22)))
|
||||
(net (code 10) (name "Net-(U3-Pad21)")
|
||||
(node (ref U3) (pin 21)))
|
||||
(net (code 11) (name "Net-(U3-Pad43)")
|
||||
(node (ref U3) (pin 43)))
|
||||
(net (code 12) (name "Net-(U3-Pad42)")
|
||||
(node (ref U3) (pin 42)))
|
||||
(net (code 13) (name "Net-(U3-Pad41)")
|
||||
(node (ref U3) (pin 41)))
|
||||
(net (code 14) (name "Net-(U3-Pad40)")
|
||||
(node (ref U3) (pin 40)))
|
||||
(net (code 15) (name "Net-(U3-Pad39)")
|
||||
(node (ref U3) (pin 39)))
|
||||
(net (code 16) (name "Net-(U3-Pad20)")
|
||||
(node (ref U3) (pin 20)))
|
||||
(net (code 17) (name "Net-(U3-Pad4)")
|
||||
(node (ref U3) (pin 4)))
|
||||
(net (code 18) (name "Net-(U3-Pad3)")
|
||||
(node (ref U3) (pin 3)))
|
||||
(net (code 19) (name "Net-(U3-Pad6)")
|
||||
(node (ref U3) (pin 6)))
|
||||
(net (code 20) (name "Net-(U3-Pad5)")
|
||||
(node (ref U3) (pin 5)))
|
||||
(net (code 21) (name "Net-(U3-Pad38)")
|
||||
(node (ref U3) (pin 38)))
|
||||
(net (code 22) (name /SWCLK)
|
||||
(node (ref U3) (pin 37))
|
||||
(node (ref J3) (pin 6)))
|
||||
(net (code 23) (name /SWDIO)
|
||||
(node (ref J3) (pin 5))
|
||||
(node (ref U3) (pin 34)))
|
||||
(net (code 24) (name "Net-(R4-Pad2)")
|
||||
(node (ref U3) (pin 33))
|
||||
(node (ref R4) (pin 2)))
|
||||
(net (code 25) (name "Net-(U3-Pad31)")
|
||||
(node (ref U3) (pin 31)))
|
||||
(net (code 26) (name "Net-(U3-Pad25)")
|
||||
(node (ref U3) (pin 25)))
|
||||
(net (code 27) (name "Net-(U3-Pad15)")
|
||||
(node (ref U3) (pin 15)))
|
||||
(net (code 28) (name "Net-(U3-Pad14)")
|
||||
(node (ref U3) (pin 14)))
|
||||
(net (code 29) (name "Net-(U3-Pad29)")
|
||||
(node (ref U3) (pin 29)))
|
||||
(net (code 30) (name "Net-(C9-Pad1)")
|
||||
(node (ref Q1) (pin 4))
|
||||
(node (ref U4) (pin 8))
|
||||
(node (ref C9) (pin 1)))
|
||||
(net (code 31) (name Earth)
|
||||
(node (ref Q1) (pin 3))
|
||||
(node (ref D1) (pin 3))
|
||||
(node (ref C9) (pin 2))
|
||||
(node (ref R2) (pin 2))
|
||||
(node (ref U4) (pin 5))
|
||||
(node (ref JP1) (pin 2))
|
||||
(node (ref J1) (pin 2)))
|
||||
(net (code 32) (name "Net-(U3-Pad30)")
|
||||
(node (ref U3) (pin 30)))
|
||||
(net (code 33) (name "Net-(U3-Pad28)")
|
||||
(node (ref U3) (pin 28)))
|
||||
(net (code 34) (name "Net-(U3-Pad27)")
|
||||
(node (ref U3) (pin 27)))
|
||||
(net (code 35) (name "Net-(U3-Pad26)")
|
||||
(node (ref U3) (pin 26)))
|
||||
(net (code 36) (name +5V)
|
||||
(node (ref C8) (pin 1))
|
||||
(node (ref U4) (pin 1))
|
||||
(node (ref Q1) (pin 2))
|
||||
(node (ref U1) (pin 3))
|
||||
(node (ref D2) (pin 8))
|
||||
(node (ref C7) (pin 1))
|
||||
(node (ref U2) (pin 3)))
|
||||
(net (code 37) (name "Net-(U2-Pad5)")
|
||||
(node (ref U2) (pin 5)))
|
||||
(net (code 38) (name "Net-(D4-Pad2)")
|
||||
(node (ref D4) (pin 2))
|
||||
(node (ref R8) (pin 1)))
|
||||
(net (code 39) (name "Net-(P1-Pad1)")
|
||||
(node (ref P1) (pin 1)))
|
||||
(net (code 40) (name "Net-(U3-Pad12)")
|
||||
(node (ref U3) (pin 12)))
|
||||
(net (code 41) (name "Net-(U3-Pad13)")
|
||||
(node (ref U3) (pin 13)))
|
||||
(net (code 42) (name "Net-(P4-Pad1)")
|
||||
(node (ref P4) (pin 1)))
|
||||
(net (code 43) (name "Net-(P3-Pad1)")
|
||||
(node (ref P3) (pin 1)))
|
||||
(net (code 44) (name "Net-(P2-Pad1)")
|
||||
(node (ref P2) (pin 1)))
|
||||
(net (code 45) (name "Net-(D2-Pad7)")
|
||||
(node (ref D2) (pin 7))
|
||||
(node (ref R3) (pin 1)))
|
||||
(net (code 46) (name /CANL)
|
||||
(node (ref J1) (pin 3))
|
||||
(node (ref U4) (pin 6))
|
||||
(node (ref SW1) (pin 1))
|
||||
(node (ref U2) (pin 6))
|
||||
(node (ref D1) (pin 1)))
|
||||
(net (code 47) (name "Net-(R2-Pad1)")
|
||||
(node (ref U2) (pin 8))
|
||||
(node (ref R2) (pin 1)))
|
||||
(net (code 48) (name "Net-(D2-Pad6)")
|
||||
(node (ref D2) (pin 6))
|
||||
(node (ref R4) (pin 1)))
|
||||
(net (code 49) (name "Net-(D3-Pad2)")
|
||||
(node (ref D3) (pin 2))
|
||||
(node (ref R7) (pin 1)))
|
||||
(net (code 50) (name "Net-(D2-Pad3)")
|
||||
(node (ref J4) (pin 3))
|
||||
(node (ref D2) (pin 3)))
|
||||
(net (code 51) (name "Net-(U3-Pad10)")
|
||||
(node (ref U3) (pin 10)))
|
||||
(net (code 52) (name "Net-(D2-Pad1)")
|
||||
(node (ref J4) (pin 1))
|
||||
(node (ref D2) (pin 1)))
|
||||
(net (code 53) (name "Net-(D2-Pad2)")
|
||||
(node (ref J4) (pin 2))
|
||||
(node (ref D2) (pin 2)))
|
||||
(net (code 54) (name "Net-(U3-Pad11)")
|
||||
(node (ref U3) (pin 11)))
|
||||
(net (code 55) (name /LED1)
|
||||
(node (ref U3) (pin 19))
|
||||
(node (ref D4) (pin 1)))
|
||||
(net (code 56) (name /LED0)
|
||||
(node (ref U3) (pin 18))
|
||||
(node (ref D3) (pin 1)))
|
||||
(net (code 57) (name "Net-(U3-Pad17)")
|
||||
(node (ref U3) (pin 17)))
|
||||
(net (code 58) (name "Net-(U3-Pad16)")
|
||||
(node (ref U3) (pin 16)))
|
||||
(net (code 59) (name "Net-(R3-Pad2)")
|
||||
(node (ref U3) (pin 32))
|
||||
(node (ref R3) (pin 2)))
|
||||
(net (code 60) (name /CAN_Tx)
|
||||
(node (ref U4) (pin 3))
|
||||
(node (ref U3) (pin 46))
|
||||
(node (ref U2) (pin 1)))
|
||||
(net (code 61) (name /CAN_Rx)
|
||||
(node (ref U4) (pin 2))
|
||||
(node (ref U3) (pin 45))
|
||||
(node (ref U2) (pin 4)))))
|
||||
274
F0:F030,F042,F072/deprecated/usbcan/kicad/stm32.pro
Normal file
274
F0:F030,F042,F072/deprecated/usbcan/kicad/stm32.pro
Normal file
@@ -0,0 +1,274 @@
|
||||
update=Чт 21 мая 2020 10:30:10
|
||||
version=1
|
||||
last_client=kicad
|
||||
[cvpcb]
|
||||
version=1
|
||||
NetIExt=net
|
||||
[general]
|
||||
version=1
|
||||
[eeschema]
|
||||
version=1
|
||||
LibDir=
|
||||
[schematic_editor]
|
||||
version=1
|
||||
PageLayoutDescrFile=
|
||||
PlotDirectoryName=
|
||||
SubpartIdSeparator=0
|
||||
SubpartFirstId=65
|
||||
NetFmtName=Pcbnew
|
||||
SpiceAjustPassiveValues=0
|
||||
LabSize=50
|
||||
ERC_TestSimilarLabels=1
|
||||
[pcbnew]
|
||||
version=1
|
||||
PageLayoutDescrFile=
|
||||
LastNetListRead=stm32.net
|
||||
CopperLayerCount=2
|
||||
BoardThickness=1.6
|
||||
AllowMicroVias=0
|
||||
AllowBlindVias=0
|
||||
RequireCourtyardDefinitions=0
|
||||
ProhibitOverlappingCourtyards=1
|
||||
MinTrackWidth=0.2
|
||||
MinViaDiameter=0.7999999999999999
|
||||
MinViaDrill=0.6
|
||||
MinMicroViaDiameter=0.2
|
||||
MinMicroViaDrill=0.09999999999999999
|
||||
MinHoleToHole=0.25
|
||||
TrackWidth1=0.2
|
||||
TrackWidth2=0.2
|
||||
TrackWidth3=0.3
|
||||
TrackWidth4=0.5
|
||||
TrackWidth5=1
|
||||
TrackWidth6=2
|
||||
ViaDiameter1=1
|
||||
ViaDrill1=0.6
|
||||
ViaDiameter2=1.5
|
||||
ViaDrill2=0.8
|
||||
dPairWidth1=0.2
|
||||
dPairGap1=0.25
|
||||
dPairViaGap1=0.25
|
||||
SilkLineWidth=0.15
|
||||
SilkTextSizeV=1
|
||||
SilkTextSizeH=1
|
||||
SilkTextSizeThickness=0.15
|
||||
SilkTextItalic=0
|
||||
SilkTextUpright=1
|
||||
CopperLineWidth=0.2
|
||||
CopperTextSizeV=1.5
|
||||
CopperTextSizeH=1.5
|
||||
CopperTextThickness=0.3
|
||||
CopperTextItalic=0
|
||||
CopperTextUpright=1
|
||||
EdgeCutLineWidth=0.15
|
||||
CourtyardLineWidth=0.05
|
||||
OthersLineWidth=0.15
|
||||
OthersTextSizeV=1
|
||||
OthersTextSizeH=1
|
||||
OthersTextSizeThickness=0.15
|
||||
OthersTextItalic=0
|
||||
OthersTextUpright=1
|
||||
SolderMaskClearance=0.2
|
||||
SolderMaskMinWidth=0
|
||||
SolderPasteClearance=0
|
||||
SolderPasteRatio=-0
|
||||
[pcbnew/Layer.F.Cu]
|
||||
Name=F.Cu
|
||||
Type=0
|
||||
Enabled=1
|
||||
[pcbnew/Layer.In1.Cu]
|
||||
Name=In1.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In2.Cu]
|
||||
Name=In2.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In3.Cu]
|
||||
Name=In3.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In4.Cu]
|
||||
Name=In4.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In5.Cu]
|
||||
Name=In5.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In6.Cu]
|
||||
Name=In6.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In7.Cu]
|
||||
Name=In7.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In8.Cu]
|
||||
Name=In8.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In9.Cu]
|
||||
Name=In9.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In10.Cu]
|
||||
Name=In10.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In11.Cu]
|
||||
Name=In11.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In12.Cu]
|
||||
Name=In12.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In13.Cu]
|
||||
Name=In13.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In14.Cu]
|
||||
Name=In14.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In15.Cu]
|
||||
Name=In15.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In16.Cu]
|
||||
Name=In16.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In17.Cu]
|
||||
Name=In17.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In18.Cu]
|
||||
Name=In18.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In19.Cu]
|
||||
Name=In19.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In20.Cu]
|
||||
Name=In20.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In21.Cu]
|
||||
Name=In21.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In22.Cu]
|
||||
Name=In22.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In23.Cu]
|
||||
Name=In23.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In24.Cu]
|
||||
Name=In24.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In25.Cu]
|
||||
Name=In25.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In26.Cu]
|
||||
Name=In26.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In27.Cu]
|
||||
Name=In27.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In28.Cu]
|
||||
Name=In28.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In29.Cu]
|
||||
Name=In29.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In30.Cu]
|
||||
Name=In30.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.B.Cu]
|
||||
Name=B.Cu
|
||||
Type=0
|
||||
Enabled=1
|
||||
[pcbnew/Layer.B.Adhes]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.F.Adhes]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.B.Paste]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.F.Paste]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.B.SilkS]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.F.SilkS]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.B.Mask]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.F.Mask]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.Dwgs.User]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.Cmts.User]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.Eco1.User]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.Eco2.User]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.Edge.Cuts]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.Margin]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.B.CrtYd]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.F.CrtYd]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.B.Fab]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.F.Fab]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.Rescue]
|
||||
Enabled=0
|
||||
[pcbnew/Netclasses]
|
||||
[pcbnew/Netclasses/Default]
|
||||
Name=Default
|
||||
Clearance=0.2
|
||||
TrackWidth=0.2
|
||||
ViaDiameter=1
|
||||
ViaDrill=0.6
|
||||
uViaDiameter=0.3
|
||||
uViaDrill=0.1
|
||||
dPairWidth=0.2
|
||||
dPairGap=0.25
|
||||
dPairViaGap=0.25
|
||||
[pcbnew/Netclasses/1]
|
||||
Name=0.5
|
||||
Clearance=0.3
|
||||
TrackWidth=0.5
|
||||
ViaDiameter=1.5
|
||||
ViaDrill=0.8
|
||||
uViaDiameter=0.3
|
||||
uViaDrill=0.1
|
||||
dPairWidth=0.2
|
||||
dPairGap=0.25
|
||||
dPairViaGap=0.25
|
||||
[pcbnew/Netclasses/2]
|
||||
Name=1
|
||||
Clearance=0.5
|
||||
TrackWidth=1
|
||||
ViaDiameter=1.5
|
||||
ViaDrill=0.8
|
||||
uViaDiameter=0.3
|
||||
uViaDrill=0.1
|
||||
dPairWidth=0.2
|
||||
dPairGap=0.25
|
||||
dPairViaGap=0.25
|
||||
996
F0:F030,F042,F072/deprecated/usbcan/kicad/stm32.sch
Normal file
996
F0:F030,F042,F072/deprecated/usbcan/kicad/stm32.sch
Normal file
@@ -0,0 +1,996 @@
|
||||
EESchema Schematic File Version 4
|
||||
LIBS:stm32-cache
|
||||
EELAYER 30 0
|
||||
EELAYER END
|
||||
$Descr A4 11693 8268
|
||||
encoding utf-8
|
||||
Sheet 1 1
|
||||
Title "STM32F0x2 based USB<>CAN converter (isolated)"
|
||||
Date ""
|
||||
Rev ""
|
||||
Comp "SAO RAS"
|
||||
Comment1 ""
|
||||
Comment2 ""
|
||||
Comment3 ""
|
||||
Comment4 ""
|
||||
$EndDescr
|
||||
$Comp
|
||||
L stm32-rescue:C C3
|
||||
U 1 1 58C42D39
|
||||
P 4370 6170
|
||||
F 0 "C3" H 4395 6270 50 0000 L CNN
|
||||
F 1 "0.1" H 4395 6070 50 0000 L CNN
|
||||
F 2 "Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder" H 4408 6020 50 0001 C CNN
|
||||
F 3 "" H 4370 6170 50 0000 C CNN
|
||||
1 4370 6170
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:MCP2551-I_SN U2
|
||||
U 1 1 58C43297
|
||||
P 3830 1200
|
||||
F 0 "U2" H 3430 1550 50 0000 L CNN
|
||||
F 1 "MCP2551-I/SN" H 3930 1550 50 0000 L CNN
|
||||
F 2 "Package_SO:SOIC-8_3.9x4.9mm_P1.27mm" H 3830 700 50 0001 C CIN
|
||||
F 3 "" H 3830 1200 50 0000 C CNN
|
||||
1 3830 1200
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:+5V #PWR01
|
||||
U 1 1 58C45269
|
||||
P 6320 3470
|
||||
F 0 "#PWR01" H 6320 3320 50 0001 C CNN
|
||||
F 1 "+5V" H 6320 3610 50 0000 C CNN
|
||||
F 2 "" H 6320 3470 50 0000 C CNN
|
||||
F 3 "" H 6320 3470 50 0000 C CNN
|
||||
1 6320 3470
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:GND #PWR02
|
||||
U 1 1 58C453C7
|
||||
P 6620 3820
|
||||
F 0 "#PWR02" H 6620 3570 50 0001 C CNN
|
||||
F 1 "GND" H 6620 3670 50 0000 C CNN
|
||||
F 2 "" H 6620 3820 50 0000 C CNN
|
||||
F 3 "" H 6620 3820 50 0000 C CNN
|
||||
1 6620 3820
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:CP C1
|
||||
U 1 1 58C454F6
|
||||
P 7020 3620
|
||||
F 0 "C1" H 7045 3720 50 0000 L CNN
|
||||
F 1 "47u" H 7045 3520 50 0000 L CNN
|
||||
F 2 "Capacitor_Tantalum_SMD:CP_EIA-3216-18_Kemet-A_Pad1.58x1.35mm_HandSolder" H 7058 3470 50 0001 C CNN
|
||||
F 3 "" H 7020 3620 50 0000 C CNN
|
||||
1 7020 3620
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:+3.3V #PWR04
|
||||
U 1 1 58C455CB
|
||||
P 7020 3470
|
||||
F 0 "#PWR04" H 7020 3320 50 0001 C CNN
|
||||
F 1 "+3.3V" H 7020 3610 50 0000 C CNN
|
||||
F 2 "" H 7020 3470 50 0000 C CNN
|
||||
F 3 "" H 7020 3470 50 0000 C CNN
|
||||
1 7020 3470
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L elements:PESD1CAN D1
|
||||
U 1 1 58C46522
|
||||
P 1740 1170
|
||||
F 0 "D1" H 1740 820 50 0000 C CNN
|
||||
F 1 "PESD1CAN" H 1790 1320 50 0000 C CNN
|
||||
F 2 "TO_SOT_Packages_SMD:SOT-23" H 1740 1170 50 0001 C CNN
|
||||
F 3 "" H 1740 1170 50 0000 C CNN
|
||||
1 1740 1170
|
||||
0 1 1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:+5V #PWR06
|
||||
U 1 1 58C47B3E
|
||||
P 3830 800
|
||||
F 0 "#PWR06" H 3830 650 50 0001 C CNN
|
||||
F 1 "+5V" H 3830 940 50 0000 C CNN
|
||||
F 2 "" H 3830 800 50 0000 C CNN
|
||||
F 3 "" H 3830 800 50 0000 C CNN
|
||||
1 3830 800
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:R R2
|
||||
U 1 1 58C47F04
|
||||
P 3180 1400
|
||||
F 0 "R2" V 3260 1400 50 0000 C CNN
|
||||
F 1 "4k7" V 3180 1400 50 0000 C CNN
|
||||
F 2 "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder" V 3110 1400 50 0001 C CNN
|
||||
F 3 "" H 3180 1400 50 0000 C CNN
|
||||
1 3180 1400
|
||||
0 1 1 0
|
||||
$EndComp
|
||||
Text Notes 3690 690 2 60 ~ 0
|
||||
Non-isolated CAN
|
||||
Text Label 9770 960 2 60 ~ 0
|
||||
LED0
|
||||
Text Label 9770 1260 2 60 ~ 0
|
||||
LED1
|
||||
$Comp
|
||||
L stm32-rescue:LED-RESCUE-stm32 D3
|
||||
U 1 1 5908EA64
|
||||
P 10070 960
|
||||
F 0 "D3" H 10070 1060 50 0000 C CNN
|
||||
F 1 "LED0" H 10070 860 50 0000 C CNN
|
||||
F 2 "LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 10070 960 50 0001 C CNN
|
||||
F 3 "" H 10070 960 50 0000 C CNN
|
||||
1 10070 960
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:R R7
|
||||
U 1 1 5908EB17
|
||||
P 10470 960
|
||||
F 0 "R7" V 10550 960 50 0000 C CNN
|
||||
F 1 "330" V 10470 960 50 0000 C CNN
|
||||
F 2 "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder" V 10400 960 50 0001 C CNN
|
||||
F 3 "" H 10470 960 50 0000 C CNN
|
||||
1 10470 960
|
||||
0 -1 -1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:+3.3V #PWR019
|
||||
U 1 1 5908F9F4
|
||||
P 10770 960
|
||||
F 0 "#PWR019" H 10770 810 50 0001 C CNN
|
||||
F 1 "+3.3V" H 10770 1100 50 0000 C CNN
|
||||
F 2 "" H 10770 960 50 0000 C CNN
|
||||
F 3 "" H 10770 960 50 0000 C CNN
|
||||
1 10770 960
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:C C4
|
||||
U 1 1 590935EA
|
||||
P 4670 6170
|
||||
F 0 "C4" H 4695 6270 50 0000 L CNN
|
||||
F 1 "0.1" H 4695 6070 50 0000 L CNN
|
||||
F 2 "Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder" H 4708 6020 50 0001 C CNN
|
||||
F 3 "" H 4670 6170 50 0000 C CNN
|
||||
1 4670 6170
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:C C5
|
||||
U 1 1 59093675
|
||||
P 4970 6170
|
||||
F 0 "C5" H 4995 6270 50 0000 L CNN
|
||||
F 1 "0.1" H 4995 6070 50 0000 L CNN
|
||||
F 2 "Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder" H 5008 6020 50 0001 C CNN
|
||||
F 3 "" H 4970 6170 50 0000 C CNN
|
||||
1 4970 6170
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L elements:USB6B1 D2
|
||||
U 1 1 59098D4D
|
||||
P 6770 5320
|
||||
F 0 "D2" H 6770 4870 50 0000 C CNN
|
||||
F 1 "USB6B1" H 6770 5720 50 0000 C CNN
|
||||
F 2 "Package_SO:SOIC-8_3.9x4.9mm_P1.27mm" V 6970 5220 50 0001 C CNN
|
||||
F 3 "" V 6970 5220 50 0000 C CNN
|
||||
1 6770 5320
|
||||
-1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:LED-RESCUE-stm32 D4
|
||||
U 1 1 5909AF9A
|
||||
P 10070 1260
|
||||
F 0 "D4" H 10070 1360 50 0000 C CNN
|
||||
F 1 "LED1" H 10070 1160 50 0000 C CNN
|
||||
F 2 "LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 10070 1260 50 0001 C CNN
|
||||
F 3 "" H 10070 1260 50 0000 C CNN
|
||||
1 10070 1260
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:R R8
|
||||
U 1 1 5909AFA0
|
||||
P 10470 1260
|
||||
F 0 "R8" V 10550 1260 50 0000 C CNN
|
||||
F 1 "330" V 10470 1260 50 0000 C CNN
|
||||
F 2 "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder" V 10400 1260 50 0001 C CNN
|
||||
F 3 "" H 10470 1260 50 0000 C CNN
|
||||
1 10470 1260
|
||||
0 -1 -1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:+3.3V #PWR020
|
||||
U 1 1 5909AFA6
|
||||
P 10770 1260
|
||||
F 0 "#PWR020" H 10770 1110 50 0001 C CNN
|
||||
F 1 "+3.3V" H 10770 1400 50 0000 C CNN
|
||||
F 2 "" H 10770 1260 50 0000 C CNN
|
||||
F 3 "" H 10770 1260 50 0000 C CNN
|
||||
1 10770 1260
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Text Notes 9620 710 0 60 ~ 0
|
||||
LED indicators
|
||||
Text Notes 6200 3130 0 60 ~ 0
|
||||
3.3V MCU power source
|
||||
NoConn ~ 3330 1300
|
||||
$Comp
|
||||
L stm32-rescue:+3.3V #PWR09
|
||||
U 1 1 590A0C2D
|
||||
P 4670 6320
|
||||
F 0 "#PWR09" H 4670 6170 50 0001 C CNN
|
||||
F 1 "+3.3V" H 4670 6460 50 0000 C CNN
|
||||
F 2 "" H 4670 6320 50 0000 C CNN
|
||||
F 3 "" H 4670 6320 50 0000 C CNN
|
||||
1 4670 6320
|
||||
-1 0 0 1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:GND #PWR08
|
||||
U 1 1 590A1958
|
||||
P 4020 6020
|
||||
F 0 "#PWR08" H 4020 5770 50 0001 C CNN
|
||||
F 1 "GND" H 4020 5870 50 0000 C CNN
|
||||
F 2 "" H 4020 6020 50 0000 C CNN
|
||||
F 3 "" H 4020 6020 50 0000 C CNN
|
||||
1 4020 6020
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:GND #PWR014
|
||||
U 1 1 590A6FD0
|
||||
P 6270 5620
|
||||
F 0 "#PWR014" H 6270 5370 50 0001 C CNN
|
||||
F 1 "GND" H 6270 5470 50 0000 C CNN
|
||||
F 2 "" H 6270 5620 50 0000 C CNN
|
||||
F 3 "" H 6270 5620 50 0000 C CNN
|
||||
1 6270 5620
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:C C6
|
||||
U 1 1 590A8102
|
||||
P 5270 6170
|
||||
F 0 "C6" H 5295 6270 50 0000 L CNN
|
||||
F 1 "0.1" H 5295 6070 50 0000 L CNN
|
||||
F 2 "Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder" H 5308 6020 50 0001 C CNN
|
||||
F 3 "" H 5270 6170 50 0000 C CNN
|
||||
1 5270 6170
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Text Label 3330 1000 2 60 ~ 0
|
||||
CAN_Tx
|
||||
Text Label 3330 1100 2 60 ~ 0
|
||||
CAN_Rx
|
||||
Text Label 4170 5070 2 60 ~ 0
|
||||
CAN_Tx
|
||||
Text Label 4170 4970 2 60 ~ 0
|
||||
CAN_Rx
|
||||
Text Label 4170 3070 2 60 ~ 0
|
||||
NRST
|
||||
Text Label 4170 3270 2 60 ~ 0
|
||||
BOOT0
|
||||
$Comp
|
||||
L stm32-rescue:R R5
|
||||
U 1 1 590D30C8
|
||||
P 7440 1550
|
||||
F 0 "R5" V 7520 1550 50 0000 C CNN
|
||||
F 1 "10k" V 7440 1550 50 0000 C CNN
|
||||
F 2 "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder" V 7370 1550 50 0001 C CNN
|
||||
F 3 "" H 7440 1550 50 0000 C CNN
|
||||
1 7440 1550
|
||||
-1 0 0 1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:PWR_FLAG #FLG01
|
||||
U 1 1 590CEE5E
|
||||
P 6270 5020
|
||||
F 0 "#FLG01" H 6270 5115 50 0001 C CNN
|
||||
F 1 "PWR_FLAG" H 6270 5200 50 0001 C CNN
|
||||
F 2 "" H 6270 5020 50 0000 C CNN
|
||||
F 3 "" H 6270 5020 50 0000 C CNN
|
||||
1 6270 5020
|
||||
-1 0 0 1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:GND #PWR017
|
||||
U 1 1 590CF25B
|
||||
P 7270 5620
|
||||
F 0 "#PWR017" H 7270 5370 50 0001 C CNN
|
||||
F 1 "GND" H 7270 5470 50 0000 C CNN
|
||||
F 2 "" H 7270 5620 50 0000 C CNN
|
||||
F 3 "" H 7270 5620 50 0000 C CNN
|
||||
1 7270 5620
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:CONN_01X01 P1
|
||||
U 1 1 59143415
|
||||
P 12950 7120
|
||||
F 0 "P1" H 12950 7220 50 0000 C CNN
|
||||
F 1 "Hole" V 13050 7120 50 0000 C CNN
|
||||
F 2 "my_footprints:Hole_3mm" H 12950 7120 50 0001 C CNN
|
||||
F 3 "" H 12950 7120 50 0000 C CNN
|
||||
1 12950 7120
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:CONN_01X01 P2
|
||||
U 1 1 5914456D
|
||||
P 12950 7370
|
||||
F 0 "P2" H 12950 7470 50 0000 C CNN
|
||||
F 1 "Hole" V 13050 7370 50 0000 C CNN
|
||||
F 2 "my_footprints:Hole_3mm" H 12950 7370 50 0001 C CNN
|
||||
F 3 "" H 12950 7370 50 0000 C CNN
|
||||
1 12950 7370
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:CONN_01X01 P3
|
||||
U 1 1 591446F3
|
||||
P 12950 7620
|
||||
F 0 "P3" H 12950 7720 50 0000 C CNN
|
||||
F 1 "Hole" V 13050 7620 50 0000 C CNN
|
||||
F 2 "my_footprints:Hole_3mm" H 12950 7620 50 0001 C CNN
|
||||
F 3 "" H 12950 7620 50 0000 C CNN
|
||||
1 12950 7620
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:CONN_01X01 P4
|
||||
U 1 1 591446F9
|
||||
P 12950 7870
|
||||
F 0 "P4" H 12950 7970 50 0000 C CNN
|
||||
F 1 "Hole" V 13050 7870 50 0000 C CNN
|
||||
F 2 "my_footprints:Hole_3mm" H 12950 7870 50 0001 C CNN
|
||||
F 3 "" H 12950 7870 50 0000 C CNN
|
||||
1 12950 7870
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
NoConn ~ 12750 7120
|
||||
NoConn ~ 12750 7370
|
||||
NoConn ~ 12750 7620
|
||||
NoConn ~ 12750 7870
|
||||
$Comp
|
||||
L stm32-rescue:R R3
|
||||
U 1 1 5968E385
|
||||
P 6020 5220
|
||||
F 0 "R3" V 6100 5220 50 0000 C CNN
|
||||
F 1 "22" V 6020 5220 50 0000 C CNN
|
||||
F 2 "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder" V 5950 5220 50 0001 C CNN
|
||||
F 3 "" H 6020 5220 50 0001 C CNN
|
||||
1 6020 5220
|
||||
0 1 1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:R R4
|
||||
U 1 1 5968E83B
|
||||
P 6020 5420
|
||||
F 0 "R4" V 6100 5420 50 0000 C CNN
|
||||
F 1 "22" V 6020 5420 50 0000 C CNN
|
||||
F 2 "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder" V 5950 5420 50 0001 C CNN
|
||||
F 3 "" H 6020 5420 50 0001 C CNN
|
||||
1 6020 5420
|
||||
0 1 1 0
|
||||
$EndComp
|
||||
NoConn ~ 5470 4470
|
||||
NoConn ~ 5470 4370
|
||||
Wire Wire Line
|
||||
6620 3820 6620 3770
|
||||
Wire Wire Line
|
||||
6920 3470 7020 3470
|
||||
Wire Wire Line
|
||||
4670 6020 4670 5870
|
||||
Wire Wire Line
|
||||
5470 5270 5820 5270
|
||||
Wire Wire Line
|
||||
5820 5270 5820 5220
|
||||
Wire Wire Line
|
||||
5820 5420 5820 5370
|
||||
Wire Wire Line
|
||||
5820 5370 5470 5370
|
||||
Wire Wire Line
|
||||
7270 5420 7470 5420
|
||||
Wire Wire Line
|
||||
7470 5220 7270 5220
|
||||
Wire Wire Line
|
||||
9770 960 9920 960
|
||||
Wire Wire Line
|
||||
10220 960 10320 960
|
||||
Wire Wire Line
|
||||
10620 960 10770 960
|
||||
Wire Wire Line
|
||||
9770 1260 9920 1260
|
||||
Wire Wire Line
|
||||
10220 1260 10320 1260
|
||||
Wire Wire Line
|
||||
10620 1260 10770 1260
|
||||
Wire Notes Line
|
||||
9470 610 9470 1410
|
||||
Wire Notes Line
|
||||
9470 1410 10970 1410
|
||||
Wire Notes Line
|
||||
10970 1410 10970 610
|
||||
Wire Notes Line
|
||||
10970 610 9470 610
|
||||
Wire Wire Line
|
||||
4020 6020 4370 6020
|
||||
Connection ~ 4670 6020
|
||||
Wire Wire Line
|
||||
4370 6320 4670 6320
|
||||
Connection ~ 4670 6320
|
||||
Connection ~ 4370 6020
|
||||
Connection ~ 4970 6320
|
||||
Connection ~ 4970 6020
|
||||
Wire Wire Line
|
||||
5270 6320 4970 6320
|
||||
Wire Wire Line
|
||||
5820 5220 5870 5220
|
||||
Wire Wire Line
|
||||
6170 5220 6270 5220
|
||||
Wire Wire Line
|
||||
6270 5420 6170 5420
|
||||
Wire Wire Line
|
||||
5870 5420 5820 5420
|
||||
NoConn ~ 5470 5670
|
||||
NoConn ~ 5470 4870
|
||||
NoConn ~ 5470 4770
|
||||
Wire Wire Line
|
||||
4670 6020 4970 6020
|
||||
Wire Wire Line
|
||||
4670 6320 4970 6320
|
||||
Wire Wire Line
|
||||
4370 6020 4670 6020
|
||||
Wire Wire Line
|
||||
4970 6020 5270 6020
|
||||
$Comp
|
||||
L Interface_CAN_LIN:ISO1050DUB U4
|
||||
U 1 1 5EC5A80C
|
||||
P 5780 1040
|
||||
F 0 "U4" H 5780 1407 50 0000 C CNN
|
||||
F 1 "ISO1050DUB" H 5780 1316 50 0000 C CNN
|
||||
F 2 "Package_SO:SOP-8_6.62x9.15mm_P2.54mm" H 5780 690 50 0001 C CIN
|
||||
F 3 "http://www.ti.com/lit/ds/symlink/iso1050.pdf" H 5780 990 50 0001 C CNN
|
||||
1 5780 1040
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L elements:B0505S Q1
|
||||
U 1 1 5EC7332B
|
||||
P 5800 1650
|
||||
F 0 "Q1" H 5800 1390 50 0000 C CNN
|
||||
F 1 "B0505S" H 5800 1890 50 0000 C CNN
|
||||
F 2 "my_footprints:B0x0xS" H 5800 1650 50 0001 C CNN
|
||||
F 3 "" H 5800 1650 50 0001 C CNN
|
||||
1 5800 1650
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
NoConn ~ 5470 4170
|
||||
NoConn ~ 5470 4270
|
||||
$Comp
|
||||
L Connector:USB_B J4
|
||||
U 1 1 5ECA19CB
|
||||
P 7770 5340
|
||||
F 0 "J4" H 7810 5790 50 0000 R CNN
|
||||
F 1 "USB_B" H 7890 5690 50 0000 R CNN
|
||||
F 2 "Connectors_USB:USB_B_OST_USB-B1HSxx_Horizontal" H 7920 5290 50 0001 C CNN
|
||||
F 3 " ~" H 7920 5290 50 0001 C CNN
|
||||
1 7770 5340
|
||||
-1 0 0 1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
7270 5020 7330 5020
|
||||
Wire Wire Line
|
||||
7470 5420 7470 5340
|
||||
Wire Wire Line
|
||||
7470 5240 7470 5220
|
||||
Wire Wire Line
|
||||
7470 5540 7330 5540
|
||||
Wire Wire Line
|
||||
7330 5540 7330 5020
|
||||
$Comp
|
||||
L stm32-rescue:GND #PWR018
|
||||
U 1 1 5ECFE313
|
||||
P 8090 4940
|
||||
F 0 "#PWR018" H 8090 4690 50 0001 C CNN
|
||||
F 1 "GND" H 8090 4790 50 0000 C CNN
|
||||
F 2 "" H 8090 4940 50 0000 C CNN
|
||||
F 3 "" H 8090 4940 50 0000 C CNN
|
||||
1 8090 4940
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
7770 4940 7870 4940
|
||||
Wire Wire Line
|
||||
7870 4940 8090 4940
|
||||
Connection ~ 7870 4940
|
||||
$Comp
|
||||
L MCU_ST_STM32F0:STM32F072C8Tx U3
|
||||
U 1 1 5ED38032
|
||||
P 4870 4370
|
||||
F 0 "U3" H 4870 4620 50 0000 C CNN
|
||||
F 1 "STM32F072C8Tx" H 4840 4370 50 0000 C CNN
|
||||
F 2 "Package_QFP:LQFP-48_7x7mm_P0.5mm" H 4270 2970 50 0001 R CNN
|
||||
F 3 "http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00090510.pdf" H 4870 4370 50 0001 C CNN
|
||||
1 4870 4370
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
NoConn ~ 5470 4970
|
||||
NoConn ~ 5470 4570
|
||||
NoConn ~ 5470 4670
|
||||
Wire Wire Line
|
||||
4670 5870 4770 5870
|
||||
Connection ~ 4670 5870
|
||||
Connection ~ 4770 5870
|
||||
Wire Wire Line
|
||||
4770 5870 4870 5870
|
||||
Connection ~ 4870 5870
|
||||
Wire Wire Line
|
||||
4870 5870 4970 5870
|
||||
$Comp
|
||||
L stm32-rescue:+3.3V #PWR010
|
||||
U 1 1 5EDF00AB
|
||||
P 4870 2870
|
||||
F 0 "#PWR010" H 4870 2720 50 0001 C CNN
|
||||
F 1 "+3.3V" H 4870 3010 50 0000 C CNN
|
||||
F 2 "" H 4870 2870 50 0000 C CNN
|
||||
F 3 "" H 4870 2870 50 0000 C CNN
|
||||
1 4870 2870
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
4670 2870 4770 2870
|
||||
Connection ~ 4770 2870
|
||||
Wire Wire Line
|
||||
4770 2870 4870 2870
|
||||
Connection ~ 4870 2870
|
||||
Wire Wire Line
|
||||
4870 2870 4970 2870
|
||||
Connection ~ 4970 2870
|
||||
Wire Wire Line
|
||||
4970 2870 5070 2870
|
||||
$Comp
|
||||
L Connector:Screw_Terminal_01x03 J1
|
||||
U 1 1 5EECB9D2
|
||||
P 2450 1000
|
||||
F 0 "J1" H 2530 996 50 0000 L CNN
|
||||
F 1 "Screw_Terminal_01x03" H 2530 951 50 0001 L CNN
|
||||
F 2 "TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-3_1x03_P5.00mm_Horizontal" H 2450 1000 50 0001 C CNN
|
||||
F 3 "~" H 2450 1000 50 0001 C CNN
|
||||
1 2450 1000
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:R R1
|
||||
U 1 1 58C488C6
|
||||
P 1240 1390
|
||||
F 0 "R1" V 1320 1390 50 0000 C CNN
|
||||
F 1 "120" V 1240 1390 50 0000 C CNN
|
||||
F 2 "Resistor_SMD:R_1210_3225Metric_Pad1.42x2.65mm_HandSolder" V 1170 1390 50 0001 C CNN
|
||||
F 3 "" H 1240 1390 50 0000 C CNN
|
||||
1 1240 1390
|
||||
-1 0 0 1
|
||||
$EndComp
|
||||
Text Label 5470 5470 0 50 ~ 0
|
||||
SWDIO
|
||||
Text Label 5470 5570 0 50 ~ 0
|
||||
SWCLK
|
||||
$Comp
|
||||
L Connector:Conn_01x06_Female J3
|
||||
U 1 1 5EEF8FF5
|
||||
P 7980 1500
|
||||
F 0 "J3" H 7850 1060 50 0000 L CNN
|
||||
F 1 "SWDetc" H 7820 1140 50 0000 L CNN
|
||||
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical" H 7980 1500 50 0001 C CNN
|
||||
F 3 "~" H 7980 1500 50 0001 C CNN
|
||||
1 7980 1500
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:GND #PWR015
|
||||
U 1 1 5EF133B6
|
||||
P 7440 1700
|
||||
F 0 "#PWR015" H 7440 1450 50 0001 C CNN
|
||||
F 1 "GND" H 7440 1550 50 0000 C CNN
|
||||
F 2 "" H 7440 1700 50 0000 C CNN
|
||||
F 3 "" H 7440 1700 50 0000 C CNN
|
||||
1 7440 1700
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Text Label 7780 1400 2 60 ~ 0
|
||||
BOOT0
|
||||
Text Label 7780 1500 2 60 ~ 0
|
||||
NRST
|
||||
Wire Wire Line
|
||||
7440 1400 7780 1400
|
||||
$Comp
|
||||
L stm32-rescue:R R6
|
||||
U 1 1 5EF24BB7
|
||||
P 7780 1150
|
||||
F 0 "R6" V 7860 1150 50 0000 C CNN
|
||||
F 1 "22" V 7780 1150 50 0000 C CNN
|
||||
F 2 "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder" V 7710 1150 50 0001 C CNN
|
||||
F 3 "" H 7780 1150 50 0000 C CNN
|
||||
1 7780 1150
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:+3.3V #PWR016
|
||||
U 1 1 5EF2AAFF
|
||||
P 7780 1000
|
||||
F 0 "#PWR016" H 7780 850 50 0001 C CNN
|
||||
F 1 "+3.3V" H 7780 1140 50 0000 C CNN
|
||||
F 2 "" H 7780 1000 50 0000 C CNN
|
||||
F 3 "" H 7780 1000 50 0000 C CNN
|
||||
1 7780 1000
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
7780 1600 7540 1600
|
||||
Wire Wire Line
|
||||
7540 1600 7540 1700
|
||||
Wire Wire Line
|
||||
7540 1700 7440 1700
|
||||
Connection ~ 7440 1700
|
||||
Text Label 7780 1700 2 50 ~ 0
|
||||
SWDIO
|
||||
Text Label 7780 1800 2 50 ~ 0
|
||||
SWCLK
|
||||
Text Notes 8010 1820 0 59 ~ 0
|
||||
Vcc\nBoot0\nNrst\nGnd\nSWDIO\nSWCLK
|
||||
Wire Wire Line
|
||||
6620 3770 7020 3770
|
||||
Connection ~ 7020 3470
|
||||
NoConn ~ 4170 3470
|
||||
NoConn ~ 4170 3570
|
||||
NoConn ~ 4170 3770
|
||||
NoConn ~ 4170 3870
|
||||
NoConn ~ 4170 3970
|
||||
NoConn ~ 4170 4370
|
||||
NoConn ~ 4170 4470
|
||||
NoConn ~ 4170 4570
|
||||
NoConn ~ 4170 4670
|
||||
NoConn ~ 4170 4770
|
||||
NoConn ~ 4170 4870
|
||||
NoConn ~ 4170 5170
|
||||
NoConn ~ 4170 5270
|
||||
NoConn ~ 4170 5370
|
||||
NoConn ~ 4170 5470
|
||||
NoConn ~ 4170 5570
|
||||
NoConn ~ 4170 5670
|
||||
Text Label 4170 4170 2 60 ~ 0
|
||||
LED0
|
||||
Text Label 4170 4270 2 60 ~ 0
|
||||
LED1
|
||||
NoConn ~ 5470 5170
|
||||
NoConn ~ 5470 5070
|
||||
$Comp
|
||||
L stm32-rescue:C C2
|
||||
U 1 1 5EFCC1D1
|
||||
P 7300 3620
|
||||
F 0 "C2" H 7325 3720 50 0000 L CNN
|
||||
F 1 "0.1" H 7325 3520 50 0000 L CNN
|
||||
F 2 "Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder" H 7338 3470 50 0001 C CNN
|
||||
F 3 "" H 7300 3620 50 0000 C CNN
|
||||
1 7300 3620
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
7300 3770 7020 3770
|
||||
Connection ~ 7020 3770
|
||||
Wire Wire Line
|
||||
7300 3470 7020 3470
|
||||
Wire Notes Line
|
||||
6160 3010 6160 4030
|
||||
Wire Notes Line
|
||||
6160 4030 7490 4030
|
||||
Wire Notes Line
|
||||
7490 4030 7490 3010
|
||||
Wire Notes Line
|
||||
7490 3010 6160 3010
|
||||
$Comp
|
||||
L Switch:SW_DIP_x01 SW1
|
||||
U 1 1 5EFDFDE6
|
||||
P 940 1540
|
||||
F 0 "SW1" H 940 1680 50 0000 C CNN
|
||||
F 1 "SW_DIP_x01" H 940 1380 50 0000 C CNN
|
||||
F 2 "Button_Switch_THT:SW_DIP_SPSTx01_Slide_6.7x4.1mm_W7.62mm_P2.54mm_LowProfile" H 940 1540 50 0001 C CNN
|
||||
F 3 "~" H 940 1540 50 0001 C CNN
|
||||
1 940 1540
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Text Label 2250 900 2 50 ~ 0
|
||||
CANH
|
||||
Text Label 2250 1100 2 50 ~ 0
|
||||
CANL
|
||||
Wire Wire Line
|
||||
2250 1000 2020 1000
|
||||
Wire Wire Line
|
||||
1640 1570 2020 1570
|
||||
Text Label 1540 870 2 50 ~ 0
|
||||
CANH
|
||||
Text Label 1740 870 0 50 ~ 0
|
||||
CANL
|
||||
Text Label 1240 1240 2 50 ~ 0
|
||||
CANH
|
||||
Text Label 640 1540 1 50 ~ 0
|
||||
CANL
|
||||
Wire Notes Line
|
||||
530 580 530 1780
|
||||
Wire Notes Line
|
||||
530 1780 2690 1780
|
||||
Wire Notes Line
|
||||
2690 1780 2690 570
|
||||
Wire Notes Line
|
||||
2690 570 530 570
|
||||
Text Notes 600 780 0 59 ~ 0
|
||||
CAN\nconnectors
|
||||
Text Notes 6090 2070 2 60 ~ 0
|
||||
Isolated CAN
|
||||
Text Label 4330 1100 0 50 ~ 0
|
||||
CANH
|
||||
Text Label 4330 1300 0 50 ~ 0
|
||||
CANL
|
||||
$Comp
|
||||
L stm32-rescue:+5V #PWR012
|
||||
U 1 1 5F012762
|
||||
P 5400 1550
|
||||
F 0 "#PWR012" H 5400 1400 50 0001 C CNN
|
||||
F 1 "+5V" H 5400 1690 50 0000 C CNN
|
||||
F 2 "" H 5400 1550 50 0000 C CNN
|
||||
F 3 "" H 5400 1550 50 0000 C CNN
|
||||
1 5400 1550
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Text Label 6180 1040 0 50 ~ 0
|
||||
CANH
|
||||
Text Label 6180 1140 0 50 ~ 0
|
||||
CANL
|
||||
Wire Wire Line
|
||||
6180 1240 6250 1240
|
||||
Wire Wire Line
|
||||
6250 1240 6250 1750
|
||||
Wire Wire Line
|
||||
6250 1750 6200 1750
|
||||
Wire Wire Line
|
||||
6200 1550 6430 1550
|
||||
$Comp
|
||||
L stm32-rescue:+5V #PWR011
|
||||
U 1 1 5F026BCD
|
||||
P 5380 940
|
||||
F 0 "#PWR011" H 5380 790 50 0001 C CNN
|
||||
F 1 "+5V" H 5380 1080 50 0000 C CNN
|
||||
F 2 "" H 5380 940 50 0000 C CNN
|
||||
F 3 "" H 5380 940 50 0000 C CNN
|
||||
1 5380 940
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
5400 1750 5290 1750
|
||||
Wire Wire Line
|
||||
5290 1750 5290 1240
|
||||
Text Label 5380 1140 2 60 ~ 0
|
||||
CAN_Tx
|
||||
Text Label 5380 1040 2 60 ~ 0
|
||||
CAN_Rx
|
||||
Wire Notes Line
|
||||
2810 1800 4630 1800
|
||||
Wire Notes Line
|
||||
4630 1800 4630 570
|
||||
Wire Notes Line
|
||||
4630 570 2810 570
|
||||
Wire Notes Line
|
||||
2810 570 2810 1800
|
||||
Wire Notes Line
|
||||
7190 2020 8400 2020
|
||||
Wire Notes Line
|
||||
8400 2020 8400 610
|
||||
Wire Notes Line
|
||||
8400 610 7190 610
|
||||
Wire Notes Line
|
||||
7190 610 7190 2020
|
||||
Text Notes 7290 820 0 59 ~ 0
|
||||
Debugging\nholes
|
||||
$Comp
|
||||
L stm32-rescue:+5V #PWR0101
|
||||
U 1 1 5F0B58FE
|
||||
P 6270 5020
|
||||
F 0 "#PWR0101" H 6270 4870 50 0001 C CNN
|
||||
F 1 "+5V" H 6270 5160 50 0000 C CNN
|
||||
F 2 "" H 6270 5020 50 0000 C CNN
|
||||
F 3 "" H 6270 5020 50 0000 C CNN
|
||||
1 6270 5020
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L Regulator_Linear:LM1117-3.3 U1
|
||||
U 1 1 5F0B7BCC
|
||||
P 6620 3470
|
||||
F 0 "U1" H 6620 3712 50 0000 C CNN
|
||||
F 1 "LM1117-3.3" H 6620 3621 50 0000 C CNN
|
||||
F 2 "TO_SOT_Packages_SMD:SOT-223-3_TabPin2" H 6620 3470 50 0001 C CNN
|
||||
F 3 "http://www.ti.com/lit/ds/symlink/lm1117.pdf" H 6620 3470 50 0001 C CNN
|
||||
1 6620 3470
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Connection ~ 6620 3770
|
||||
Connection ~ 6270 5020
|
||||
$Comp
|
||||
L stm32-rescue:C C7
|
||||
U 1 1 5F0E47E1
|
||||
P 6280 3620
|
||||
F 0 "C7" H 6305 3720 50 0000 L CNN
|
||||
F 1 "0.1" H 6305 3520 50 0000 L CNN
|
||||
F 2 "Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder" H 6318 3470 50 0001 C CNN
|
||||
F 3 "" H 6280 3620 50 0000 C CNN
|
||||
1 6280 3620
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
6280 3770 6620 3770
|
||||
Wire Wire Line
|
||||
6320 3470 6280 3470
|
||||
Connection ~ 6320 3470
|
||||
$Comp
|
||||
L stm32-rescue:C C9
|
||||
U 1 1 5F0F75F5
|
||||
P 6530 1090
|
||||
F 0 "C9" H 6555 1190 50 0000 L CNN
|
||||
F 1 "1" H 6555 990 50 0000 L CNN
|
||||
F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 6568 940 50 0001 C CNN
|
||||
F 3 "" H 6530 1090 50 0000 C CNN
|
||||
1 6530 1090
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:C C8
|
||||
U 1 1 5F0F92A0
|
||||
P 4920 1090
|
||||
F 0 "C8" H 4945 1190 50 0000 L CNN
|
||||
F 1 "1" H 4945 990 50 0000 L CNN
|
||||
F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 4958 940 50 0001 C CNN
|
||||
F 3 "" H 4920 1090 50 0000 C CNN
|
||||
1 4920 1090
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
4920 940 5380 940
|
||||
Connection ~ 5380 940
|
||||
Wire Wire Line
|
||||
4920 1240 5290 1240
|
||||
Connection ~ 5290 1240
|
||||
Wire Wire Line
|
||||
5290 1240 5380 1240
|
||||
Wire Wire Line
|
||||
6530 1240 6250 1240
|
||||
Connection ~ 6250 1240
|
||||
Wire Wire Line
|
||||
6180 940 6430 940
|
||||
Wire Wire Line
|
||||
6430 1550 6430 940
|
||||
Connection ~ 6430 940
|
||||
Wire Wire Line
|
||||
6430 940 6530 940
|
||||
Wire Notes Line
|
||||
4790 570 6680 570
|
||||
Wire Notes Line
|
||||
6680 570 6680 2140
|
||||
Wire Notes Line
|
||||
6680 2140 4790 2140
|
||||
Wire Notes Line
|
||||
4790 2140 4790 570
|
||||
Text Notes 1350 2210 0 118 ~ 0
|
||||
Only one variant should be soldered:\nMCP2551 or ISO1050+B0505S !!!
|
||||
Wire Wire Line
|
||||
2020 1000 2020 1570
|
||||
$Comp
|
||||
L Device:Jumper JP1
|
||||
U 1 1 5F1521D0
|
||||
P 2400 2410
|
||||
F 0 "JP1" H 2400 2240 50 0000 C CNN
|
||||
F 1 "NON-ISOL" H 2400 2330 50 0000 C CNN
|
||||
F 2 "Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P5.08mm_Vertical" H 2400 2410 50 0001 C CNN
|
||||
F 3 "~" H 2400 2410 50 0001 C CNN
|
||||
1 2400 2410
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Text Notes 1440 2730 0 59 ~ 0
|
||||
Should be shortened in non-isolated mode
|
||||
Wire Notes Line
|
||||
1370 2740 3450 2740
|
||||
Wire Notes Line
|
||||
3450 2740 3450 2260
|
||||
Wire Notes Line
|
||||
3450 2260 1370 2260
|
||||
Wire Notes Line
|
||||
1370 2260 1370 2740
|
||||
$Comp
|
||||
L stm32-rescue:GND #PWR0102
|
||||
U 1 1 5F166DB2
|
||||
P 2100 2410
|
||||
F 0 "#PWR0102" H 2100 2160 50 0001 C CNN
|
||||
F 1 "GND" H 2100 2260 50 0000 C CNN
|
||||
F 2 "" H 2100 2410 50 0000 C CNN
|
||||
F 3 "" H 2100 2410 50 0000 C CNN
|
||||
1 2100 2410
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:Earth #PWR0103
|
||||
U 1 1 5F16840E
|
||||
P 2700 2410
|
||||
F 0 "#PWR0103" H 2700 2160 50 0001 C CNN
|
||||
F 1 "Earth" H 2700 2260 50 0001 C CNN
|
||||
F 2 "" H 2700 2410 50 0001 C CNN
|
||||
F 3 "~" H 2700 2410 50 0001 C CNN
|
||||
1 2700 2410
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:Earth #PWR0105
|
||||
U 1 1 5F16D700
|
||||
P 3030 1400
|
||||
F 0 "#PWR0105" H 3030 1150 50 0001 C CNN
|
||||
F 1 "Earth" H 3030 1250 50 0001 C CNN
|
||||
F 2 "" H 3030 1400 50 0001 C CNN
|
||||
F 3 "~" H 3030 1400 50 0001 C CNN
|
||||
1 3030 1400
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:Earth #PWR0107
|
||||
U 1 1 5F1742D7
|
||||
P 1640 1570
|
||||
F 0 "#PWR0107" H 1640 1320 50 0001 C CNN
|
||||
F 1 "Earth" H 1640 1420 50 0001 C CNN
|
||||
F 2 "" H 1640 1570 50 0001 C CNN
|
||||
F 3 "~" H 1640 1570 50 0001 C CNN
|
||||
1 1640 1570
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Connection ~ 1640 1570
|
||||
$Comp
|
||||
L power:Earth #PWR0104
|
||||
U 1 1 5F1874D1
|
||||
P 6250 1750
|
||||
F 0 "#PWR0104" H 6250 1500 50 0001 C CNN
|
||||
F 1 "Earth" H 6250 1600 50 0001 C CNN
|
||||
F 2 "" H 6250 1750 50 0001 C CNN
|
||||
F 3 "~" H 6250 1750 50 0001 C CNN
|
||||
1 6250 1750
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Connection ~ 6250 1750
|
||||
$Comp
|
||||
L stm32-rescue:GND #PWR0106
|
||||
U 1 1 5F189262
|
||||
P 5400 1750
|
||||
F 0 "#PWR0106" H 5400 1500 50 0001 C CNN
|
||||
F 1 "GND" H 5400 1600 50 0000 C CNN
|
||||
F 2 "" H 5400 1750 50 0000 C CNN
|
||||
F 3 "" H 5400 1750 50 0000 C CNN
|
||||
1 5400 1750
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Connection ~ 5400 1750
|
||||
$Comp
|
||||
L stm32-rescue:GND #PWR0108
|
||||
U 1 1 5F1898E6
|
||||
P 3830 1600
|
||||
F 0 "#PWR0108" H 3830 1350 50 0001 C CNN
|
||||
F 1 "GND" H 3830 1450 50 0000 C CNN
|
||||
F 2 "" H 3830 1600 50 0000 C CNN
|
||||
F 3 "" H 3830 1600 50 0000 C CNN
|
||||
1 3830 1600
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$EndSCHEMATC
|
||||
8
F0:F030,F042,F072/deprecated/usbcan/kicad/sym-lib-table
Normal file
8
F0:F030,F042,F072/deprecated/usbcan/kicad/sym-lib-table
Normal file
@@ -0,0 +1,8 @@
|
||||
(sym_lib_table
|
||||
(lib (name stm32-rescue)(type Legacy)(uri ${KIPRJMOD}/stm32-rescue.lib)(options "")(descr ""))
|
||||
(lib (name stm32)(type Legacy)(uri /home/eddy/kicad/Kicad-Libraries/library/stm32.lib)(options "")(descr ""))
|
||||
(lib (name vreg)(type Legacy)(uri /home/eddy/kicad/Kicad-Libraries/library/vreg.lib)(options "")(descr ""))
|
||||
(lib (name elements)(type Legacy)(uri ${KIPRJMOD}/elements.lib)(options "")(descr ""))
|
||||
(lib (name switches)(type Legacy)(uri /home/eddy/kicad/Kicad-Libraries/library/switches.lib)(options "")(descr ""))
|
||||
(lib (name acs712)(type Legacy)(uri ${KIPRJMOD}/acs712.lib)(options "")(descr ""))
|
||||
)
|
||||
BIN
F0:F030,F042,F072/deprecated/usbcan/kicad_new/Back.jpg
Normal file
BIN
F0:F030,F042,F072/deprecated/usbcan/kicad_new/Back.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 130 KiB |
BIN
F0:F030,F042,F072/deprecated/usbcan/kicad_new/Front.jpg
Normal file
BIN
F0:F030,F042,F072/deprecated/usbcan/kicad_new/Front.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 156 KiB |
63
F0:F030,F042,F072/deprecated/usbcan/kicad_new/bom.ini
Normal file
63
F0:F030,F042,F072/deprecated/usbcan/kicad_new/bom.ini
Normal file
@@ -0,0 +1,63 @@
|
||||
[BOM_OPTIONS]
|
||||
; General BoM options here
|
||||
; If 'ignore_dnf' option is set to 1, rows that are not to be fitted on the PCB will not be written to the BoM file
|
||||
ignore_dnf = 1
|
||||
; If 'number_rows' option is set to 1, each row in the BoM will be prepended with an incrementing row number
|
||||
number_rows = 1
|
||||
; If 'group_connectors' option is set to 1, connectors with the same footprints will be grouped together, independent of the name of the connector
|
||||
group_connectors = 1
|
||||
; If 'test_regex' option is set to 1, each component group will be tested against a number of regular-expressions (specified, per column, below). If any matches are found, the row is ignored in the output file
|
||||
test_regex = 1
|
||||
; If 'merge_blank_fields' option is set to 1, component groups with blank fields will be merged into the most compatible group, where possible
|
||||
merge_blank_fields = 1
|
||||
; Field name used to determine if a particular part is to be fitted
|
||||
fit_field = Config
|
||||
|
||||
[IGNORE_COLUMNS]
|
||||
; Any column heading that appears here will be excluded from the Generated BoM
|
||||
; Titles are case-insensitive
|
||||
Part Lib
|
||||
Footprint Lib
|
||||
|
||||
[GROUP_FIELDS]
|
||||
; List of fields used for sorting individual components into groups
|
||||
; Components which match (comparing *all* fields) will be grouped together
|
||||
; Field names are case-insensitive
|
||||
Part
|
||||
Part Lib
|
||||
Value
|
||||
Footprint
|
||||
Footprint Lib
|
||||
|
||||
[COMPONENT_ALIASES]
|
||||
; A series of values which are considered to be equivalent for the part name
|
||||
; Each line represents a tab-separated list of equivalent component name values
|
||||
; e.g. 'c c_small cap' will ensure the equivalent capacitor symbols can be grouped together
|
||||
; Aliases are case-insensitive
|
||||
c c_small cap capacitor
|
||||
r r_small res resistor
|
||||
sw switch
|
||||
l l_small inductor
|
||||
zener zenersmall
|
||||
d diode d_small
|
||||
|
||||
[REGEX_INCLUDE]
|
||||
; A series of regular expressions used to include parts in the BoM
|
||||
; If there are any regex defined here, only components that match against ANY of them will be included in the BOM
|
||||
; Column names are case-insensitive
|
||||
; Format is: "ColumName Regex" (tab-separated)
|
||||
|
||||
[REGEX_EXCLUDE]
|
||||
; A series of regular expressions used to exclude parts from the BoM
|
||||
; If a component matches ANY of these, it will be excluded from the BoM
|
||||
; Column names are case-insensitive
|
||||
; Format is: "ColumName Regex" (tab-separated)
|
||||
References ^TP[0-9]*
|
||||
References ^FID
|
||||
Part mount.*hole
|
||||
Part solder.*bridge
|
||||
Part test.*point
|
||||
Footprint test.*point
|
||||
Footprint mount.*hole
|
||||
Footprint fiducial
|
||||
|
||||
210
F0:F030,F042,F072/deprecated/usbcan/kicad_new/elements.lib
Normal file
210
F0:F030,F042,F072/deprecated/usbcan/kicad_new/elements.lib
Normal file
@@ -0,0 +1,210 @@
|
||||
EESchema-LIBRARY Version 2.4
|
||||
#encoding utf-8
|
||||
#
|
||||
# 74HC4051
|
||||
#
|
||||
DEF 74HC4051 U 0 10 Y Y 1 F N
|
||||
F0 "U" 0 0 50 H V C CNN
|
||||
F1 "74HC4051" 0 -150 50 H V C CNN
|
||||
F2 "" 0 0 50 H V C CNN
|
||||
F3 "" 0 0 50 H V C CNN
|
||||
$FPLIST
|
||||
SO16
|
||||
TSSOP16
|
||||
SSOP16
|
||||
DHVQFN16
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -400 450 400 -450 0 1 0 N
|
||||
X Y4 1 700 -50 300 L 50 50 1 1 B
|
||||
X S1 10 -700 250 300 R 50 50 1 1 I
|
||||
X S0 11 -700 350 300 R 50 50 1 1 I
|
||||
X Y3 12 700 50 300 L 50 50 1 1 B
|
||||
X Y0 13 700 350 300 L 50 50 1 1 B
|
||||
X Y1 14 700 250 300 L 50 50 1 1 B
|
||||
X Y2 15 700 150 300 L 50 50 1 1 B
|
||||
X VCC 16 -700 -100 300 R 50 50 1 1 W
|
||||
X Y6 2 700 -250 300 L 50 50 1 1 B
|
||||
X Z 3 0 -750 300 U 50 50 1 1 B
|
||||
X Y7 4 700 -350 300 L 50 50 1 1 B
|
||||
X Y5 5 700 -150 300 L 50 50 1 1 B
|
||||
X ~E 6 -700 -350 300 R 50 50 1 1 I I
|
||||
X VEE 7 -700 0 300 R 50 50 1 1 W
|
||||
X GND 8 -700 -200 300 R 50 50 1 1 W
|
||||
X S2 9 -700 150 300 R 50 50 1 1 I
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# B0x0xS-1W
|
||||
#
|
||||
DEF B0x0xS-1W Q? 0 40 Y Y 1 F N
|
||||
F0 "Q?" 0 250 50 H V C CNN
|
||||
F1 "B0x0xS-1W" 0 -250 50 H V C CNN
|
||||
F2 "my_footprints:B0x0xS" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
ALIAS B0305S B0505S
|
||||
$FPLIST
|
||||
b0x0xs
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -200 200 200 -200 0 1 0 N
|
||||
X GND 1 -400 -100 200 R 50 50 1 1 W
|
||||
X Vin 2 -400 100 200 R 50 50 1 1 W
|
||||
X 0V 3 400 -100 200 L 50 50 1 1 w
|
||||
X +Vo 4 400 100 200 L 50 50 1 1 w
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# D_Schottky_x2_ACom_AKK
|
||||
#
|
||||
DEF D_Schottky_x2_ACom_AKK D 0 30 Y N 1 F N
|
||||
F0 "D" 50 -100 50 H V C CNN
|
||||
F1 "D_Schottky_x2_ACom_AKK" 0 100 50 H V C CNN
|
||||
F2 "" 0 0 50 H V C CNN
|
||||
F3 "" 0 0 50 H V C CNN
|
||||
DRAW
|
||||
P 2 0 1 0 -140 0 150 0 N
|
||||
P 2 0 1 0 0 0 0 -100 N
|
||||
P 3 0 1 8 -150 50 -150 -50 -150 -50 N
|
||||
P 3 0 1 8 150 50 150 -50 150 -50 N
|
||||
P 4 0 1 8 -150 50 -170 50 -170 40 -170 40 N
|
||||
P 4 0 1 8 150 -50 170 -50 170 -40 170 -40 N
|
||||
P 4 0 1 8 150 50 130 50 130 40 130 40 N
|
||||
P 5 0 1 8 -130 -40 -130 -50 -150 -50 -150 -50 -150 -50 N
|
||||
P 6 0 1 8 -50 -50 -150 0 -50 50 -50 -50 -50 -50 -50 -50 N
|
||||
P 6 0 1 8 50 50 150 0 50 -50 50 50 50 50 50 50 N
|
||||
X A 1 0 -200 100 U 50 50 0 1 P
|
||||
X K 2 -300 0 150 R 50 50 0 1 P
|
||||
X K 3 300 0 150 L 50 50 0 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# LM1117-ADJ
|
||||
#
|
||||
DEF LM1117-ADJ U 0 30 Y Y 1 F N
|
||||
F0 "U" 100 -250 50 H V C CNN
|
||||
F1 "LM1117-ADJ" 0 250 50 H V C CNN
|
||||
F2 "" 0 0 50 H V C CNN
|
||||
F3 "" 0 0 50 H V C CNN
|
||||
ALIAS LM1117-1.8 LM1117-2.5 LM1117-3.3 LM1117-5.0
|
||||
$FPLIST
|
||||
SOT-223*
|
||||
TO-263*
|
||||
TO-252*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -200 -200 200 200 0 1 10 f
|
||||
X GND/ADJ 1 0 -300 100 U 50 50 1 1 W
|
||||
X VO 2 300 0 100 L 50 50 1 1 w
|
||||
X VI 3 -300 0 100 R 50 50 1 1 W
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# PESD1CAN
|
||||
#
|
||||
DEF PESD1CAN D 0 30 Y N 1 F N
|
||||
F0 "D" 0 -350 50 H V C CNN
|
||||
F1 "PESD1CAN" 50 150 50 H V C CNN
|
||||
F2 "" 0 0 50 H V C CNN
|
||||
F3 "" 0 0 50 H V C CNN
|
||||
$FPLIST
|
||||
SOT23
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -200 100 300 -300 0 1 0 N
|
||||
P 2 0 1 0 -140 -200 150 -200 N
|
||||
P 2 0 1 0 -140 0 150 0 N
|
||||
P 3 0 1 8 -150 -150 -150 -250 -150 -250 N
|
||||
P 3 0 1 8 -150 50 -150 -50 -150 -50 N
|
||||
P 3 0 1 8 150 -150 150 -250 150 -250 N
|
||||
P 3 0 1 8 150 50 150 -50 150 -50 N
|
||||
P 4 0 1 8 -150 -150 -170 -150 -170 -160 -170 -160 N
|
||||
P 4 0 1 8 -150 50 -170 50 -170 40 -170 40 N
|
||||
P 4 0 1 8 150 -250 170 -250 170 -240 170 -240 N
|
||||
P 4 0 1 8 150 -150 130 -150 130 -160 130 -160 N
|
||||
P 4 0 1 8 150 -50 170 -50 170 -40 170 -40 N
|
||||
P 4 0 1 0 150 0 250 0 250 -200 150 -200 N
|
||||
P 4 0 1 8 150 50 130 50 130 40 130 40 N
|
||||
P 5 0 1 8 -130 -240 -130 -250 -150 -250 -150 -250 -150 -250 N
|
||||
P 5 0 1 8 -130 -40 -130 -50 -150 -50 -150 -50 -150 -50 N
|
||||
P 6 0 1 8 -50 -250 -150 -200 -50 -150 -50 -250 -50 -250 -50 -250 N
|
||||
P 6 0 1 8 -50 -50 -150 0 -50 50 -50 -50 -50 -50 -50 -50 N
|
||||
P 6 0 1 8 50 -150 150 -200 50 -250 50 -150 50 -150 50 -150 N
|
||||
P 6 0 1 8 50 50 150 0 50 -50 50 50 50 50 50 50 N
|
||||
X K 1 -300 0 150 R 50 50 0 1 P
|
||||
X K 2 -300 -200 150 R 50 50 0 1 P
|
||||
X O 3 400 -100 150 L 50 50 0 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# TPS2051
|
||||
#
|
||||
DEF TPS2051 U 0 40 Y Y 1 F N
|
||||
F0 "U" 0 -300 60 H V C CNN
|
||||
F1 "TPS2051" 0 300 60 H V C CNN
|
||||
F2 "" 0 0 60 H I C CNN
|
||||
F3 "" 0 0 60 H I C CNN
|
||||
DRAW
|
||||
S -250 250 250 -250 0 1 0 N
|
||||
X GND 1 -450 150 200 R 50 50 1 1 W
|
||||
X IN 2 -450 50 200 R 50 50 1 1 W
|
||||
X IN 3 -450 -50 200 R 50 50 1 1 P
|
||||
X EN 4 -450 -150 200 R 50 50 1 1 I
|
||||
X ~OC 5 450 -150 200 L 50 50 1 1 O
|
||||
X OUT 6 450 -50 200 L 50 50 1 1 P
|
||||
X OUT 7 450 50 200 L 50 50 1 1 P
|
||||
X OUT 8 450 150 200 L 50 50 1 1 w
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# USB6B1
|
||||
#
|
||||
DEF USB6B1 D 0 30 Y N 1 F N
|
||||
F0 "D" 0 -450 50 H V C CNN
|
||||
F1 "USB6B1" 0 400 50 H V C CNN
|
||||
F2 "" 200 -100 50 V V C CNN
|
||||
F3 "" 200 -100 50 V V C CNN
|
||||
$FPLIST
|
||||
SO8
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
C -150 -300 7 0 1 0 N
|
||||
C -150 100 7 0 1 0 N
|
||||
C -150 300 7 0 1 0 N
|
||||
C 0 -300 7 0 1 0 N
|
||||
C 0 -100 7 0 1 0 N
|
||||
C 0 300 7 0 1 0 N
|
||||
C 200 -300 7 0 1 0 N
|
||||
C 200 300 7 0 1 0 N
|
||||
S -300 -100 300 -100 0 1 0 N
|
||||
S -300 300 300 300 0 1 0 N
|
||||
S -200 -150 -100 -150 0 1 0 N
|
||||
S -200 250 -100 250 0 1 0 N
|
||||
S -150 300 -150 -300 0 1 0 N
|
||||
S -50 -150 50 -150 0 1 0 N
|
||||
S -50 250 50 250 0 1 0 N
|
||||
S 0 300 0 -300 0 1 0 N
|
||||
S 200 300 200 -300 0 1 0 N
|
||||
S 300 -300 -300 -300 0 1 0 N
|
||||
S 300 100 -300 100 0 1 0 N
|
||||
P 3 0 1 8 150 50 250 50 250 50 N
|
||||
P 4 0 1 8 150 50 150 30 160 30 160 30 N
|
||||
P 4 0 1 8 250 50 250 70 240 70 240 70 N
|
||||
P 5 0 1 0 -250 350 300 350 300 -350 -250 -350 -250 350 N
|
||||
P 6 0 1 8 -200 -250 -150 -150 -100 -250 -200 -250 -200 -250 -200 -250 N
|
||||
P 6 0 1 8 -200 150 -150 250 -100 150 -200 150 -200 150 -200 150 N
|
||||
P 6 0 1 8 -50 -250 0 -150 50 -250 -50 -250 -50 -250 -50 -250 N
|
||||
P 6 0 1 8 -50 150 0 250 50 150 -50 150 -50 150 -50 150 N
|
||||
P 6 0 1 8 150 -50 200 50 250 -50 150 -50 150 -50 150 -50 N
|
||||
X VCC 1 -500 300 200 R 50 50 1 1 P
|
||||
X I/O1 2 -500 100 200 R 50 50 1 1 P
|
||||
X I/O2 3 -500 -100 200 R 50 50 1 1 P
|
||||
X GND 4 -500 -300 200 R 50 50 1 1 P
|
||||
X GND 5 500 -300 200 L 50 50 1 1 P
|
||||
X I/O2 6 500 -100 200 L 50 50 1 1 P
|
||||
X I/O1 7 500 100 200 L 50 50 1 1 P
|
||||
X VCC 8 500 300 200 L 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
#End Library
|
||||
24186
F0:F030,F042,F072/deprecated/usbcan/kicad_new/fp-info-cache
Normal file
24186
F0:F030,F042,F072/deprecated/usbcan/kicad_new/fp-info-cache
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,3 @@
|
||||
(fp_lib_table
|
||||
(lib (name my_footprints)(type KiCad)(uri "$(KIPRJMOD)/my_footprints.pretty")(options "")(descr ""))
|
||||
)
|
||||
3819
F0:F030,F042,F072/deprecated/usbcan/kicad_new/gerbers/stm32-B_Cu.gbr
Normal file
3819
F0:F030,F042,F072/deprecated/usbcan/kicad_new/gerbers/stm32-B_Cu.gbr
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,134 @@
|
||||
G04 #@! TF.GenerationSoftware,KiCad,Pcbnew,6.0.5*
|
||||
G04 #@! TF.CreationDate,2023-01-15T17:00:17+03:00*
|
||||
G04 #@! TF.ProjectId,stm32,73746d33-322e-46b6-9963-61645f706362,rev?*
|
||||
G04 #@! TF.SameCoordinates,Original*
|
||||
G04 #@! TF.FileFunction,Soldermask,Bot*
|
||||
G04 #@! TF.FilePolarity,Negative*
|
||||
%FSLAX46Y46*%
|
||||
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
|
||||
G04 Created by KiCad (PCBNEW 6.0.5) date 2023-01-15 17:00:17*
|
||||
%MOMM*%
|
||||
%LPD*%
|
||||
G01*
|
||||
G04 APERTURE LIST*
|
||||
G04 Aperture macros list*
|
||||
%AMRoundRect*
|
||||
0 Rectangle with rounded corners*
|
||||
0 $1 Rounding radius*
|
||||
0 $2 $3 $4 $5 $6 $7 $8 $9 X,Y pos of 4 corners*
|
||||
0 Add a 4 corners polygon primitive as box body*
|
||||
4,1,4,$2,$3,$4,$5,$6,$7,$8,$9,$2,$3,0*
|
||||
0 Add four circle primitives for the rounded corners*
|
||||
1,1,$1+$1,$2,$3*
|
||||
1,1,$1+$1,$4,$5*
|
||||
1,1,$1+$1,$6,$7*
|
||||
1,1,$1+$1,$8,$9*
|
||||
0 Add four rect primitives between the rounded corners*
|
||||
20,1,$1+$1,$2,$3,$4,$5,0*
|
||||
20,1,$1+$1,$4,$5,$6,$7,0*
|
||||
20,1,$1+$1,$6,$7,$8,$9,0*
|
||||
20,1,$1+$1,$8,$9,$2,$3,0*%
|
||||
G04 Aperture macros list end*
|
||||
%ADD10C,5.000000*%
|
||||
%ADD11RoundRect,0.250000X-0.325000X-0.450000X0.325000X-0.450000X0.325000X0.450000X-0.325000X0.450000X0*%
|
||||
%ADD12R,2.600000X2.600000*%
|
||||
%ADD13C,2.600000*%
|
||||
%ADD14R,1.000000X1.000000*%
|
||||
%ADD15O,1.000000X1.000000*%
|
||||
%ADD16RoundRect,0.237500X-0.287500X-0.237500X0.287500X-0.237500X0.287500X0.237500X-0.287500X0.237500X0*%
|
||||
%ADD17R,1.600000X1.600000*%
|
||||
%ADD18O,1.600000X1.600000*%
|
||||
%ADD19RoundRect,0.162500X1.012500X0.162500X-1.012500X0.162500X-1.012500X-0.162500X1.012500X-0.162500X0*%
|
||||
%ADD20C,1.500000*%
|
||||
%ADD21C,1.600000*%
|
||||
%ADD22C,4.000000*%
|
||||
%ADD23R,1.500000X1.500000*%
|
||||
G04 APERTURE END LIST*
|
||||
D10*
|
||||
X74500000Y-53500000D03*
|
||||
X117500000Y-53500000D03*
|
||||
X117500000Y-72000000D03*
|
||||
X74500000Y-72000000D03*
|
||||
D11*
|
||||
X106408000Y-67157600D03*
|
||||
X108458000Y-67157600D03*
|
||||
X106408000Y-65074800D03*
|
||||
X108458000Y-65074800D03*
|
||||
D12*
|
||||
X66802000Y-57658000D03*
|
||||
D13*
|
||||
X66802000Y-62658000D03*
|
||||
X66802000Y-67658000D03*
|
||||
D14*
|
||||
X94132400Y-51308000D03*
|
||||
D15*
|
||||
X95402400Y-51308000D03*
|
||||
X96672400Y-51308000D03*
|
||||
X97942400Y-51308000D03*
|
||||
X99212400Y-51308000D03*
|
||||
X100482400Y-51308000D03*
|
||||
D16*
|
||||
X110236000Y-67157600D03*
|
||||
X111986000Y-67157600D03*
|
||||
X110236000Y-65074800D03*
|
||||
X111986000Y-65074800D03*
|
||||
D17*
|
||||
X74828400Y-66751200D03*
|
||||
D18*
|
||||
X74828400Y-59131200D03*
|
||||
D19*
|
||||
X88154500Y-61087000D03*
|
||||
X88154500Y-63627000D03*
|
||||
X88154500Y-66167000D03*
|
||||
X88154500Y-68707000D03*
|
||||
X79104500Y-68707000D03*
|
||||
X79104500Y-66167000D03*
|
||||
X79104500Y-63627000D03*
|
||||
X79104500Y-61087000D03*
|
||||
D20*
|
||||
X87439500Y-58801000D03*
|
||||
X84899500Y-58801000D03*
|
||||
X82359500Y-58801000D03*
|
||||
X79819500Y-58801000D03*
|
||||
D17*
|
||||
X117221000Y-64071500D03*
|
||||
D21*
|
||||
X117221000Y-61571500D03*
|
||||
X119221000Y-61571500D03*
|
||||
X119221000Y-64071500D03*
|
||||
D22*
|
||||
X122081000Y-68821500D03*
|
||||
X122081000Y-56821500D03*
|
||||
D23*
|
||||
X99771200Y-74066400D03*
|
||||
X87325200Y-51257200D03*
|
||||
X103076000Y-51308000D03*
|
||||
X105562400Y-51308000D03*
|
||||
X113030000Y-51308000D03*
|
||||
D14*
|
||||
X93065600Y-66954400D03*
|
||||
D23*
|
||||
X97282000Y-74066400D03*
|
||||
D14*
|
||||
X91084400Y-66954400D03*
|
||||
D23*
|
||||
X89814400Y-74066400D03*
|
||||
X94792800Y-74066400D03*
|
||||
X109677200Y-61772800D03*
|
||||
X123190000Y-73507600D03*
|
||||
D14*
|
||||
X93065600Y-68935600D03*
|
||||
D23*
|
||||
X87325200Y-74066400D03*
|
||||
X108051600Y-51308000D03*
|
||||
X107188000Y-61772800D03*
|
||||
X84836000Y-74066400D03*
|
||||
X92303600Y-74066400D03*
|
||||
D14*
|
||||
X91084400Y-68935600D03*
|
||||
D23*
|
||||
X102260400Y-74066400D03*
|
||||
X110540800Y-51308000D03*
|
||||
X90322400Y-51257200D03*
|
||||
X123037600Y-51866800D03*
|
||||
M02*
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,42 @@
|
||||
G04 #@! TF.GenerationSoftware,KiCad,Pcbnew,6.0.5*
|
||||
G04 #@! TF.CreationDate,2023-01-15T17:00:17+03:00*
|
||||
G04 #@! TF.ProjectId,stm32,73746d33-322e-46b6-9963-61645f706362,rev?*
|
||||
G04 #@! TF.SameCoordinates,Original*
|
||||
G04 #@! TF.FileFunction,Profile,NP*
|
||||
%FSLAX46Y46*%
|
||||
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
|
||||
G04 Created by KiCad (PCBNEW 6.0.5) date 2023-01-15 17:00:17*
|
||||
%MOMM*%
|
||||
%LPD*%
|
||||
G01*
|
||||
G04 APERTURE LIST*
|
||||
G04 #@! TA.AperFunction,Profile*
|
||||
%ADD10C,0.150000*%
|
||||
G04 #@! TD*
|
||||
G04 APERTURE END LIST*
|
||||
D10*
|
||||
X125500000Y-50000000D02*
|
||||
X125500000Y-49500000D01*
|
||||
X61000000Y-75500000D02*
|
||||
X125500000Y-75500000D01*
|
||||
X125500000Y-75500000D02*
|
||||
X125500000Y-50000000D01*
|
||||
X83248500Y-70612000D02*
|
||||
G75*
|
||||
G03*
|
||||
X84010500Y-70612000I381000J0D01*
|
||||
G01*
|
||||
X84010500Y-55054500D02*
|
||||
X84010500Y-70612000D01*
|
||||
X83248500Y-55054500D02*
|
||||
X83248500Y-70612000D01*
|
||||
X61000000Y-49500000D02*
|
||||
X61000000Y-75500000D01*
|
||||
X84010500Y-55054500D02*
|
||||
G75*
|
||||
G03*
|
||||
X83248500Y-55054500I-381000J0D01*
|
||||
G01*
|
||||
X61000000Y-49500000D02*
|
||||
X125500000Y-49500000D01*
|
||||
M02*
|
||||
4887
F0:F030,F042,F072/deprecated/usbcan/kicad_new/gerbers/stm32-F_Cu.gbr
Normal file
4887
F0:F030,F042,F072/deprecated/usbcan/kicad_new/gerbers/stm32-F_Cu.gbr
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,231 @@
|
||||
G04 #@! TF.GenerationSoftware,KiCad,Pcbnew,6.0.5*
|
||||
G04 #@! TF.CreationDate,2023-01-15T17:00:17+03:00*
|
||||
G04 #@! TF.ProjectId,stm32,73746d33-322e-46b6-9963-61645f706362,rev?*
|
||||
G04 #@! TF.SameCoordinates,Original*
|
||||
G04 #@! TF.FileFunction,Soldermask,Top*
|
||||
G04 #@! TF.FilePolarity,Negative*
|
||||
%FSLAX46Y46*%
|
||||
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
|
||||
G04 Created by KiCad (PCBNEW 6.0.5) date 2023-01-15 17:00:17*
|
||||
%MOMM*%
|
||||
%LPD*%
|
||||
G01*
|
||||
G04 APERTURE LIST*
|
||||
G04 Aperture macros list*
|
||||
%AMRoundRect*
|
||||
0 Rectangle with rounded corners*
|
||||
0 $1 Rounding radius*
|
||||
0 $2 $3 $4 $5 $6 $7 $8 $9 X,Y pos of 4 corners*
|
||||
0 Add a 4 corners polygon primitive as box body*
|
||||
4,1,4,$2,$3,$4,$5,$6,$7,$8,$9,$2,$3,0*
|
||||
0 Add four circle primitives for the rounded corners*
|
||||
1,1,$1+$1,$2,$3*
|
||||
1,1,$1+$1,$4,$5*
|
||||
1,1,$1+$1,$6,$7*
|
||||
1,1,$1+$1,$8,$9*
|
||||
0 Add four rect primitives between the rounded corners*
|
||||
20,1,$1+$1,$2,$3,$4,$5,0*
|
||||
20,1,$1+$1,$4,$5,$6,$7,0*
|
||||
20,1,$1+$1,$6,$7,$8,$9,0*
|
||||
20,1,$1+$1,$8,$9,$2,$3,0*%
|
||||
G04 Aperture macros list end*
|
||||
%ADD10RoundRect,0.250000X-0.425000X0.537500X-0.425000X-0.537500X0.425000X-0.537500X0.425000X0.537500X0*%
|
||||
%ADD11RoundRect,0.237500X-0.237500X0.287500X-0.237500X-0.287500X0.237500X-0.287500X0.237500X0.287500X0*%
|
||||
%ADD12RoundRect,0.237500X0.287500X0.237500X-0.287500X0.237500X-0.287500X-0.237500X0.287500X-0.237500X0*%
|
||||
%ADD13RoundRect,0.237500X0.237500X-0.287500X0.237500X0.287500X-0.237500X0.287500X-0.237500X-0.287500X0*%
|
||||
%ADD14R,0.900000X0.800000*%
|
||||
%ADD15C,5.000000*%
|
||||
%ADD16RoundRect,0.075000X-0.662500X-0.075000X0.662500X-0.075000X0.662500X0.075000X-0.662500X0.075000X0*%
|
||||
%ADD17RoundRect,0.075000X-0.075000X-0.662500X0.075000X-0.662500X0.075000X0.662500X-0.075000X0.662500X0*%
|
||||
%ADD18RoundRect,0.237500X-0.287500X-0.237500X0.287500X-0.237500X0.287500X0.237500X-0.287500X0.237500X0*%
|
||||
%ADD19RoundRect,0.250000X-0.325000X-0.450000X0.325000X-0.450000X0.325000X0.450000X-0.325000X0.450000X0*%
|
||||
%ADD20RoundRect,0.250001X-1.074999X0.462499X-1.074999X-0.462499X1.074999X-0.462499X1.074999X0.462499X0*%
|
||||
%ADD21R,2.000000X1.500000*%
|
||||
%ADD22R,2.000000X3.800000*%
|
||||
%ADD23R,1.560000X0.650000*%
|
||||
%ADD24R,2.600000X2.600000*%
|
||||
%ADD25C,2.600000*%
|
||||
%ADD26R,1.000000X1.000000*%
|
||||
%ADD27O,1.000000X1.000000*%
|
||||
%ADD28R,1.600000X1.600000*%
|
||||
%ADD29O,1.600000X1.600000*%
|
||||
%ADD30C,1.500000*%
|
||||
%ADD31C,1.600000*%
|
||||
%ADD32C,4.000000*%
|
||||
%ADD33R,1.500000X1.500000*%
|
||||
G04 APERTURE END LIST*
|
||||
D10*
|
||||
X104800400Y-66903600D03*
|
||||
X104800400Y-69778600D03*
|
||||
D11*
|
||||
X93268800Y-56212800D03*
|
||||
X93268800Y-57962800D03*
|
||||
D12*
|
||||
X103350000Y-57962800D03*
|
||||
X101600000Y-57962800D03*
|
||||
D13*
|
||||
X101955600Y-68501200D03*
|
||||
X101955600Y-66751200D03*
|
||||
D11*
|
||||
X90728800Y-62167800D03*
|
||||
X90728800Y-63917800D03*
|
||||
D14*
|
||||
X71437500Y-63622000D03*
|
||||
X71437500Y-61722000D03*
|
||||
X69437500Y-62672000D03*
|
||||
D15*
|
||||
X74500000Y-53500000D03*
|
||||
X117500000Y-53500000D03*
|
||||
X117500000Y-72000000D03*
|
||||
X74500000Y-72000000D03*
|
||||
D12*
|
||||
X115276600Y-61569600D03*
|
||||
X113526600Y-61569600D03*
|
||||
X119227600Y-59182000D03*
|
||||
X117477600Y-59182000D03*
|
||||
X98411000Y-53543200D03*
|
||||
X96661000Y-53543200D03*
|
||||
D13*
|
||||
X94945200Y-56360000D03*
|
||||
X94945200Y-54610000D03*
|
||||
D16*
|
||||
X93246500Y-59861000D03*
|
||||
X93246500Y-60361000D03*
|
||||
X93246500Y-60861000D03*
|
||||
X93246500Y-61361000D03*
|
||||
X93246500Y-61861000D03*
|
||||
X93246500Y-62361000D03*
|
||||
X93246500Y-62861000D03*
|
||||
X93246500Y-63361000D03*
|
||||
X93246500Y-63861000D03*
|
||||
X93246500Y-64361000D03*
|
||||
X93246500Y-64861000D03*
|
||||
X93246500Y-65361000D03*
|
||||
D17*
|
||||
X94659000Y-66773500D03*
|
||||
X95159000Y-66773500D03*
|
||||
X95659000Y-66773500D03*
|
||||
X96159000Y-66773500D03*
|
||||
X96659000Y-66773500D03*
|
||||
X97159000Y-66773500D03*
|
||||
X97659000Y-66773500D03*
|
||||
X98159000Y-66773500D03*
|
||||
X98659000Y-66773500D03*
|
||||
X99159000Y-66773500D03*
|
||||
X99659000Y-66773500D03*
|
||||
X100159000Y-66773500D03*
|
||||
D16*
|
||||
X101571500Y-65361000D03*
|
||||
X101571500Y-64861000D03*
|
||||
X101571500Y-64361000D03*
|
||||
X101571500Y-63861000D03*
|
||||
X101571500Y-63361000D03*
|
||||
X101571500Y-62861000D03*
|
||||
X101571500Y-62361000D03*
|
||||
X101571500Y-61861000D03*
|
||||
X101571500Y-61361000D03*
|
||||
X101571500Y-60861000D03*
|
||||
X101571500Y-60361000D03*
|
||||
X101571500Y-59861000D03*
|
||||
D17*
|
||||
X100159000Y-58448500D03*
|
||||
X99659000Y-58448500D03*
|
||||
X99159000Y-58448500D03*
|
||||
X98659000Y-58448500D03*
|
||||
X98159000Y-58448500D03*
|
||||
X97659000Y-58448500D03*
|
||||
X97159000Y-58448500D03*
|
||||
X96659000Y-58448500D03*
|
||||
X96159000Y-58448500D03*
|
||||
X95659000Y-58448500D03*
|
||||
X95159000Y-58448500D03*
|
||||
X94659000Y-58448500D03*
|
||||
D18*
|
||||
X117195600Y-66243200D03*
|
||||
X118945600Y-66243200D03*
|
||||
D19*
|
||||
X85407500Y-56515000D03*
|
||||
X87457500Y-56515000D03*
|
||||
X79865000Y-56515000D03*
|
||||
X81915000Y-56515000D03*
|
||||
D20*
|
||||
X74828400Y-61417200D03*
|
||||
X74828400Y-64392200D03*
|
||||
D21*
|
||||
X113690400Y-69166800D03*
|
||||
X113690400Y-66866800D03*
|
||||
D22*
|
||||
X107390400Y-66866800D03*
|
||||
D21*
|
||||
X113690400Y-64566800D03*
|
||||
D23*
|
||||
X111041200Y-57978000D03*
|
||||
X111041200Y-58928000D03*
|
||||
X111041200Y-59878000D03*
|
||||
X113741200Y-59878000D03*
|
||||
X113741200Y-58928000D03*
|
||||
X113741200Y-57978000D03*
|
||||
D24*
|
||||
X66802000Y-57658000D03*
|
||||
D25*
|
||||
X66802000Y-62658000D03*
|
||||
X66802000Y-67658000D03*
|
||||
D26*
|
||||
X94132400Y-51308000D03*
|
||||
D27*
|
||||
X95402400Y-51308000D03*
|
||||
X96672400Y-51308000D03*
|
||||
X97942400Y-51308000D03*
|
||||
X99212400Y-51308000D03*
|
||||
X100482400Y-51308000D03*
|
||||
D28*
|
||||
X74828400Y-66751200D03*
|
||||
D29*
|
||||
X74828400Y-59131200D03*
|
||||
D30*
|
||||
X87439500Y-58801000D03*
|
||||
X84899500Y-58801000D03*
|
||||
X82359500Y-58801000D03*
|
||||
X79819500Y-58801000D03*
|
||||
D28*
|
||||
X117221000Y-64071500D03*
|
||||
D31*
|
||||
X117221000Y-61571500D03*
|
||||
X119221000Y-61571500D03*
|
||||
X119221000Y-64071500D03*
|
||||
D32*
|
||||
X122081000Y-68821500D03*
|
||||
X122081000Y-56821500D03*
|
||||
D33*
|
||||
X99771200Y-74066400D03*
|
||||
X87325200Y-51257200D03*
|
||||
X103076000Y-51308000D03*
|
||||
X105562400Y-51308000D03*
|
||||
X113030000Y-51308000D03*
|
||||
D26*
|
||||
X93065600Y-66954400D03*
|
||||
D33*
|
||||
X97282000Y-74066400D03*
|
||||
D26*
|
||||
X91084400Y-66954400D03*
|
||||
D33*
|
||||
X89814400Y-74066400D03*
|
||||
X94792800Y-74066400D03*
|
||||
X109677200Y-61772800D03*
|
||||
X123190000Y-73507600D03*
|
||||
D26*
|
||||
X93065600Y-68935600D03*
|
||||
D33*
|
||||
X87325200Y-74066400D03*
|
||||
X108051600Y-51308000D03*
|
||||
X107188000Y-61772800D03*
|
||||
X84836000Y-74066400D03*
|
||||
X92303600Y-74066400D03*
|
||||
D26*
|
||||
X91084400Y-68935600D03*
|
||||
D33*
|
||||
X102260400Y-74066400D03*
|
||||
X110540800Y-51308000D03*
|
||||
X90322400Y-51257200D03*
|
||||
X123037600Y-51866800D03*
|
||||
M02*
|
||||
@@ -0,0 +1,664 @@
|
||||
G04 #@! TF.GenerationSoftware,KiCad,Pcbnew,6.0.5*
|
||||
G04 #@! TF.CreationDate,2023-01-15T17:00:17+03:00*
|
||||
G04 #@! TF.ProjectId,stm32,73746d33-322e-46b6-9963-61645f706362,rev?*
|
||||
G04 #@! TF.SameCoordinates,Original*
|
||||
G04 #@! TF.FileFunction,Legend,Top*
|
||||
G04 #@! TF.FilePolarity,Positive*
|
||||
%FSLAX46Y46*%
|
||||
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
|
||||
G04 Created by KiCad (PCBNEW 6.0.5) date 2023-01-15 17:00:17*
|
||||
%MOMM*%
|
||||
%LPD*%
|
||||
G01*
|
||||
G04 APERTURE LIST*
|
||||
%ADD10C,0.150000*%
|
||||
%ADD11C,0.120000*%
|
||||
G04 APERTURE END LIST*
|
||||
D10*
|
||||
X65989295Y-59647200D02*
|
||||
X65894057Y-59599580D01*
|
||||
X65751200Y-59599580D01*
|
||||
X65608342Y-59647200D01*
|
||||
X65513104Y-59742438D01*
|
||||
X65465485Y-59837676D01*
|
||||
X65417866Y-60028152D01*
|
||||
X65417866Y-60171009D01*
|
||||
X65465485Y-60361485D01*
|
||||
X65513104Y-60456723D01*
|
||||
X65608342Y-60551961D01*
|
||||
X65751200Y-60599580D01*
|
||||
X65846438Y-60599580D01*
|
||||
X65989295Y-60551961D01*
|
||||
X66036914Y-60504342D01*
|
||||
X66036914Y-60171009D01*
|
||||
X65846438Y-60171009D01*
|
||||
X66465485Y-60599580D02*
|
||||
X66465485Y-59599580D01*
|
||||
X67036914Y-60599580D01*
|
||||
X67036914Y-59599580D01*
|
||||
X67513104Y-60599580D02*
|
||||
X67513104Y-59599580D01*
|
||||
X67751200Y-59599580D01*
|
||||
X67894057Y-59647200D01*
|
||||
X67989295Y-59742438D01*
|
||||
X68036914Y-59837676D01*
|
||||
X68084533Y-60028152D01*
|
||||
X68084533Y-60171009D01*
|
||||
X68036914Y-60361485D01*
|
||||
X67989295Y-60456723D01*
|
||||
X67894057Y-60551961D01*
|
||||
X67751200Y-60599580D01*
|
||||
X67513104Y-60599580D01*
|
||||
X65584533Y-55424342D02*
|
||||
X65536914Y-55471961D01*
|
||||
X65394057Y-55519580D01*
|
||||
X65298819Y-55519580D01*
|
||||
X65155961Y-55471961D01*
|
||||
X65060723Y-55376723D01*
|
||||
X65013104Y-55281485D01*
|
||||
X64965485Y-55091009D01*
|
||||
X64965485Y-54948152D01*
|
||||
X65013104Y-54757676D01*
|
||||
X65060723Y-54662438D01*
|
||||
X65155961Y-54567200D01*
|
||||
X65298819Y-54519580D01*
|
||||
X65394057Y-54519580D01*
|
||||
X65536914Y-54567200D01*
|
||||
X65584533Y-54614819D01*
|
||||
X65965485Y-55233866D02*
|
||||
X66441676Y-55233866D01*
|
||||
X65870247Y-55519580D02*
|
||||
X66203580Y-54519580D01*
|
||||
X66536914Y-55519580D01*
|
||||
X66870247Y-55519580D02*
|
||||
X66870247Y-54519580D01*
|
||||
X67441676Y-55519580D01*
|
||||
X67441676Y-54519580D01*
|
||||
X67917866Y-55519580D02*
|
||||
X67917866Y-54519580D01*
|
||||
X67917866Y-54995771D02*
|
||||
X68489295Y-54995771D01*
|
||||
X68489295Y-55519580D02*
|
||||
X68489295Y-54519580D01*
|
||||
X65754380Y-65533542D02*
|
||||
X65706761Y-65581161D01*
|
||||
X65563904Y-65628780D01*
|
||||
X65468666Y-65628780D01*
|
||||
X65325809Y-65581161D01*
|
||||
X65230571Y-65485923D01*
|
||||
X65182952Y-65390685D01*
|
||||
X65135333Y-65200209D01*
|
||||
X65135333Y-65057352D01*
|
||||
X65182952Y-64866876D01*
|
||||
X65230571Y-64771638D01*
|
||||
X65325809Y-64676400D01*
|
||||
X65468666Y-64628780D01*
|
||||
X65563904Y-64628780D01*
|
||||
X65706761Y-64676400D01*
|
||||
X65754380Y-64724019D01*
|
||||
X66135333Y-65343066D02*
|
||||
X66611523Y-65343066D01*
|
||||
X66040095Y-65628780D02*
|
||||
X66373428Y-64628780D01*
|
||||
X66706761Y-65628780D01*
|
||||
X67040095Y-65628780D02*
|
||||
X67040095Y-64628780D01*
|
||||
X67611523Y-65628780D01*
|
||||
X67611523Y-64628780D01*
|
||||
X68563904Y-65628780D02*
|
||||
X68087714Y-65628780D01*
|
||||
X68087714Y-64628780D01*
|
||||
X104684533Y-65533542D02*
|
||||
X104636914Y-65581161D01*
|
||||
X104494057Y-65628780D01*
|
||||
X104398819Y-65628780D01*
|
||||
X104255961Y-65581161D01*
|
||||
X104160723Y-65485923D01*
|
||||
X104113104Y-65390685D01*
|
||||
X104065485Y-65200209D01*
|
||||
X104065485Y-65057352D01*
|
||||
X104113104Y-64866876D01*
|
||||
X104160723Y-64771638D01*
|
||||
X104255961Y-64676400D01*
|
||||
X104398819Y-64628780D01*
|
||||
X104494057Y-64628780D01*
|
||||
X104636914Y-64676400D01*
|
||||
X104684533Y-64724019D01*
|
||||
X105636914Y-65628780D02*
|
||||
X105065485Y-65628780D01*
|
||||
X105351200Y-65628780D02*
|
||||
X105351200Y-64628780D01*
|
||||
X105255961Y-64771638D01*
|
||||
X105160723Y-64866876D01*
|
||||
X105065485Y-64914495D01*
|
||||
X92695733Y-55170342D02*
|
||||
X92648114Y-55217961D01*
|
||||
X92505257Y-55265580D01*
|
||||
X92410019Y-55265580D01*
|
||||
X92267161Y-55217961D01*
|
||||
X92171923Y-55122723D01*
|
||||
X92124304Y-55027485D01*
|
||||
X92076685Y-54837009D01*
|
||||
X92076685Y-54694152D01*
|
||||
X92124304Y-54503676D01*
|
||||
X92171923Y-54408438D01*
|
||||
X92267161Y-54313200D01*
|
||||
X92410019Y-54265580D01*
|
||||
X92505257Y-54265580D01*
|
||||
X92648114Y-54313200D01*
|
||||
X92695733Y-54360819D01*
|
||||
X93029066Y-54265580D02*
|
||||
X93648114Y-54265580D01*
|
||||
X93314780Y-54646533D01*
|
||||
X93457638Y-54646533D01*
|
||||
X93552876Y-54694152D01*
|
||||
X93600495Y-54741771D01*
|
||||
X93648114Y-54837009D01*
|
||||
X93648114Y-55075104D01*
|
||||
X93600495Y-55170342D01*
|
||||
X93552876Y-55217961D01*
|
||||
X93457638Y-55265580D01*
|
||||
X93171923Y-55265580D01*
|
||||
X93076685Y-55217961D01*
|
||||
X93029066Y-55170342D01*
|
||||
X102230833Y-56922942D02*
|
||||
X102183214Y-56970561D01*
|
||||
X102040357Y-57018180D01*
|
||||
X101945119Y-57018180D01*
|
||||
X101802261Y-56970561D01*
|
||||
X101707023Y-56875323D01*
|
||||
X101659404Y-56780085D01*
|
||||
X101611785Y-56589609D01*
|
||||
X101611785Y-56446752D01*
|
||||
X101659404Y-56256276D01*
|
||||
X101707023Y-56161038D01*
|
||||
X101802261Y-56065800D01*
|
||||
X101945119Y-56018180D01*
|
||||
X102040357Y-56018180D01*
|
||||
X102183214Y-56065800D01*
|
||||
X102230833Y-56113419D01*
|
||||
X103087976Y-56351514D02*
|
||||
X103087976Y-57018180D01*
|
||||
X102849880Y-55970561D02*
|
||||
X102611785Y-56684847D01*
|
||||
X103230833Y-56684847D01*
|
||||
X101687333Y-70359542D02*
|
||||
X101639714Y-70407161D01*
|
||||
X101496857Y-70454780D01*
|
||||
X101401619Y-70454780D01*
|
||||
X101258761Y-70407161D01*
|
||||
X101163523Y-70311923D01*
|
||||
X101115904Y-70216685D01*
|
||||
X101068285Y-70026209D01*
|
||||
X101068285Y-69883352D01*
|
||||
X101115904Y-69692876D01*
|
||||
X101163523Y-69597638D01*
|
||||
X101258761Y-69502400D01*
|
||||
X101401619Y-69454780D01*
|
||||
X101496857Y-69454780D01*
|
||||
X101639714Y-69502400D01*
|
||||
X101687333Y-69550019D01*
|
||||
X102592095Y-69454780D02*
|
||||
X102115904Y-69454780D01*
|
||||
X102068285Y-69930971D01*
|
||||
X102115904Y-69883352D01*
|
||||
X102211142Y-69835733D01*
|
||||
X102449238Y-69835733D01*
|
||||
X102544476Y-69883352D01*
|
||||
X102592095Y-69930971D01*
|
||||
X102639714Y-70026209D01*
|
||||
X102639714Y-70264304D01*
|
||||
X102592095Y-70359542D01*
|
||||
X102544476Y-70407161D01*
|
||||
X102449238Y-70454780D01*
|
||||
X102211142Y-70454780D01*
|
||||
X102115904Y-70407161D01*
|
||||
X102068285Y-70359542D01*
|
||||
X90625633Y-61064442D02*
|
||||
X90578014Y-61112061D01*
|
||||
X90435157Y-61159680D01*
|
||||
X90339919Y-61159680D01*
|
||||
X90197061Y-61112061D01*
|
||||
X90101823Y-61016823D01*
|
||||
X90054204Y-60921585D01*
|
||||
X90006585Y-60731109D01*
|
||||
X90006585Y-60588252D01*
|
||||
X90054204Y-60397776D01*
|
||||
X90101823Y-60302538D01*
|
||||
X90197061Y-60207300D01*
|
||||
X90339919Y-60159680D01*
|
||||
X90435157Y-60159680D01*
|
||||
X90578014Y-60207300D01*
|
||||
X90625633Y-60254919D01*
|
||||
X91482776Y-60159680D02*
|
||||
X91292300Y-60159680D01*
|
||||
X91197061Y-60207300D01*
|
||||
X91149442Y-60254919D01*
|
||||
X91054204Y-60397776D01*
|
||||
X91006585Y-60588252D01*
|
||||
X91006585Y-60969204D01*
|
||||
X91054204Y-61064442D01*
|
||||
X91101823Y-61112061D01*
|
||||
X91197061Y-61159680D01*
|
||||
X91387538Y-61159680D01*
|
||||
X91482776Y-61112061D01*
|
||||
X91530395Y-61064442D01*
|
||||
X91578014Y-60969204D01*
|
||||
X91578014Y-60731109D01*
|
||||
X91530395Y-60635871D01*
|
||||
X91482776Y-60588252D01*
|
||||
X91387538Y-60540633D01*
|
||||
X91197061Y-60540633D01*
|
||||
X91101823Y-60588252D01*
|
||||
X91054204Y-60635871D01*
|
||||
X91006585Y-60731109D01*
|
||||
X69699404Y-65624380D02*
|
||||
X69699404Y-64624380D01*
|
||||
X69937500Y-64624380D01*
|
||||
X70080357Y-64672000D01*
|
||||
X70175595Y-64767238D01*
|
||||
X70223214Y-64862476D01*
|
||||
X70270833Y-65052952D01*
|
||||
X70270833Y-65195809D01*
|
||||
X70223214Y-65386285D01*
|
||||
X70175595Y-65481523D01*
|
||||
X70080357Y-65576761D01*
|
||||
X69937500Y-65624380D01*
|
||||
X69699404Y-65624380D01*
|
||||
X71223214Y-65624380D02*
|
||||
X70651785Y-65624380D01*
|
||||
X70937500Y-65624380D02*
|
||||
X70937500Y-64624380D01*
|
||||
X70842261Y-64767238D01*
|
||||
X70747023Y-64862476D01*
|
||||
X70651785Y-64910095D01*
|
||||
X111604733Y-62123580D02*
|
||||
X111271400Y-61647390D01*
|
||||
X111033304Y-62123580D02*
|
||||
X111033304Y-61123580D01*
|
||||
X111414257Y-61123580D01*
|
||||
X111509495Y-61171200D01*
|
||||
X111557114Y-61218819D01*
|
||||
X111604733Y-61314057D01*
|
||||
X111604733Y-61456914D01*
|
||||
X111557114Y-61552152D01*
|
||||
X111509495Y-61599771D01*
|
||||
X111414257Y-61647390D01*
|
||||
X111033304Y-61647390D01*
|
||||
X111938066Y-61123580D02*
|
||||
X112557114Y-61123580D01*
|
||||
X112223780Y-61504533D01*
|
||||
X112366638Y-61504533D01*
|
||||
X112461876Y-61552152D01*
|
||||
X112509495Y-61599771D01*
|
||||
X112557114Y-61695009D01*
|
||||
X112557114Y-61933104D01*
|
||||
X112509495Y-62028342D01*
|
||||
X112461876Y-62075961D01*
|
||||
X112366638Y-62123580D01*
|
||||
X112080923Y-62123580D01*
|
||||
X111985685Y-62075961D01*
|
||||
X111938066Y-62028342D01*
|
||||
X118185933Y-58300880D02*
|
||||
X117852600Y-57824690D01*
|
||||
X117614504Y-58300880D02*
|
||||
X117614504Y-57300880D01*
|
||||
X117995457Y-57300880D01*
|
||||
X118090695Y-57348500D01*
|
||||
X118138314Y-57396119D01*
|
||||
X118185933Y-57491357D01*
|
||||
X118185933Y-57634214D01*
|
||||
X118138314Y-57729452D01*
|
||||
X118090695Y-57777071D01*
|
||||
X117995457Y-57824690D01*
|
||||
X117614504Y-57824690D01*
|
||||
X119043076Y-57634214D02*
|
||||
X119043076Y-58300880D01*
|
||||
X118804980Y-57253261D02*
|
||||
X118566885Y-57967547D01*
|
||||
X119185933Y-57967547D01*
|
||||
X99971533Y-54046380D02*
|
||||
X99638200Y-53570190D01*
|
||||
X99400104Y-54046380D02*
|
||||
X99400104Y-53046380D01*
|
||||
X99781057Y-53046380D01*
|
||||
X99876295Y-53094000D01*
|
||||
X99923914Y-53141619D01*
|
||||
X99971533Y-53236857D01*
|
||||
X99971533Y-53379714D01*
|
||||
X99923914Y-53474952D01*
|
||||
X99876295Y-53522571D01*
|
||||
X99781057Y-53570190D01*
|
||||
X99400104Y-53570190D01*
|
||||
X100876295Y-53046380D02*
|
||||
X100400104Y-53046380D01*
|
||||
X100352485Y-53522571D01*
|
||||
X100400104Y-53474952D01*
|
||||
X100495342Y-53427333D01*
|
||||
X100733438Y-53427333D01*
|
||||
X100828676Y-53474952D01*
|
||||
X100876295Y-53522571D01*
|
||||
X100923914Y-53617809D01*
|
||||
X100923914Y-53855904D01*
|
||||
X100876295Y-53951142D01*
|
||||
X100828676Y-53998761D01*
|
||||
X100733438Y-54046380D01*
|
||||
X100495342Y-54046380D01*
|
||||
X100400104Y-53998761D01*
|
||||
X100352485Y-53951142D01*
|
||||
X93152933Y-53944780D02*
|
||||
X92819600Y-53468590D01*
|
||||
X92581504Y-53944780D02*
|
||||
X92581504Y-52944780D01*
|
||||
X92962457Y-52944780D01*
|
||||
X93057695Y-52992400D01*
|
||||
X93105314Y-53040019D01*
|
||||
X93152933Y-53135257D01*
|
||||
X93152933Y-53278114D01*
|
||||
X93105314Y-53373352D01*
|
||||
X93057695Y-53420971D01*
|
||||
X92962457Y-53468590D01*
|
||||
X92581504Y-53468590D01*
|
||||
X94010076Y-52944780D02*
|
||||
X93819600Y-52944780D01*
|
||||
X93724361Y-52992400D01*
|
||||
X93676742Y-53040019D01*
|
||||
X93581504Y-53182876D01*
|
||||
X93533885Y-53373352D01*
|
||||
X93533885Y-53754304D01*
|
||||
X93581504Y-53849542D01*
|
||||
X93629123Y-53897161D01*
|
||||
X93724361Y-53944780D01*
|
||||
X93914838Y-53944780D01*
|
||||
X94010076Y-53897161D01*
|
||||
X94057695Y-53849542D01*
|
||||
X94105314Y-53754304D01*
|
||||
X94105314Y-53516209D01*
|
||||
X94057695Y-53420971D01*
|
||||
X94010076Y-53373352D01*
|
||||
X93914838Y-53325733D01*
|
||||
X93724361Y-53325733D01*
|
||||
X93629123Y-53373352D01*
|
||||
X93581504Y-53420971D01*
|
||||
X93533885Y-53516209D01*
|
||||
X96418495Y-68032380D02*
|
||||
X96418495Y-68841904D01*
|
||||
X96466114Y-68937142D01*
|
||||
X96513733Y-68984761D01*
|
||||
X96608971Y-69032380D01*
|
||||
X96799447Y-69032380D01*
|
||||
X96894685Y-68984761D01*
|
||||
X96942304Y-68937142D01*
|
||||
X96989923Y-68841904D01*
|
||||
X96989923Y-68032380D01*
|
||||
X97370876Y-68032380D02*
|
||||
X97989923Y-68032380D01*
|
||||
X97656590Y-68413333D01*
|
||||
X97799447Y-68413333D01*
|
||||
X97894685Y-68460952D01*
|
||||
X97942304Y-68508571D01*
|
||||
X97989923Y-68603809D01*
|
||||
X97989923Y-68841904D01*
|
||||
X97942304Y-68937142D01*
|
||||
X97894685Y-68984761D01*
|
||||
X97799447Y-69032380D01*
|
||||
X97513733Y-69032380D01*
|
||||
X97418495Y-68984761D01*
|
||||
X97370876Y-68937142D01*
|
||||
X120584933Y-66346342D02*
|
||||
X120537314Y-66393961D01*
|
||||
X120394457Y-66441580D01*
|
||||
X120299219Y-66441580D01*
|
||||
X120156361Y-66393961D01*
|
||||
X120061123Y-66298723D01*
|
||||
X120013504Y-66203485D01*
|
||||
X119965885Y-66013009D01*
|
||||
X119965885Y-65870152D01*
|
||||
X120013504Y-65679676D01*
|
||||
X120061123Y-65584438D01*
|
||||
X120156361Y-65489200D01*
|
||||
X120299219Y-65441580D01*
|
||||
X120394457Y-65441580D01*
|
||||
X120537314Y-65489200D01*
|
||||
X120584933Y-65536819D01*
|
||||
X120918266Y-65441580D02*
|
||||
X121584933Y-65441580D01*
|
||||
X121156361Y-66441580D01*
|
||||
X86265833Y-55222142D02*
|
||||
X86218214Y-55269761D01*
|
||||
X86075357Y-55317380D01*
|
||||
X85980119Y-55317380D01*
|
||||
X85837261Y-55269761D01*
|
||||
X85742023Y-55174523D01*
|
||||
X85694404Y-55079285D01*
|
||||
X85646785Y-54888809D01*
|
||||
X85646785Y-54745952D01*
|
||||
X85694404Y-54555476D01*
|
||||
X85742023Y-54460238D01*
|
||||
X85837261Y-54365000D01*
|
||||
X85980119Y-54317380D01*
|
||||
X86075357Y-54317380D01*
|
||||
X86218214Y-54365000D01*
|
||||
X86265833Y-54412619D01*
|
||||
X86837261Y-54745952D02*
|
||||
X86742023Y-54698333D01*
|
||||
X86694404Y-54650714D01*
|
||||
X86646785Y-54555476D01*
|
||||
X86646785Y-54507857D01*
|
||||
X86694404Y-54412619D01*
|
||||
X86742023Y-54365000D01*
|
||||
X86837261Y-54317380D01*
|
||||
X87027738Y-54317380D01*
|
||||
X87122976Y-54365000D01*
|
||||
X87170595Y-54412619D01*
|
||||
X87218214Y-54507857D01*
|
||||
X87218214Y-54555476D01*
|
||||
X87170595Y-54650714D01*
|
||||
X87122976Y-54698333D01*
|
||||
X87027738Y-54745952D01*
|
||||
X86837261Y-54745952D01*
|
||||
X86742023Y-54793571D01*
|
||||
X86694404Y-54841190D01*
|
||||
X86646785Y-54936428D01*
|
||||
X86646785Y-55126904D01*
|
||||
X86694404Y-55222142D01*
|
||||
X86742023Y-55269761D01*
|
||||
X86837261Y-55317380D01*
|
||||
X87027738Y-55317380D01*
|
||||
X87122976Y-55269761D01*
|
||||
X87170595Y-55222142D01*
|
||||
X87218214Y-55126904D01*
|
||||
X87218214Y-54936428D01*
|
||||
X87170595Y-54841190D01*
|
||||
X87122976Y-54793571D01*
|
||||
X87027738Y-54745952D01*
|
||||
X80723333Y-55222142D02*
|
||||
X80675714Y-55269761D01*
|
||||
X80532857Y-55317380D01*
|
||||
X80437619Y-55317380D01*
|
||||
X80294761Y-55269761D01*
|
||||
X80199523Y-55174523D01*
|
||||
X80151904Y-55079285D01*
|
||||
X80104285Y-54888809D01*
|
||||
X80104285Y-54745952D01*
|
||||
X80151904Y-54555476D01*
|
||||
X80199523Y-54460238D01*
|
||||
X80294761Y-54365000D01*
|
||||
X80437619Y-54317380D01*
|
||||
X80532857Y-54317380D01*
|
||||
X80675714Y-54365000D01*
|
||||
X80723333Y-54412619D01*
|
||||
X81199523Y-55317380D02*
|
||||
X81390000Y-55317380D01*
|
||||
X81485238Y-55269761D01*
|
||||
X81532857Y-55222142D01*
|
||||
X81628095Y-55079285D01*
|
||||
X81675714Y-54888809D01*
|
||||
X81675714Y-54507857D01*
|
||||
X81628095Y-54412619D01*
|
||||
X81580476Y-54365000D01*
|
||||
X81485238Y-54317380D01*
|
||||
X81294761Y-54317380D01*
|
||||
X81199523Y-54365000D01*
|
||||
X81151904Y-54412619D01*
|
||||
X81104285Y-54507857D01*
|
||||
X81104285Y-54745952D01*
|
||||
X81151904Y-54841190D01*
|
||||
X81199523Y-54888809D01*
|
||||
X81294761Y-54936428D01*
|
||||
X81485238Y-54936428D01*
|
||||
X81580476Y-54888809D01*
|
||||
X81628095Y-54841190D01*
|
||||
X81675714Y-54745952D01*
|
||||
X76630233Y-60218580D02*
|
||||
X76296900Y-59742390D01*
|
||||
X76058804Y-60218580D02*
|
||||
X76058804Y-59218580D01*
|
||||
X76439757Y-59218580D01*
|
||||
X76534995Y-59266200D01*
|
||||
X76582614Y-59313819D01*
|
||||
X76630233Y-59409057D01*
|
||||
X76630233Y-59551914D01*
|
||||
X76582614Y-59647152D01*
|
||||
X76534995Y-59694771D01*
|
||||
X76439757Y-59742390D01*
|
||||
X76058804Y-59742390D01*
|
||||
X77582614Y-60218580D02*
|
||||
X77011185Y-60218580D01*
|
||||
X77296900Y-60218580D02*
|
||||
X77296900Y-59218580D01*
|
||||
X77201661Y-59361438D01*
|
||||
X77106423Y-59456676D01*
|
||||
X77011185Y-59504295D01*
|
||||
X104394095Y-63053980D02*
|
||||
X104394095Y-63863504D01*
|
||||
X104441714Y-63958742D01*
|
||||
X104489333Y-64006361D01*
|
||||
X104584571Y-64053980D01*
|
||||
X104775047Y-64053980D01*
|
||||
X104870285Y-64006361D01*
|
||||
X104917904Y-63958742D01*
|
||||
X104965523Y-63863504D01*
|
||||
X104965523Y-63053980D01*
|
||||
X105965523Y-64053980D02*
|
||||
X105394095Y-64053980D01*
|
||||
X105679809Y-64053980D02*
|
||||
X105679809Y-63053980D01*
|
||||
X105584571Y-63196838D01*
|
||||
X105489333Y-63292076D01*
|
||||
X105394095Y-63339695D01*
|
||||
X111506095Y-55814980D02*
|
||||
X111506095Y-56624504D01*
|
||||
X111553714Y-56719742D01*
|
||||
X111601333Y-56767361D01*
|
||||
X111696571Y-56814980D01*
|
||||
X111887047Y-56814980D01*
|
||||
X111982285Y-56767361D01*
|
||||
X112029904Y-56719742D01*
|
||||
X112077523Y-56624504D01*
|
||||
X112077523Y-55814980D01*
|
||||
X112506095Y-55910219D02*
|
||||
X112553714Y-55862600D01*
|
||||
X112648952Y-55814980D01*
|
||||
X112887047Y-55814980D01*
|
||||
X112982285Y-55862600D01*
|
||||
X113029904Y-55910219D01*
|
||||
X113077523Y-56005457D01*
|
||||
X113077523Y-56100695D01*
|
||||
X113029904Y-56243552D01*
|
||||
X112458476Y-56814980D01*
|
||||
X113077523Y-56814980D01*
|
||||
D11*
|
||||
X105735400Y-65856100D02*
|
||||
X103865400Y-65856100D01*
|
||||
X103865400Y-65856100D02*
|
||||
X103865400Y-69941100D01*
|
||||
X105735400Y-69941100D02*
|
||||
X105735400Y-65856100D01*
|
||||
X92758800Y-56916533D02*
|
||||
X92758800Y-57259067D01*
|
||||
X93778800Y-56916533D02*
|
||||
X93778800Y-57259067D01*
|
||||
X102646267Y-58472800D02*
|
||||
X102303733Y-58472800D01*
|
||||
X102646267Y-57452800D02*
|
||||
X102303733Y-57452800D01*
|
||||
X101445600Y-67797467D02*
|
||||
X101445600Y-67454933D01*
|
||||
X102465600Y-67797467D02*
|
||||
X102465600Y-67454933D01*
|
||||
X90218800Y-62871533D02*
|
||||
X90218800Y-63214067D01*
|
||||
X91238800Y-62871533D02*
|
||||
X91238800Y-63214067D01*
|
||||
X69677500Y-61092000D02*
|
||||
X69677500Y-62022000D01*
|
||||
X69677500Y-61092000D02*
|
||||
X71137500Y-61092000D01*
|
||||
X69677500Y-64252000D02*
|
||||
X71837500Y-64252000D01*
|
||||
X69677500Y-64252000D02*
|
||||
X69677500Y-63322000D01*
|
||||
X114572867Y-62079600D02*
|
||||
X114230333Y-62079600D01*
|
||||
X114572867Y-61059600D02*
|
||||
X114230333Y-61059600D01*
|
||||
X118523867Y-58672000D02*
|
||||
X118181333Y-58672000D01*
|
||||
X118523867Y-59692000D02*
|
||||
X118181333Y-59692000D01*
|
||||
X97707267Y-54053200D02*
|
||||
X97364733Y-54053200D01*
|
||||
X97707267Y-53033200D02*
|
||||
X97364733Y-53033200D01*
|
||||
X94435200Y-55656267D02*
|
||||
X94435200Y-55313733D01*
|
||||
X95455200Y-55656267D02*
|
||||
X95455200Y-55313733D01*
|
||||
X94249000Y-59001000D02*
|
||||
X93799000Y-59001000D01*
|
||||
X101019000Y-59001000D02*
|
||||
X101019000Y-59451000D01*
|
||||
X93799000Y-59001000D02*
|
||||
X93799000Y-59451000D01*
|
||||
X101019000Y-66221000D02*
|
||||
X101019000Y-65771000D01*
|
||||
X94249000Y-66221000D02*
|
||||
X93799000Y-66221000D01*
|
||||
X100569000Y-66221000D02*
|
||||
X101019000Y-66221000D01*
|
||||
X100569000Y-59001000D02*
|
||||
X101019000Y-59001000D01*
|
||||
X93799000Y-59451000D02*
|
||||
X92509000Y-59451000D01*
|
||||
X93799000Y-66221000D02*
|
||||
X93799000Y-65771000D01*
|
||||
X117899333Y-65733200D02*
|
||||
X118241867Y-65733200D01*
|
||||
X117899333Y-66753200D02*
|
||||
X118241867Y-66753200D01*
|
||||
X86171248Y-57225000D02*
|
||||
X86693752Y-57225000D01*
|
||||
X86171248Y-55805000D02*
|
||||
X86693752Y-55805000D01*
|
||||
X80628748Y-55805000D02*
|
||||
X81151252Y-55805000D01*
|
||||
X80628748Y-57225000D02*
|
||||
X81151252Y-57225000D01*
|
||||
X73468400Y-62302636D02*
|
||||
X73468400Y-63506764D01*
|
||||
X76188400Y-62302636D02*
|
||||
X76188400Y-63506764D01*
|
||||
X112390400Y-63456800D02*
|
||||
X108630400Y-63456800D01*
|
||||
X114640400Y-70276800D02*
|
||||
X108630400Y-70276800D01*
|
||||
X108630400Y-63456800D02*
|
||||
X108630400Y-64716800D01*
|
||||
X108630400Y-70276800D02*
|
||||
X108630400Y-69016800D01*
|
||||
X113291200Y-57318000D02*
|
||||
X110341200Y-57318000D01*
|
||||
X111491200Y-60538000D02*
|
||||
X113291200Y-60538000D01*
|
||||
M02*
|
||||
File diff suppressed because it is too large
Load Diff
112
F0:F030,F042,F072/deprecated/usbcan/kicad_new/gerbers/stm32.drl
Normal file
112
F0:F030,F042,F072/deprecated/usbcan/kicad_new/gerbers/stm32.drl
Normal file
@@ -0,0 +1,112 @@
|
||||
M48
|
||||
; DRILL file {KiCad 6.0.5} date Вс 15 янв 2023 17:00:08
|
||||
; FORMAT={-:-/ absolute / metric / decimal}
|
||||
; #@! TF.CreationDate,2023-01-15T17:00:08+03:00
|
||||
; #@! TF.GenerationSoftware,Kicad,Pcbnew,6.0.5
|
||||
; #@! TF.FileFunction,MixedPlating,1,2
|
||||
FMAT,2
|
||||
METRIC
|
||||
; #@! TA.AperFunction,Plated,PTH,ViaDrill
|
||||
T1C0.400
|
||||
; #@! TA.AperFunction,Plated,PTH,ComponentDrill
|
||||
T2C0.500
|
||||
; #@! TA.AperFunction,Plated,PTH,ViaDrill
|
||||
T3C0.600
|
||||
; #@! TA.AperFunction,Plated,PTH,ComponentDrill
|
||||
T4C0.650
|
||||
; #@! TA.AperFunction,Plated,PTH,ComponentDrill
|
||||
T5C0.700
|
||||
; #@! TA.AperFunction,Plated,PTH,ComponentDrill
|
||||
T6C0.800
|
||||
; #@! TA.AperFunction,Plated,PTH,ComponentDrill
|
||||
T7C0.950
|
||||
; #@! TA.AperFunction,Plated,PTH,ComponentDrill
|
||||
T8C1.300
|
||||
; #@! TA.AperFunction,Plated,PTH,ComponentDrill
|
||||
T9C2.300
|
||||
; #@! TA.AperFunction,Plated,PTH,ComponentDrill
|
||||
T10C3.000
|
||||
%
|
||||
G90
|
||||
G05
|
||||
T1
|
||||
X90.526Y-59.995
|
||||
X91.796Y-58.979
|
||||
X94.844Y-65.126
|
||||
X94.996Y-59.817
|
||||
X95.656Y-61.519
|
||||
X96.266Y-60.655
|
||||
X99.957Y-59.926
|
||||
X103.175Y-64.11
|
||||
X103.226Y-60.655
|
||||
X103.937Y-63.551
|
||||
T2
|
||||
X91.084Y-66.954
|
||||
X91.084Y-68.936
|
||||
X93.066Y-66.954
|
||||
X93.066Y-68.936
|
||||
T3
|
||||
X77.013Y-64.364
|
||||
X88.138Y-70.002
|
||||
X90.729Y-65.278
|
||||
X90.983Y-57.963
|
||||
X99.67Y-61.57
|
||||
X100.127Y-53.594
|
||||
X100.279Y-70.028
|
||||
X103.226Y-59.487
|
||||
X104.699Y-57.963
|
||||
X107.391Y-69.85
|
||||
X109.22Y-58.979
|
||||
T4
|
||||
X94.132Y-51.308
|
||||
X95.402Y-51.308
|
||||
X96.672Y-51.308
|
||||
X97.942Y-51.308
|
||||
X99.212Y-51.308
|
||||
X100.482Y-51.308
|
||||
T5
|
||||
X84.836Y-74.066
|
||||
X87.325Y-51.257
|
||||
X87.325Y-74.066
|
||||
X89.814Y-74.066
|
||||
X90.322Y-51.257
|
||||
X92.304Y-74.066
|
||||
X94.793Y-74.066
|
||||
X97.282Y-74.066
|
||||
X99.771Y-74.066
|
||||
X102.26Y-74.066
|
||||
X103.076Y-51.308
|
||||
X105.562Y-51.308
|
||||
X107.188Y-61.773
|
||||
X108.052Y-51.308
|
||||
X109.677Y-61.773
|
||||
X110.541Y-51.308
|
||||
X113.03Y-51.308
|
||||
X123.038Y-51.867
|
||||
X123.19Y-73.508
|
||||
T6
|
||||
X74.828Y-59.131
|
||||
X74.828Y-66.751
|
||||
X79.819Y-58.801
|
||||
X82.359Y-58.801
|
||||
X84.899Y-58.801
|
||||
X87.439Y-58.801
|
||||
T7
|
||||
X117.221Y-61.572
|
||||
X117.221Y-64.072
|
||||
X119.221Y-61.572
|
||||
X119.221Y-64.072
|
||||
T8
|
||||
X66.802Y-57.658
|
||||
X66.802Y-62.658
|
||||
X66.802Y-67.658
|
||||
T9
|
||||
X122.081Y-56.822
|
||||
X122.081Y-68.822
|
||||
T10
|
||||
X74.5Y-53.5
|
||||
X74.5Y-72.0
|
||||
X117.5Y-53.5
|
||||
X117.5Y-72.0
|
||||
T0
|
||||
M30
|
||||
@@ -0,0 +1,18 @@
|
||||
(module B0x0xS (layer F.Cu) (tedit 5EC4EFC6)
|
||||
(fp_text reference REF** (at 0.127 2.286) (layer F.SilkS)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_text value B0x0xS (at 0 -3.048) (layer F.Fab)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_line (start -5.8 0.9) (end 5.8 0.9) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -5.8 -5.1) (end 5.8 -5.1) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -5.8 -5.1) (end -5.8 0.9) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start 5.8 -5.1) (end 5.8 0.9) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -0.381 -5.334) (end -0.381 1.27) (layer F.SilkS) (width 0.15))
|
||||
(fp_line (start 0.381 1.27) (end 0.381 -5.334) (layer F.SilkS) (width 0.15))
|
||||
(pad 1 thru_hole circle (at -3.81 0) (size 1.5 1.5) (drill 0.8) (layers *.Cu *.Mask))
|
||||
(pad 2 thru_hole circle (at -1.27 0) (size 1.5 1.5) (drill 0.8) (layers *.Cu *.Mask))
|
||||
(pad 3 thru_hole circle (at 1.27 0) (size 1.5 1.5) (drill 0.8) (layers *.Cu *.Mask))
|
||||
(pad 4 thru_hole circle (at 3.81 0) (size 1.5 1.5) (drill 0.8) (layers *.Cu *.Mask))
|
||||
)
|
||||
@@ -0,0 +1,9 @@
|
||||
(module Hole_3mm (layer F.Cu) (tedit 5913F6E4)
|
||||
(fp_text reference REF** (at 0 3.81) (layer F.SilkS) hide
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_text value Hole_3mm (at 0 -7.62) (layer F.Fab) hide
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(pad 1 thru_hole circle (at 0 0) (size 5 5) (drill 3) (layers *.Cu *.Mask))
|
||||
)
|
||||
695
F0:F030,F042,F072/deprecated/usbcan/kicad_new/stm32-rescue.lib
Normal file
695
F0:F030,F042,F072/deprecated/usbcan/kicad_new/stm32-rescue.lib
Normal file
@@ -0,0 +1,695 @@
|
||||
EESchema-LIBRARY Version 2.4
|
||||
#encoding utf-8
|
||||
#
|
||||
# +3.3V
|
||||
#
|
||||
DEF +3.3V #PWR 0 0 Y Y 1 F P
|
||||
F0 "#PWR" 0 -150 50 H I C CNN
|
||||
F1 "+3.3V" 0 140 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
DRAW
|
||||
P 2 0 1 0 -30 50 0 100 N
|
||||
P 2 0 1 0 0 0 0 100 N
|
||||
P 2 0 1 0 0 100 30 50 N
|
||||
X +3V3 1 0 0 0 U 50 50 1 1 W N
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# +5V
|
||||
#
|
||||
DEF +5V #PWR 0 0 Y Y 1 F P
|
||||
F0 "#PWR" 0 -150 50 H I C CNN
|
||||
F1 "+5V" 0 140 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
DRAW
|
||||
P 2 0 1 0 -30 50 0 100 N
|
||||
P 2 0 1 0 0 0 0 100 N
|
||||
P 2 0 1 0 0 100 30 50 N
|
||||
X +5V 1 0 0 0 U 50 50 1 1 W N
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# C
|
||||
#
|
||||
DEF C C 0 10 N Y 1 F N
|
||||
F0 "C" 25 100 50 H V L CNN
|
||||
F1 "C" 25 -100 50 H V L CNN
|
||||
F2 "" 38 -150 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
C_*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
P 2 0 1 20 -80 -30 80 -30 N
|
||||
P 2 0 1 20 -80 30 80 30 N
|
||||
X ~ 1 0 150 110 D 50 50 1 1 P
|
||||
X ~ 2 0 -150 110 U 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# CONN_01X01
|
||||
#
|
||||
DEF CONN_01X01 J 0 40 Y N 1 F N
|
||||
F0 "J" 0 100 50 H V C CNN
|
||||
F1 "CONN_01X01" 100 0 50 V V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
Pin_Header_Straight_1X*
|
||||
Pin_Header_Angled_1X*
|
||||
Socket_Strip_Straight_1X*
|
||||
Socket_Strip_Angled_1X*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -50 5 10 -5 0 1 0 N
|
||||
S -50 50 50 -50 0 1 0 N
|
||||
X P1 1 -200 0 150 R 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# CONN_01X03
|
||||
#
|
||||
DEF CONN_01X03 J 0 40 Y N 1 F N
|
||||
F0 "J" 0 200 50 H V C CNN
|
||||
F1 "CONN_01X03" 100 0 50 V V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
Pin_Header_Straight_1X*
|
||||
Pin_Header_Angled_1X*
|
||||
Socket_Strip_Straight_1X*
|
||||
Socket_Strip_Angled_1X*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -50 -95 10 -105 0 1 0 N
|
||||
S -50 5 10 -5 0 1 0 N
|
||||
S -50 105 10 95 0 1 0 N
|
||||
S -50 150 50 -150 0 1 0 N
|
||||
X P1 1 -200 100 150 R 50 50 1 1 P
|
||||
X P2 2 -200 0 150 R 50 50 1 1 P
|
||||
X P3 3 -200 -100 150 R 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# CONN_02X03
|
||||
#
|
||||
DEF CONN_02X03 J 0 1 Y N 1 F N
|
||||
F0 "J" 0 200 50 H V C CNN
|
||||
F1 "CONN_02X03" 0 -200 50 H V C CNN
|
||||
F2 "" 0 -1200 50 H I C CNN
|
||||
F3 "" 0 -1200 50 H I C CNN
|
||||
$FPLIST
|
||||
Pin_Header_Straight_2X*
|
||||
Pin_Header_Angled_2X*
|
||||
Socket_Strip_Straight_2X*
|
||||
Socket_Strip_Angled_2X*
|
||||
IDC_Header_Straight_*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -100 -95 -50 -105 0 1 0 N
|
||||
S -100 5 -50 -5 0 1 0 N
|
||||
S -100 105 -50 95 0 1 0 N
|
||||
S -100 150 100 -150 0 1 0 N
|
||||
S 50 -95 100 -105 0 1 0 N
|
||||
S 50 5 100 -5 0 1 0 N
|
||||
S 50 105 100 95 0 1 0 N
|
||||
X P1 1 -250 100 150 R 50 50 1 1 P
|
||||
X P2 2 250 100 150 L 50 50 1 1 P
|
||||
X P3 3 -250 0 150 R 50 50 1 1 P
|
||||
X P4 4 250 0 150 L 50 50 1 1 P
|
||||
X P5 5 -250 -100 150 R 50 50 1 1 P
|
||||
X P6 6 250 -100 150 L 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# CP
|
||||
#
|
||||
DEF CP C 0 10 N Y 1 F N
|
||||
F0 "C" 25 100 50 H V L CNN
|
||||
F1 "CP" 25 -100 50 H V L CNN
|
||||
F2 "" 38 -150 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
CP_*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -90 20 -90 40 0 1 0 N
|
||||
S -90 20 90 20 0 1 0 N
|
||||
S 90 -20 -90 -40 0 1 0 F
|
||||
S 90 40 -90 40 0 1 0 N
|
||||
S 90 40 90 20 0 1 0 N
|
||||
P 2 0 1 0 -70 90 -30 90 N
|
||||
P 2 0 1 0 -50 110 -50 70 N
|
||||
X ~ 1 0 150 110 D 50 50 1 1 P
|
||||
X ~ 2 0 -150 110 U 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# Conn_01x01
|
||||
#
|
||||
DEF Conn_01x01 J 0 40 Y N 1 F N
|
||||
F0 "J" 0 100 50 H V C CNN
|
||||
F1 "Conn_01x01" 0 -100 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
Connector*:*_??x*mm*
|
||||
Connector*:*1x??x*mm*
|
||||
Pin?Header?Straight?1X*
|
||||
Pin?Header?Angled?1X*
|
||||
Socket?Strip?Straight?1X*
|
||||
Socket?Strip?Angled?1X*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -50 5 0 -5 1 1 6 N
|
||||
S -50 50 50 -50 1 1 10 f
|
||||
X Pin_1 1 -200 0 150 R 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# Conn_01x02
|
||||
#
|
||||
DEF Conn_01x02 J 0 40 Y N 1 F N
|
||||
F0 "J" 0 100 50 H V C CNN
|
||||
F1 "Conn_01x02" 0 -200 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
Connector*:*_??x*mm*
|
||||
Connector*:*1x??x*mm*
|
||||
Pin?Header?Straight?1X*
|
||||
Pin?Header?Angled?1X*
|
||||
Socket?Strip?Straight?1X*
|
||||
Socket?Strip?Angled?1X*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -50 -95 0 -105 1 1 6 N
|
||||
S -50 5 0 -5 1 1 6 N
|
||||
S -50 50 50 -150 1 1 10 f
|
||||
X Pin_1 1 -200 0 150 R 50 50 1 1 P
|
||||
X Pin_2 2 -200 -100 150 R 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# Conn_01x07
|
||||
#
|
||||
DEF Conn_01x07 J 0 40 Y N 1 F N
|
||||
F0 "J" 0 400 50 H V C CNN
|
||||
F1 "Conn_01x07" 0 -400 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
Connector*:*_??x*mm*
|
||||
Connector*:*1x??x*mm*
|
||||
Pin?Header?Straight?1X*
|
||||
Pin?Header?Angled?1X*
|
||||
Socket?Strip?Straight?1X*
|
||||
Socket?Strip?Angled?1X*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -50 -295 0 -305 1 1 6 N
|
||||
S -50 -195 0 -205 1 1 6 N
|
||||
S -50 -95 0 -105 1 1 6 N
|
||||
S -50 5 0 -5 1 1 6 N
|
||||
S -50 105 0 95 1 1 6 N
|
||||
S -50 205 0 195 1 1 6 N
|
||||
S -50 305 0 295 1 1 6 N
|
||||
S -50 350 50 -350 1 1 10 f
|
||||
X Pin_1 1 -200 300 150 R 50 50 1 1 P
|
||||
X Pin_2 2 -200 200 150 R 50 50 1 1 P
|
||||
X Pin_3 3 -200 100 150 R 50 50 1 1 P
|
||||
X Pin_4 4 -200 0 150 R 50 50 1 1 P
|
||||
X Pin_5 5 -200 -100 150 R 50 50 1 1 P
|
||||
X Pin_6 6 -200 -200 150 R 50 50 1 1 P
|
||||
X Pin_7 7 -200 -300 150 R 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# DB9_Female
|
||||
#
|
||||
DEF DB9_Female J 0 40 Y N 1 F N
|
||||
F0 "J" 0 550 50 H V C CNN
|
||||
F1 "DB9_Female" 0 -575 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
DB*F*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
C -70 -400 30 0 1 0 N
|
||||
C -70 -200 30 0 1 0 N
|
||||
C -70 0 30 0 1 0 N
|
||||
C -70 200 30 0 1 0 N
|
||||
C -70 400 30 0 1 0 N
|
||||
C 50 -300 30 0 1 0 N
|
||||
C 50 -100 30 0 1 0 N
|
||||
C 50 100 30 0 1 0 N
|
||||
C 50 300 30 0 1 0 N
|
||||
P 2 0 1 0 -150 -400 -100 -400 N
|
||||
P 2 0 1 0 -150 -300 20 -300 N
|
||||
P 2 0 1 0 -150 -200 -100 -200 N
|
||||
P 2 0 1 0 -150 -100 20 -100 N
|
||||
P 2 0 1 0 -150 0 -100 0 N
|
||||
P 2 0 1 0 -150 100 20 100 N
|
||||
P 2 0 1 0 -150 200 -100 200 N
|
||||
P 2 0 1 0 -150 300 20 300 N
|
||||
P 2 0 1 0 -150 400 -100 400 N
|
||||
P 5 0 1 10 -150 525 -150 -525 150 -375 150 375 -150 525 f
|
||||
X 1 1 -300 400 150 R 50 50 1 1 P
|
||||
X 2 2 -300 200 150 R 50 50 1 1 P
|
||||
X 3 3 -300 0 150 R 50 50 1 1 P
|
||||
X 4 4 -300 -200 150 R 50 50 1 1 P
|
||||
X 5 5 -300 -400 150 R 50 50 1 1 P
|
||||
X 6 6 -300 300 150 R 50 50 1 1 P
|
||||
X 7 7 -300 100 150 R 50 50 1 1 P
|
||||
X 8 8 -300 -100 150 R 50 50 1 1 P
|
||||
X 9 9 -300 -300 150 R 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# DB9_Male
|
||||
#
|
||||
DEF DB9_Male J 0 40 Y N 1 F N
|
||||
F0 "J" 0 550 50 H V C CNN
|
||||
F1 "DB9_Male" 0 -575 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
DB*M*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
C -70 -400 30 0 1 0 F
|
||||
C -70 -200 30 0 1 0 F
|
||||
C -70 0 30 0 1 0 F
|
||||
C -70 200 30 0 1 0 F
|
||||
C -70 400 30 0 1 0 F
|
||||
C 50 -300 30 0 1 0 F
|
||||
C 50 -100 30 0 1 0 F
|
||||
C 50 100 30 0 1 0 F
|
||||
C 50 300 30 0 1 0 F
|
||||
P 2 0 1 0 -150 -400 -100 -400 N
|
||||
P 2 0 1 0 -150 -300 20 -300 N
|
||||
P 2 0 1 0 -150 -200 -100 -200 N
|
||||
P 2 0 1 0 -150 -100 20 -100 N
|
||||
P 2 0 1 0 -150 0 -100 0 N
|
||||
P 2 0 1 0 -150 100 20 100 N
|
||||
P 2 0 1 0 -150 200 -100 200 N
|
||||
P 2 0 1 0 -150 300 20 300 N
|
||||
P 2 0 1 0 -150 400 -100 400 N
|
||||
P 5 0 1 10 -150 -525 -150 525 150 375 150 -375 -150 -525 f
|
||||
X 1 1 -300 -400 150 R 50 50 1 1 P
|
||||
X 2 2 -300 -200 150 R 50 50 1 1 P
|
||||
X 3 3 -300 0 150 R 50 50 1 1 P
|
||||
X 4 4 -300 200 150 R 50 50 1 1 P
|
||||
X 5 5 -300 400 150 R 50 50 1 1 P
|
||||
X 6 6 -300 -300 150 R 50 50 1 1 P
|
||||
X 7 7 -300 -100 150 R 50 50 1 1 P
|
||||
X 8 8 -300 100 150 R 50 50 1 1 P
|
||||
X 9 9 -300 300 150 R 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# D_Schottky
|
||||
#
|
||||
DEF D_Schottky D 0 40 N N 1 F N
|
||||
F0 "D" 0 100 50 H V C CNN
|
||||
F1 "D_Schottky" 0 -100 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
TO-???*
|
||||
*SingleDiode
|
||||
*_Diode_*
|
||||
*SingleDiode*
|
||||
D_*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
P 2 0 1 0 50 0 -50 0 N
|
||||
P 4 0 1 8 50 50 50 -50 -50 0 50 50 N
|
||||
P 6 0 1 8 -75 25 -75 50 -50 50 -50 -50 -25 -50 -25 -25 N
|
||||
X K 1 -150 0 100 R 50 50 1 1 P
|
||||
X A 2 150 0 100 L 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# D_Zener
|
||||
#
|
||||
DEF D_Zener D 0 40 N N 1 F N
|
||||
F0 "D" 0 100 50 H V C CNN
|
||||
F1 "D_Zener" 0 -100 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
TO-???*
|
||||
*SingleDiode
|
||||
*_Diode_*
|
||||
*SingleDiode*
|
||||
D_*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
P 2 0 1 0 50 0 -50 0 N
|
||||
P 3 0 1 8 -50 -50 -50 50 -30 50 N
|
||||
P 4 0 1 8 50 -50 50 50 -50 0 50 -50 N
|
||||
X K 1 -150 0 100 R 50 50 1 1 P
|
||||
X A 2 150 0 100 L 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# GND
|
||||
#
|
||||
DEF GND #PWR 0 0 Y Y 1 F P
|
||||
F0 "#PWR" 0 -250 50 H I C CNN
|
||||
F1 "GND" 0 -150 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
DRAW
|
||||
P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
|
||||
X GND 1 0 0 0 D 50 50 1 1 W N
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# Jumper_NO_Small
|
||||
#
|
||||
DEF Jumper_NO_Small JP 0 30 N N 1 F N
|
||||
F0 "JP" 0 80 50 H V C CNN
|
||||
F1 "Jumper_NO_Small" 10 -60 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
DRAW
|
||||
C -40 0 20 0 1 0 N
|
||||
C 40 0 20 0 1 0 N
|
||||
X 1 1 -100 0 40 R 50 50 0 1 P
|
||||
X 2 2 100 0 40 L 50 50 0 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# LED-RESCUE-stm32
|
||||
#
|
||||
DEF LED-RESCUE-stm32 D 0 40 Y N 1 F N
|
||||
F0 "D" 0 100 50 H V C CNN
|
||||
F1 "LED-RESCUE-stm32" 0 -100 50 H V C CNN
|
||||
F2 "" 0 0 50 H V C CNN
|
||||
F3 "" 0 0 50 H V C CNN
|
||||
$FPLIST
|
||||
LED*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
P 2 0 1 8 -50 -50 -50 50 N
|
||||
P 2 0 1 0 -50 0 50 0 N
|
||||
P 4 0 1 8 50 -50 50 50 -50 0 50 -50 N
|
||||
P 5 0 1 0 -120 -30 -180 -90 -150 -90 -180 -90 -180 -60 N
|
||||
P 5 0 1 0 -70 -30 -130 -90 -100 -90 -130 -90 -130 -60 N
|
||||
X K 1 -150 0 100 R 50 50 1 1 P
|
||||
X A 2 150 0 100 L 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# LM1117-3.3-RESCUE-stm32
|
||||
#
|
||||
DEF LM1117-3.3-RESCUE-stm32 U 0 30 Y Y 1 F N
|
||||
F0 "U" 100 -250 50 H V C CNN
|
||||
F1 "LM1117-3.3-RESCUE-stm32" 0 250 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
SOT-223*
|
||||
TO-263*
|
||||
TO-252*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -200 -200 200 200 0 1 10 f
|
||||
X GND/ADJ 1 0 -300 100 U 50 50 1 1 W
|
||||
X VO 2 300 50 100 L 50 50 1 1 P
|
||||
X VI 3 -300 0 100 R 50 50 1 1 W
|
||||
X VO 4 300 -50 100 L 50 50 1 1 w
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# MAX471-RESCUE-stm32
|
||||
#
|
||||
DEF MAX471-RESCUE-stm32 U 0 40 Y Y 1 F N
|
||||
F0 "U" -300 350 50 H V L CNN
|
||||
F1 "MAX471-RESCUE-stm32" -300 -350 50 H V L CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
DRAW
|
||||
S -300 300 300 -300 0 1 10 f
|
||||
X SHDN 1 -400 -100 100 R 50 50 1 1 I
|
||||
X RS+ 2 -400 200 100 R 50 50 1 1 W
|
||||
X RS+ 3 -400 100 100 R 50 50 1 1 P
|
||||
X GND 4 -400 -200 100 R 50 50 1 1 W
|
||||
X SIGN 5 400 -100 100 L 50 50 1 1 C
|
||||
X RS- 6 400 200 100 L 50 50 1 1 w
|
||||
X RS- 7 400 100 100 L 50 50 1 1 P
|
||||
X OUT 8 400 -200 100 L 50 50 1 1 O
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# MCP2551-I_SN
|
||||
#
|
||||
DEF MCP2551-I_SN U 0 40 Y Y 1 F N
|
||||
F0 "U" -400 350 50 H V L CNN
|
||||
F1 "MCP2551-I_SN" 100 350 50 H V L CNN
|
||||
F2 "Housings_SOIC:SOIC-8_3.9x4.9mm_Pitch1.27mm" 0 -500 50 H I C CIN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
SOIC*Pitch1.27mm*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -400 300 400 -300 0 1 10 f
|
||||
X TXD 1 -500 200 100 R 50 50 1 1 I
|
||||
X VSS 2 0 -400 100 U 50 50 1 1 W
|
||||
X VDD 3 0 400 100 D 50 50 1 1 W
|
||||
X RXD 4 -500 100 100 R 50 50 1 1 O
|
||||
X Vref 5 -500 -100 100 R 50 50 1 1 w
|
||||
X CANL 6 500 -100 100 L 50 50 1 1 B
|
||||
X CANH 7 500 100 100 L 50 50 1 1 B
|
||||
X Rs 8 -500 -200 100 R 50 50 1 1 I
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# PWR_FLAG
|
||||
#
|
||||
DEF PWR_FLAG #FLG 0 0 N N 1 F P
|
||||
F0 "#FLG" 0 75 50 H I C CNN
|
||||
F1 "PWR_FLAG" 0 150 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
DRAW
|
||||
P 6 0 1 0 0 0 0 50 -40 75 0 100 40 75 0 50 N
|
||||
X pwr 1 0 0 0 U 50 50 0 0 w
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# Q_NMOS_GSD
|
||||
#
|
||||
DEF Q_NMOS_GSD Q 0 0 Y N 1 F N
|
||||
F0 "Q" 200 50 50 H V L CNN
|
||||
F1 "Q_NMOS_GSD" 200 -50 50 H V L CNN
|
||||
F2 "" 200 100 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
DRAW
|
||||
C 65 0 111 0 1 10 N
|
||||
C 100 -70 11 0 1 0 F
|
||||
C 100 70 11 0 1 0 F
|
||||
P 2 0 1 0 2 0 10 0 N
|
||||
P 2 0 1 0 30 -70 100 -70 N
|
||||
P 2 0 1 10 30 -50 30 -90 N
|
||||
P 2 0 1 0 30 0 100 0 N
|
||||
P 2 0 1 10 30 20 30 -20 N
|
||||
P 2 0 1 0 30 70 100 70 N
|
||||
P 2 0 1 10 30 90 30 50 N
|
||||
P 2 0 1 0 100 -70 100 -100 N
|
||||
P 2 0 1 0 100 -70 100 0 N
|
||||
P 2 0 1 0 100 100 100 70 N
|
||||
P 3 0 1 10 10 75 10 -75 10 -75 N
|
||||
P 4 0 1 0 40 0 80 15 80 -15 40 0 F
|
||||
P 4 0 1 0 100 -70 130 -70 130 70 100 70 N
|
||||
P 4 0 1 0 110 20 115 15 145 15 150 10 N
|
||||
P 4 0 1 0 130 15 115 -10 145 -10 130 15 N
|
||||
X G 1 -200 0 200 R 50 50 1 1 I
|
||||
X S 2 100 -200 100 U 50 50 1 1 P
|
||||
X D 3 100 200 100 D 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# Q_PMOS_GSD
|
||||
#
|
||||
DEF Q_PMOS_GSD Q 0 0 Y N 1 F N
|
||||
F0 "Q" 200 50 50 H V L CNN
|
||||
F1 "Q_PMOS_GSD" 200 -50 50 H V L CNN
|
||||
F2 "" 200 100 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
DRAW
|
||||
C 65 0 111 0 1 10 N
|
||||
C 100 -70 11 0 1 0 F
|
||||
C 100 70 11 0 1 0 F
|
||||
P 2 0 1 0 2 0 10 0 N
|
||||
P 2 0 1 0 30 -70 100 -70 N
|
||||
P 2 0 1 10 30 -50 30 -90 N
|
||||
P 2 0 1 0 30 0 100 0 N
|
||||
P 2 0 1 10 30 20 30 -20 N
|
||||
P 2 0 1 0 30 70 100 70 N
|
||||
P 2 0 1 10 30 90 30 50 N
|
||||
P 2 0 1 0 100 -70 100 -100 N
|
||||
P 2 0 1 0 100 -70 100 0 N
|
||||
P 2 0 1 0 100 100 100 70 N
|
||||
P 3 0 1 10 10 75 10 -75 10 -75 N
|
||||
P 4 0 1 0 90 0 50 -15 50 15 90 0 F
|
||||
P 4 0 1 0 100 -70 130 -70 130 70 100 70 N
|
||||
P 4 0 1 0 110 -20 115 -15 145 -15 150 -10 N
|
||||
P 4 0 1 0 130 -15 115 10 145 10 130 -15 N
|
||||
X G 1 -200 0 200 R 50 50 1 1 I
|
||||
X S 2 100 -200 100 U 50 50 1 1 P
|
||||
X D 3 100 200 100 D 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# R
|
||||
#
|
||||
DEF R R 0 0 N Y 1 F N
|
||||
F0 "R" 80 0 50 V V C CNN
|
||||
F1 "R" 0 0 50 V V C CNN
|
||||
F2 "" -70 0 50 V I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
R_*
|
||||
R_*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -40 -100 40 100 0 1 10 N
|
||||
X ~ 1 0 150 50 D 50 50 1 1 P
|
||||
X ~ 2 0 -150 50 U 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# SP0502BAHT
|
||||
#
|
||||
DEF SP0502BAHT D 0 40 Y N 1 F N
|
||||
F0 "D" 225 100 50 H V L CNN
|
||||
F1 "SP0502BAHT" 225 25 50 H V L CNN
|
||||
F2 "TO_SOT_Packages_SMD:SOT-23" 225 -50 50 H I L CNN
|
||||
F3 "" 125 125 50 H I C CNN
|
||||
$FPLIST
|
||||
SOT?23*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -175 100 175 -100 0 1 10 f
|
||||
P 2 0 1 0 -100 100 -100 50 N
|
||||
P 2 0 1 0 0 -50 0 -100 N
|
||||
P 2 0 1 0 100 100 100 50 N
|
||||
P 4 0 1 0 -150 75 -125 50 -75 50 -50 25 N
|
||||
P 4 0 1 0 -100 0 -100 -50 100 -50 100 0 N
|
||||
P 4 0 1 0 -100 50 -75 0 -125 0 -100 50 F
|
||||
P 4 0 1 0 50 75 75 50 125 50 150 25 N
|
||||
P 4 0 1 0 100 50 75 0 125 0 100 50 F
|
||||
X A 3 0 -200 100 U 50 50 0 0 I
|
||||
X K 1 -100 200 100 D 50 50 1 1 I
|
||||
X K 2 100 200 100 D 50 50 1 1 I
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# STM32F042C6Tx
|
||||
#
|
||||
DEF STM32F042C6Tx U 0 40 Y Y 1 L N
|
||||
F0 "U" -3000 1725 50 H V L BNN
|
||||
F1 "STM32F042C6Tx" 3000 1725 50 H V R BNN
|
||||
F2 "LQFP48" 3000 1675 50 H V R TNN
|
||||
F3 "" 0 0 50 H V C CNN
|
||||
DRAW
|
||||
S -3000 -1700 3000 1700 0 1 10 f
|
||||
X VBAT 1 -3100 1100 100 R 50 50 1 1 W
|
||||
X ADC_IN0/RTC_TAMP2/SYS_WKUP1/TIM2_CH1/TIM2_ETR/TSC_G1_IO1/USART2_CTS/PA0 10 3100 100 100 L 50 50 1 1 B
|
||||
X ADC_IN1/TIM2_CH2/TSC_G1_IO2/USART2_DE/USART2_RTS/PA1 11 3100 0 100 L 50 50 1 1 B
|
||||
X ADC_IN2/SYS_WKUP4/TIM2_CH3/TSC_G1_IO3/USART2_TX/PA2 12 3100 -100 100 L 50 50 1 1 B
|
||||
X ADC_IN3/TIM2_CH4/TSC_G1_IO4/USART2_RX/PA3 13 3100 -200 100 L 50 50 1 1 B
|
||||
X ADC_IN4/I2S1_WS/SPI1_NSS/TIM14_CH1/TSC_G2_IO1/USART2_CK/USB_OE/PA4 14 3100 -300 100 L 50 50 1 1 B
|
||||
X ADC_IN5/CEC/I2S1_CK/SPI1_SCK/TIM2_CH1/TIM2_ETR/TSC_G2_IO2/PA5 15 3100 -400 100 L 50 50 1 1 B
|
||||
X ADC_IN6/I2S1_MCK/SPI1_MISO/TIM16_CH1/TIM1_BKIN/TIM3_CH1/TSC_G2_IO3/PA6 16 3100 -500 100 L 50 50 1 1 B
|
||||
X ADC_IN7/I2S1_SD/SPI1_MOSI/TIM14_CH1/TIM17_CH1/TIM1_CH1N/TIM3_CH2/TSC_G2_IO4/PA7 17 3100 -600 100 L 50 50 1 1 B
|
||||
X PB0/ADC_IN8/TIM1_CH2N/TIM3_CH3/TSC_G3_IO2 18 -3100 100 100 R 50 50 1 1 B
|
||||
X PB1/ADC_IN9/TIM14_CH1/TIM1_CH3N/TIM3_CH4/TSC_G3_IO3 19 -3100 0 100 R 50 50 1 1 B
|
||||
X PC13/RTC_OUT_ALARM/RTC_OUT_CALIB/RTC_TAMP1/RTC_TS/SYS_WKUP2 2 -3100 500 100 R 50 50 1 1 B
|
||||
X PB2/TSC_G3_IO4 20 -3100 -100 100 R 50 50 1 1 B
|
||||
X PB10/CEC/I2C1_SCL/SPI2_SCK/TIM2_CH3/TSC_SYNC 21 -3100 -900 100 R 50 50 1 1 B
|
||||
X PB11/I2C1_SDA/TIM2_CH4 22 -3100 -1000 100 R 50 50 1 1 B
|
||||
X VSS 23 -200 -1800 100 U 50 50 1 1 W
|
||||
X VDD 24 -200 1800 100 D 50 50 1 1 W
|
||||
X PB12/SPI2_NSS/TIM1_BKIN 25 -3100 -1100 100 R 50 50 1 1 B
|
||||
X PB13/I2C1_SCL/SPI2_SCK/TIM1_CH1N 26 -3100 -1200 100 R 50 50 1 1 B
|
||||
X PB14/I2C1_SDA/SPI2_MISO/TIM1_CH2N 27 -3100 -1300 100 R 50 50 1 1 B
|
||||
X PB15/RTC_REFIN/SPI2_MOSI/SYS_WKUP7/TIM1_CH3N 28 -3100 -1400 100 R 50 50 1 1 B
|
||||
X CRS_SYNC/RCC_MCO/TIM1_CH1/USART1_CK/PA8 29 3100 -700 100 L 50 50 1 1 B
|
||||
X PC14/RCC_OSC32_IN 3 -3100 400 100 R 50 50 1 1 B
|
||||
X I2C1_SCL/TIM1_CH2/TSC_G4_IO1/USART1_TX/PA9 30 3100 -800 100 L 50 50 1 1 B
|
||||
X I2C1_SDA/TIM17_BKIN/TIM1_CH3/TSC_G4_IO2/USART1_RX/PA10 31 3100 -900 100 L 50 50 1 1 B
|
||||
X CAN_RX/I2C1_SCL/TIM1_CH4/TSC_G4_IO3/USART1_CTS/USB_DM/PA11 32 3100 -1000 100 L 50 50 1 1 B
|
||||
X CAN_TX/I2C1_SDA/TIM1_ETR/TSC_G4_IO4/USART1_DE/USART1_RTS/USB_DP/PA12 33 3100 -1100 100 L 50 50 1 1 B
|
||||
X IR_OUT/SYS_SWDIO/USB_OE/PA13 34 3100 -1200 100 L 50 50 1 1 B
|
||||
X VSS 35 -100 -1800 100 U 50 50 1 1 W
|
||||
X VDDIO2 36 100 1800 100 D 50 50 1 1 W
|
||||
X SYS_SWCLK/USART2_TX/PA14 37 3100 -1300 100 L 50 50 1 1 B
|
||||
X I2S1_WS/SPI1_NSS/TIM2_CH1/TIM2_ETR/USART2_RX/USB_OE/PA15 38 3100 -1400 100 L 50 50 1 1 B
|
||||
X PB3/I2S1_CK/SPI1_SCK/TIM2_CH2/TSC_G5_IO1 39 -3100 -200 100 R 50 50 1 1 B
|
||||
X PC15/RCC_OSC32_OUT 4 -3100 300 100 R 50 50 1 1 B
|
||||
X PB4/I2S1_MCK/SPI1_MISO/TIM17_BKIN/TIM3_CH1/TSC_G5_IO2 40 -3100 -300 100 R 50 50 1 1 B
|
||||
X PB5/I2C1_SMBA/I2S1_SD/SPI1_MOSI/SYS_WKUP6/TIM16_BKIN/TIM3_CH2 41 -3100 -400 100 R 50 50 1 1 B
|
||||
X PB6/I2C1_SCL/TIM16_CH1N/TSC_G5_IO3/USART1_TX 42 -3100 -500 100 R 50 50 1 1 B
|
||||
X PB7/I2C1_SDA/TIM17_CH1N/TSC_G5_IO4/USART1_RX 43 -3100 -600 100 R 50 50 1 1 B
|
||||
X PF11 44 -3100 700 100 R 50 50 1 1 B
|
||||
X PB8/CAN_RX/CEC/I2C1_SCL/TIM16_CH1/TSC_SYNC 45 -3100 -700 100 R 50 50 1 1 B
|
||||
X PB9/CAN_TX/I2C1_SDA/IR_OUT/SPI2_NSS/TIM17_CH1 46 -3100 -800 100 R 50 50 1 1 B
|
||||
X VSS 47 0 -1800 100 U 50 50 1 1 W
|
||||
X VDD 48 -100 1800 100 D 50 50 1 1 W
|
||||
X PF0/CRS_SYNC/I2C1_SDA/RCC_OSC_IN 5 -3100 900 100 R 50 50 1 1 I
|
||||
X PF1/I2C1_SCL/RCC_OSC_OUT 6 -3100 800 100 R 50 50 1 1 I
|
||||
X NRST 7 -3100 1300 100 R 50 50 1 1 I
|
||||
X VSSA 8 100 -1800 100 U 50 50 1 1 W
|
||||
X VDDA 9 0 1800 100 D 50 50 1 1 W
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# SW_Push
|
||||
#
|
||||
DEF SW_Push SW 0 40 N N 1 F N
|
||||
F0 "SW" 50 100 50 H V L CNN
|
||||
F1 "SW_Push" 0 -60 50 H V C CNN
|
||||
F2 "" 0 200 50 H I C CNN
|
||||
F3 "" 0 200 50 H I C CNN
|
||||
DRAW
|
||||
C -80 0 20 0 1 0 N
|
||||
C 80 0 20 0 1 0 N
|
||||
P 2 0 1 0 0 50 0 120 N
|
||||
P 2 0 1 0 100 50 -100 50 N
|
||||
X 1 1 -200 0 100 R 50 50 0 1 P
|
||||
X 2 2 200 0 100 L 50 50 0 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# USB_A-RESCUE-stm32
|
||||
#
|
||||
DEF USB_A-RESCUE-stm32 P 0 40 Y Y 1 F N
|
||||
F0 "P" 200 -200 50 H V C CNN
|
||||
F1 "USB_A-RESCUE-stm32" -50 200 50 H V C CNN
|
||||
F2 "" -50 -100 50 V V C CNN
|
||||
F3 "" -50 -100 50 V V C CNN
|
||||
$FPLIST
|
||||
USB*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -250 -150 150 150 0 1 0 N
|
||||
S -205 -150 -195 -120 0 1 0 N
|
||||
S -105 -150 -95 -120 0 1 0 N
|
||||
S -5 -150 5 -120 0 1 0 N
|
||||
S 95 -150 105 -120 0 1 0 N
|
||||
X VBUS 1 -200 -300 150 U 50 50 1 1 W
|
||||
X D- 2 -100 -300 150 U 50 50 1 1 P
|
||||
X D+ 3 0 -300 150 U 50 50 1 1 P
|
||||
X GND 4 100 -300 150 U 50 50 1 1 W
|
||||
X shield 5 300 100 150 L 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
#End Library
|
||||
67
F0:F030,F042,F072/deprecated/usbcan/kicad_new/stm32.csv
Normal file
67
F0:F030,F042,F072/deprecated/usbcan/kicad_new/stm32.csv
Normal file
@@ -0,0 +1,67 @@
|
||||
"Source:","/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.kicad_sch"
|
||||
"Date:","Пт 23 сен 2022 11:34:14"
|
||||
"Tool:","Eeschema 6.0.5"
|
||||
"Generator:","/usr/local/share/kicad/plugins/bom_csv_grouped_by_value.py"
|
||||
"Component Count:","32"
|
||||
|
||||
"Individual Components:"
|
||||
|
||||
"Item","Qty","Reference(s)","Value","LibPart","Footprint","Datasheet"
|
||||
"","","C1","47u","stm32-rescue:CP","Capacitor_Tantalum_SMD:CP_EIA-3216-18_Kemet-A_Pad1.58x1.35mm_HandSolder",""
|
||||
"","","C2","0.1","stm32-rescue:C","Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder",""
|
||||
"","","C3","0.1","stm32-rescue:C","Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder",""
|
||||
"","","C4","0.1","stm32-rescue:C","Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder",""
|
||||
"","","C5","0.1","stm32-rescue:C","Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder",""
|
||||
"","","C6","0.1","stm32-rescue:C","Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder",""
|
||||
"","","C7","0.1","stm32-rescue:C","Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder",""
|
||||
"","","C8","1","stm32-rescue:C","Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder",""
|
||||
"","","C9","1","stm32-rescue:C","Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder",""
|
||||
"","","D1","PESD1CAN","elements:PESD1CAN","TO_SOT_Packages_SMD:SOT-23",""
|
||||
"","","D2","USB6B1","elements:USB6B1","Package_SO:SOIC-8_3.9x4.9mm_P1.27mm",""
|
||||
"","","D3","LED0","stm32-rescue:LED-RESCUE-stm32","LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder",""
|
||||
"","","D4","LED1","stm32-rescue:LED-RESCUE-stm32","LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder",""
|
||||
"","","J1","Screw_Terminal_01x03","Connector:Screw_Terminal_01x03","TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-3_1x03_P5.00mm_Horizontal","~"
|
||||
"","","J3","SWDetc","Connector:Conn_01x06_Female","Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical","~"
|
||||
"","","J4","USB_B","Connector:USB_B","Connectors_USB:USB_B_OST_USB-B1HSxx_Horizontal"," ~"
|
||||
"","","P1","Hole","stm32-rescue:CONN_01X01","my_footprints:Hole_3mm",""
|
||||
"","","P2","Hole","stm32-rescue:CONN_01X01","my_footprints:Hole_3mm",""
|
||||
"","","P3","Hole","stm32-rescue:CONN_01X01","my_footprints:Hole_3mm",""
|
||||
"","","P4","Hole","stm32-rescue:CONN_01X01","my_footprints:Hole_3mm",""
|
||||
"","","Q1","B0505S","elements:B0505S","my_footprints:B0x0xS",""
|
||||
"","","R1","120","stm32-rescue:R","Resistor_SMD:R_1210_3225Metric_Pad1.42x2.65mm_HandSolder",""
|
||||
"","","R3","22","stm32-rescue:R","Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder",""
|
||||
"","","R4","22","stm32-rescue:R","Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder",""
|
||||
"","","R5","10k","stm32-rescue:R","Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder",""
|
||||
"","","R6","22","stm32-rescue:R","Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder",""
|
||||
"","","R7","330","stm32-rescue:R","Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder",""
|
||||
"","","R8","330","stm32-rescue:R","Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder",""
|
||||
"","","SW1","SW_DIP_x01","Switch:SW_DIP_x01","Button_Switch_THT:SW_DIP_SPSTx01_Slide_6.7x4.1mm_W7.62mm_P2.54mm_LowProfile","~"
|
||||
"","","U1","LM1117-3.3","Regulator_Linear:LM1117-3.3","TO_SOT_Packages_SMD:SOT-223-3_TabPin2","http://www.ti.com/lit/ds/symlink/lm1117.pdf"
|
||||
"","","U3","STM32F072C8Tx","MCU_ST_STM32F0:STM32F072C8Tx","Package_QFP:LQFP-48_7x7mm_P0.5mm","http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00090510.pdf"
|
||||
"","","U4","ISO1050DUB","Interface_CAN_LIN:ISO1050DUB","Package_SO:SOP-8_6.62x9.15mm_P2.54mm","http://www.ti.com/lit/ds/symlink/iso1050.pdf"
|
||||
|
||||
|
||||
|
||||
"Collated Components:"
|
||||
|
||||
"Item","Qty","Reference(s)","Value","LibPart","Footprint","Datasheet"
|
||||
"1","1","C1","47u","stm32-rescue:CP","Capacitor_Tantalum_SMD:CP_EIA-3216-18_Kemet-A_Pad1.58x1.35mm_HandSolder",""
|
||||
"2","6","C2, C3, C4, C5, C6, C7","0.1","stm32-rescue:C","Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder",""
|
||||
"3","2","C8, C9","1","stm32-rescue:C","Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder",""
|
||||
"4","1","D1","PESD1CAN","elements:PESD1CAN","TO_SOT_Packages_SMD:SOT-23",""
|
||||
"5","1","D2","USB6B1","elements:USB6B1","Package_SO:SOIC-8_3.9x4.9mm_P1.27mm",""
|
||||
"6","1","D3","LED0","stm32-rescue:LED-RESCUE-stm32","LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder",""
|
||||
"7","1","D4","LED1","stm32-rescue:LED-RESCUE-stm32","LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder",""
|
||||
"8","1","J1","Screw_Terminal_01x03","Connector:Screw_Terminal_01x03","TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-3_1x03_P5.00mm_Horizontal","~"
|
||||
"9","1","J3","SWDetc","Connector:Conn_01x06_Female","Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical","~"
|
||||
"10","1","J4","USB_B","Connector:USB_B","Connectors_USB:USB_B_OST_USB-B1HSxx_Horizontal"," ~"
|
||||
"11","4","P1, P2, P3, P4","Hole","stm32-rescue:CONN_01X01","my_footprints:Hole_3mm",""
|
||||
"12","1","Q1","B0505S","elements:B0505S","my_footprints:B0x0xS",""
|
||||
"13","1","R1","120","stm32-rescue:R","Resistor_SMD:R_1210_3225Metric_Pad1.42x2.65mm_HandSolder",""
|
||||
"14","3","R3, R4, R6","22","stm32-rescue:R","Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder",""
|
||||
"15","1","R5","10k","stm32-rescue:R","Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder",""
|
||||
"16","2","R7, R8","330","stm32-rescue:R","Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder",""
|
||||
"17","1","SW1","SW_DIP_x01","Switch:SW_DIP_x01","Button_Switch_THT:SW_DIP_SPSTx01_Slide_6.7x4.1mm_W7.62mm_P2.54mm_LowProfile","~"
|
||||
"18","1","U1","LM1117-3.3","Regulator_Linear:LM1117-3.3","TO_SOT_Packages_SMD:SOT-223-3_TabPin2","http://www.ti.com/lit/ds/symlink/lm1117.pdf"
|
||||
"19","1","U3","STM32F072C8Tx","MCU_ST_STM32F0:STM32F072C8Tx","Package_QFP:LQFP-48_7x7mm_P0.5mm","http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00090510.pdf"
|
||||
"20","1","U4","ISO1050DUB","Interface_CAN_LIN:ISO1050DUB","Package_SO:SOP-8_6.62x9.15mm_P2.54mm","http://www.ti.com/lit/ds/symlink/iso1050.pdf"
|
||||
|
17809
F0:F030,F042,F072/deprecated/usbcan/kicad_new/stm32.kicad_pcb
Normal file
17809
F0:F030,F042,F072/deprecated/usbcan/kicad_new/stm32.kicad_pcb
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,83 @@
|
||||
{
|
||||
"board": {
|
||||
"active_layer": 31,
|
||||
"active_layer_preset": "Front Assembly View",
|
||||
"auto_track_width": false,
|
||||
"hidden_netclasses": [],
|
||||
"hidden_nets": [],
|
||||
"high_contrast_mode": 0,
|
||||
"net_color_mode": 1,
|
||||
"opacity": {
|
||||
"images": 0.6,
|
||||
"pads": 1.0,
|
||||
"tracks": 1.0,
|
||||
"vias": 1.0,
|
||||
"zones": 0.6
|
||||
},
|
||||
"ratsnest_display_mode": 0,
|
||||
"selection_filter": {
|
||||
"dimensions": true,
|
||||
"footprints": true,
|
||||
"graphics": true,
|
||||
"keepouts": true,
|
||||
"lockedItems": true,
|
||||
"otherItems": true,
|
||||
"pads": true,
|
||||
"text": true,
|
||||
"tracks": true,
|
||||
"vias": true,
|
||||
"zones": true
|
||||
},
|
||||
"visible_items": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
8,
|
||||
9,
|
||||
10,
|
||||
11,
|
||||
12,
|
||||
13,
|
||||
14,
|
||||
15,
|
||||
16,
|
||||
17,
|
||||
18,
|
||||
19,
|
||||
20,
|
||||
21,
|
||||
22,
|
||||
23,
|
||||
24,
|
||||
25,
|
||||
26,
|
||||
27,
|
||||
28,
|
||||
29,
|
||||
30,
|
||||
32,
|
||||
33,
|
||||
34,
|
||||
35,
|
||||
36
|
||||
],
|
||||
"visible_layers": "00290a0_00000000",
|
||||
"zone_display_mode": 1
|
||||
},
|
||||
"git": {
|
||||
"repo_password": "",
|
||||
"repo_type": "",
|
||||
"repo_username": "",
|
||||
"ssh_key": ""
|
||||
},
|
||||
"meta": {
|
||||
"filename": "stm32.kicad_prl",
|
||||
"version": 3
|
||||
},
|
||||
"project": {
|
||||
"files": []
|
||||
}
|
||||
}
|
||||
577
F0:F030,F042,F072/deprecated/usbcan/kicad_new/stm32.kicad_pro
Normal file
577
F0:F030,F042,F072/deprecated/usbcan/kicad_new/stm32.kicad_pro
Normal file
@@ -0,0 +1,577 @@
|
||||
{
|
||||
"board": {
|
||||
"3dviewports": [],
|
||||
"design_settings": {
|
||||
"defaults": {
|
||||
"board_outline_line_width": 0.15,
|
||||
"copper_line_width": 0.19999999999999998,
|
||||
"copper_text_italic": false,
|
||||
"copper_text_size_h": 1.5,
|
||||
"copper_text_size_v": 1.5,
|
||||
"copper_text_thickness": 0.3,
|
||||
"copper_text_upright": false,
|
||||
"courtyard_line_width": 0.049999999999999996,
|
||||
"dimension_precision": 4,
|
||||
"dimension_units": 3,
|
||||
"dimensions": {
|
||||
"arrow_length": 1270000,
|
||||
"extension_offset": 500000,
|
||||
"keep_text_aligned": true,
|
||||
"suppress_zeroes": false,
|
||||
"text_position": 0,
|
||||
"units_format": 1
|
||||
},
|
||||
"fab_line_width": 0.09999999999999999,
|
||||
"fab_text_italic": false,
|
||||
"fab_text_size_h": 1.0,
|
||||
"fab_text_size_v": 1.0,
|
||||
"fab_text_thickness": 0.15,
|
||||
"fab_text_upright": false,
|
||||
"other_line_width": 0.09999999999999999,
|
||||
"other_text_italic": false,
|
||||
"other_text_size_h": 1.0,
|
||||
"other_text_size_v": 1.0,
|
||||
"other_text_thickness": 0.15,
|
||||
"other_text_upright": false,
|
||||
"pads": {
|
||||
"drill": 0.8,
|
||||
"height": 1.5,
|
||||
"width": 1.5
|
||||
},
|
||||
"silk_line_width": 0.15,
|
||||
"silk_text_italic": false,
|
||||
"silk_text_size_h": 1.0,
|
||||
"silk_text_size_v": 1.0,
|
||||
"silk_text_thickness": 0.15,
|
||||
"silk_text_upright": false,
|
||||
"zones": {
|
||||
"45_degree_only": true,
|
||||
"min_clearance": 0.5
|
||||
}
|
||||
},
|
||||
"diff_pair_dimensions": [
|
||||
{
|
||||
"gap": 0.0,
|
||||
"via_gap": 0.0,
|
||||
"width": 0.0
|
||||
}
|
||||
],
|
||||
"drc_exclusions": [],
|
||||
"meta": {
|
||||
"filename": "board_design_settings.json",
|
||||
"version": 2
|
||||
},
|
||||
"rule_severities": {
|
||||
"annular_width": "error",
|
||||
"clearance": "error",
|
||||
"copper_edge_clearance": "error",
|
||||
"courtyards_overlap": "warning",
|
||||
"diff_pair_gap_out_of_range": "error",
|
||||
"diff_pair_uncoupled_length_too_long": "error",
|
||||
"drill_out_of_range": "error",
|
||||
"duplicate_footprints": "warning",
|
||||
"extra_footprint": "warning",
|
||||
"footprint_type_mismatch": "error",
|
||||
"hole_clearance": "error",
|
||||
"hole_near_hole": "error",
|
||||
"invalid_outline": "error",
|
||||
"item_on_disabled_layer": "error",
|
||||
"items_not_allowed": "error",
|
||||
"length_out_of_range": "error",
|
||||
"malformed_courtyard": "error",
|
||||
"microvia_drill_out_of_range": "error",
|
||||
"missing_courtyard": "ignore",
|
||||
"missing_footprint": "warning",
|
||||
"net_conflict": "warning",
|
||||
"npth_inside_courtyard": "ignore",
|
||||
"padstack": "error",
|
||||
"pth_inside_courtyard": "ignore",
|
||||
"shorting_items": "error",
|
||||
"silk_over_copper": "warning",
|
||||
"silk_overlap": "warning",
|
||||
"skew_out_of_range": "error",
|
||||
"through_hole_pad_without_hole": "error",
|
||||
"too_many_vias": "error",
|
||||
"track_dangling": "warning",
|
||||
"track_width": "error",
|
||||
"tracks_crossing": "error",
|
||||
"unconnected_items": "error",
|
||||
"unresolved_variable": "error",
|
||||
"via_dangling": "warning",
|
||||
"zone_has_empty_net": "error",
|
||||
"zones_intersect": "error"
|
||||
},
|
||||
"rule_severitieslegacy_courtyards_overlap": true,
|
||||
"rule_severitieslegacy_no_courtyard_defined": false,
|
||||
"rules": {
|
||||
"allow_blind_buried_vias": false,
|
||||
"allow_microvias": false,
|
||||
"max_error": 0.005,
|
||||
"min_clearance": 0.0,
|
||||
"min_copper_edge_clearance": 0.09999999999999999,
|
||||
"min_hole_clearance": 0.25,
|
||||
"min_hole_to_hole": 0.25,
|
||||
"min_microvia_diameter": 0.19999999999999998,
|
||||
"min_microvia_drill": 0.09999999999999999,
|
||||
"min_silk_clearance": 0.0,
|
||||
"min_through_hole_diameter": 0.3,
|
||||
"min_track_width": 0.15,
|
||||
"min_via_annular_width": 0.049999999999999996,
|
||||
"min_via_diameter": 0.39999999999999997,
|
||||
"use_height_for_length_calcs": true
|
||||
},
|
||||
"track_widths": [
|
||||
0.0,
|
||||
0.2,
|
||||
0.25,
|
||||
0.5
|
||||
],
|
||||
"via_dimensions": [
|
||||
{
|
||||
"diameter": 0.0,
|
||||
"drill": 0.0
|
||||
},
|
||||
{
|
||||
"diameter": 0.8,
|
||||
"drill": 0.4
|
||||
},
|
||||
{
|
||||
"diameter": 1.0,
|
||||
"drill": 0.6
|
||||
},
|
||||
{
|
||||
"diameter": 1.4,
|
||||
"drill": 0.8
|
||||
}
|
||||
],
|
||||
"zones_allow_external_fillets": false,
|
||||
"zones_use_no_outline": true
|
||||
},
|
||||
"ipc2581": {
|
||||
"dist": "",
|
||||
"distpn": "",
|
||||
"internal_id": "",
|
||||
"mfg": "",
|
||||
"mpn": ""
|
||||
},
|
||||
"layer_presets": [],
|
||||
"viewports": []
|
||||
},
|
||||
"boards": [],
|
||||
"cvpcb": {
|
||||
"equivalence_files": []
|
||||
},
|
||||
"erc": {
|
||||
"erc_exclusions": [],
|
||||
"meta": {
|
||||
"version": 0
|
||||
},
|
||||
"pin_map": [
|
||||
[
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
2,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
1,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
2,
|
||||
1,
|
||||
1,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
[
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
2,
|
||||
1,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
2,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
2,
|
||||
1,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
[
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2
|
||||
]
|
||||
],
|
||||
"rule_severities": {
|
||||
"bus_definition_conflict": "error",
|
||||
"bus_entry_needed": "error",
|
||||
"bus_label_syntax": "error",
|
||||
"bus_to_bus_conflict": "error",
|
||||
"bus_to_net_conflict": "error",
|
||||
"conflicting_netclasses": "error",
|
||||
"different_unit_footprint": "error",
|
||||
"different_unit_net": "error",
|
||||
"duplicate_reference": "error",
|
||||
"duplicate_sheet_names": "error",
|
||||
"endpoint_off_grid": "warning",
|
||||
"extra_units": "error",
|
||||
"global_label_dangling": "warning",
|
||||
"hier_label_mismatch": "error",
|
||||
"label_dangling": "error",
|
||||
"lib_symbol_issues": "warning",
|
||||
"missing_bidi_pin": "warning",
|
||||
"missing_input_pin": "warning",
|
||||
"missing_power_pin": "error",
|
||||
"missing_unit": "warning",
|
||||
"multiple_net_names": "warning",
|
||||
"net_not_bus_member": "warning",
|
||||
"no_connect_connected": "warning",
|
||||
"no_connect_dangling": "warning",
|
||||
"pin_not_connected": "error",
|
||||
"pin_not_driven": "error",
|
||||
"pin_to_pin": "warning",
|
||||
"power_pin_not_driven": "error",
|
||||
"similar_labels": "warning",
|
||||
"simulation_model_issue": "ignore",
|
||||
"unannotated": "error",
|
||||
"unit_value_mismatch": "error",
|
||||
"unresolved_variable": "error",
|
||||
"wire_dangling": "error"
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"pinned_footprint_libs": [],
|
||||
"pinned_symbol_libs": []
|
||||
},
|
||||
"meta": {
|
||||
"filename": "stm32.kicad_pro",
|
||||
"version": 1
|
||||
},
|
||||
"net_settings": {
|
||||
"classes": [
|
||||
{
|
||||
"bus_width": 12,
|
||||
"clearance": 0.1,
|
||||
"diff_pair_gap": 0.25,
|
||||
"diff_pair_via_gap": 0.25,
|
||||
"diff_pair_width": 0.2,
|
||||
"line_style": 0,
|
||||
"microvia_diameter": 0.3,
|
||||
"microvia_drill": 0.1,
|
||||
"name": "Default",
|
||||
"pcb_color": "rgba(0, 0, 0, 0.000)",
|
||||
"schematic_color": "rgba(0, 0, 0, 0.000)",
|
||||
"track_width": 0.2,
|
||||
"via_diameter": 0.8,
|
||||
"via_drill": 0.4,
|
||||
"wire_width": 6
|
||||
},
|
||||
{
|
||||
"bus_width": 12,
|
||||
"clearance": 0.15,
|
||||
"diff_pair_gap": 0.25,
|
||||
"diff_pair_via_gap": 0.25,
|
||||
"diff_pair_width": 0.2,
|
||||
"line_style": 0,
|
||||
"microvia_diameter": 0.3,
|
||||
"microvia_drill": 0.1,
|
||||
"name": "0.25",
|
||||
"pcb_color": "rgba(0, 0, 0, 0.000)",
|
||||
"schematic_color": "rgba(0, 0, 0, 0.000)",
|
||||
"track_width": 0.25,
|
||||
"via_diameter": 1.0,
|
||||
"via_drill": 0.6,
|
||||
"wire_width": 6
|
||||
},
|
||||
{
|
||||
"bus_width": 12,
|
||||
"clearance": 0.3,
|
||||
"diff_pair_gap": 0.25,
|
||||
"diff_pair_via_gap": 0.25,
|
||||
"diff_pair_width": 0.2,
|
||||
"line_style": 0,
|
||||
"microvia_diameter": 0.3,
|
||||
"microvia_drill": 0.1,
|
||||
"name": "0.5",
|
||||
"pcb_color": "rgba(0, 0, 0, 0.000)",
|
||||
"schematic_color": "rgba(0, 0, 0, 0.000)",
|
||||
"track_width": 0.5,
|
||||
"via_diameter": 1.4,
|
||||
"via_drill": 0.8,
|
||||
"wire_width": 6
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"version": 3
|
||||
},
|
||||
"net_colors": null,
|
||||
"netclass_assignments": null,
|
||||
"netclass_patterns": []
|
||||
},
|
||||
"pcbnew": {
|
||||
"last_paths": {
|
||||
"gencad": "",
|
||||
"idf": "",
|
||||
"netlist": "stm32.net",
|
||||
"plot": "",
|
||||
"pos_files": "",
|
||||
"specctra_dsn": "",
|
||||
"step": "",
|
||||
"svg": "",
|
||||
"vrml": ""
|
||||
},
|
||||
"page_layout_descr_file": ""
|
||||
},
|
||||
"schematic": {
|
||||
"annotate_start_num": 0,
|
||||
"bom_fmt_presets": [],
|
||||
"bom_fmt_settings": {
|
||||
"field_delimiter": ",",
|
||||
"keep_line_breaks": false,
|
||||
"keep_tabs": false,
|
||||
"name": "CSV",
|
||||
"ref_delimiter": ",",
|
||||
"ref_range_delimiter": "",
|
||||
"string_delimiter": "\""
|
||||
},
|
||||
"bom_presets": [],
|
||||
"bom_settings": {
|
||||
"exclude_dnp": false,
|
||||
"fields_ordered": [
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "Reference",
|
||||
"name": "Reference",
|
||||
"show": true
|
||||
},
|
||||
{
|
||||
"group_by": true,
|
||||
"label": "Value",
|
||||
"name": "Value",
|
||||
"show": true
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "Datasheet",
|
||||
"name": "Datasheet",
|
||||
"show": true
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "Footprint",
|
||||
"name": "Footprint",
|
||||
"show": true
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "Qty",
|
||||
"name": "${QUANTITY}",
|
||||
"show": true
|
||||
},
|
||||
{
|
||||
"group_by": true,
|
||||
"label": "DNP",
|
||||
"name": "${DNP}",
|
||||
"show": true
|
||||
}
|
||||
],
|
||||
"filter_string": "",
|
||||
"group_symbols": true,
|
||||
"name": "Grouped By Value",
|
||||
"sort_asc": true,
|
||||
"sort_field": "Обозначение"
|
||||
},
|
||||
"connection_grid_size": 50.0,
|
||||
"drawing": {
|
||||
"dashed_lines_dash_length_ratio": 12.0,
|
||||
"dashed_lines_gap_length_ratio": 3.0,
|
||||
"default_bus_thickness": 12.0,
|
||||
"default_junction_size": 40.0,
|
||||
"default_line_thickness": 6.0,
|
||||
"default_text_size": 50.0,
|
||||
"default_wire_thickness": 6.0,
|
||||
"field_names": [],
|
||||
"intersheets_ref_own_page": false,
|
||||
"intersheets_ref_prefix": "",
|
||||
"intersheets_ref_short": false,
|
||||
"intersheets_ref_show": false,
|
||||
"intersheets_ref_suffix": "",
|
||||
"junction_size_choice": 3,
|
||||
"label_size_ratio": 0.3,
|
||||
"operating_point_overlay_i_precision": 3,
|
||||
"operating_point_overlay_i_range": "~A",
|
||||
"operating_point_overlay_v_precision": 3,
|
||||
"operating_point_overlay_v_range": "~V",
|
||||
"overbar_offset_ratio": 1.23,
|
||||
"pin_symbol_size": 25.0,
|
||||
"text_offset_ratio": 0.3
|
||||
},
|
||||
"legacy_lib_dir": "",
|
||||
"legacy_lib_list": [],
|
||||
"meta": {
|
||||
"version": 1
|
||||
},
|
||||
"net_format_name": "Pcbnew",
|
||||
"ngspice": {
|
||||
"fix_include_paths": true,
|
||||
"fix_passive_vals": false,
|
||||
"meta": {
|
||||
"version": 0
|
||||
},
|
||||
"model_mode": 0,
|
||||
"workbook_filename": ""
|
||||
},
|
||||
"page_layout_descr_file": "",
|
||||
"plot_directory": "",
|
||||
"spice_adjust_passive_values": false,
|
||||
"spice_current_sheet_as_root": false,
|
||||
"spice_external_command": "spice \"%I\"",
|
||||
"spice_model_current_sheet_as_root": true,
|
||||
"spice_save_all_currents": false,
|
||||
"spice_save_all_dissipations": false,
|
||||
"spice_save_all_voltages": false,
|
||||
"subpart_first_id": 65,
|
||||
"subpart_id_separator": 0
|
||||
},
|
||||
"sheets": [
|
||||
[
|
||||
"ce45f0ed-5b96-460f-9f82-e8a7af322e24",
|
||||
"Корневой лист"
|
||||
]
|
||||
],
|
||||
"text_variables": {}
|
||||
}
|
||||
11235
F0:F030,F042,F072/deprecated/usbcan/kicad_new/stm32.kicad_sch
Normal file
11235
F0:F030,F042,F072/deprecated/usbcan/kicad_new/stm32.kicad_sch
Normal file
File diff suppressed because it is too large
Load Diff
732
F0:F030,F042,F072/deprecated/usbcan/kicad_new/stm32.net
Normal file
732
F0:F030,F042,F072/deprecated/usbcan/kicad_new/stm32.net
Normal file
@@ -0,0 +1,732 @@
|
||||
(export (version D)
|
||||
(design
|
||||
(source /home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/canusb/stm32.sch)
|
||||
(date "Чт 21 мая 2020 12:04:16")
|
||||
(tool "Eeschema 5.1.4")
|
||||
(sheet (number 1) (name /) (tstamps /)
|
||||
(title_block
|
||||
(title "STM32F0x2 based USB<>CAN converter (isolated)")
|
||||
(company "SAO RAS")
|
||||
(rev)
|
||||
(date)
|
||||
(source stm32.sch)
|
||||
(comment (number 1) (value ""))
|
||||
(comment (number 2) (value ""))
|
||||
(comment (number 3) (value ""))
|
||||
(comment (number 4) (value "")))))
|
||||
(components
|
||||
(comp (ref C3)
|
||||
(value 0.1)
|
||||
(footprint Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part C) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 58C42D39))
|
||||
(comp (ref U2)
|
||||
(value MCP2551-I/SN)
|
||||
(footprint Package_SO:SOIC-8_3.9x4.9mm_P1.27mm)
|
||||
(libsource (lib stm32-rescue) (part MCP2551-I_SN) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 58C43297))
|
||||
(comp (ref C1)
|
||||
(value 47u)
|
||||
(footprint Capacitor_Tantalum_SMD:CP_EIA-3216-18_Kemet-A_Pad1.58x1.35mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part CP) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 58C454F6))
|
||||
(comp (ref D1)
|
||||
(value PESD1CAN)
|
||||
(footprint TO_SOT_Packages_SMD:SOT-23)
|
||||
(libsource (lib elements) (part PESD1CAN) (description "CAN bus ESD protection"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 58C46522))
|
||||
(comp (ref R2)
|
||||
(value 4k7)
|
||||
(footprint Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part R) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 58C47F04))
|
||||
(comp (ref D3)
|
||||
(value LED0)
|
||||
(footprint LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part LED-RESCUE-stm32) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5908EA64))
|
||||
(comp (ref R7)
|
||||
(value 330)
|
||||
(footprint Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part R) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5908EB17))
|
||||
(comp (ref C4)
|
||||
(value 0.1)
|
||||
(footprint Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part C) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 590935EA))
|
||||
(comp (ref C5)
|
||||
(value 0.1)
|
||||
(footprint Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part C) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 59093675))
|
||||
(comp (ref D2)
|
||||
(value USB6B1)
|
||||
(footprint Package_SO:SOIC-8_3.9x4.9mm_P1.27mm)
|
||||
(libsource (lib elements) (part USB6B1) (description "USB bus ESD protection"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 59098D4D))
|
||||
(comp (ref D4)
|
||||
(value LED1)
|
||||
(footprint LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part LED-RESCUE-stm32) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5909AF9A))
|
||||
(comp (ref R8)
|
||||
(value 330)
|
||||
(footprint Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part R) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5909AFA0))
|
||||
(comp (ref C6)
|
||||
(value 0.1)
|
||||
(footprint Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part C) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 590A8102))
|
||||
(comp (ref R5)
|
||||
(value 10k)
|
||||
(footprint Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part R) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 590D30C8))
|
||||
(comp (ref P1)
|
||||
(value Hole)
|
||||
(footprint my_footprints:Hole_3mm)
|
||||
(libsource (lib stm32-rescue) (part CONN_01X01) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 59143415))
|
||||
(comp (ref P2)
|
||||
(value Hole)
|
||||
(footprint my_footprints:Hole_3mm)
|
||||
(libsource (lib stm32-rescue) (part CONN_01X01) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5914456D))
|
||||
(comp (ref P3)
|
||||
(value Hole)
|
||||
(footprint my_footprints:Hole_3mm)
|
||||
(libsource (lib stm32-rescue) (part CONN_01X01) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 591446F3))
|
||||
(comp (ref P4)
|
||||
(value Hole)
|
||||
(footprint my_footprints:Hole_3mm)
|
||||
(libsource (lib stm32-rescue) (part CONN_01X01) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 591446F9))
|
||||
(comp (ref R3)
|
||||
(value 22)
|
||||
(footprint Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part R) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5968E385))
|
||||
(comp (ref R4)
|
||||
(value 22)
|
||||
(footprint Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part R) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5968E83B))
|
||||
(comp (ref U4)
|
||||
(value ISO1050DUB)
|
||||
(footprint Package_SO:SOP-8_6.62x9.15mm_P2.54mm)
|
||||
(datasheet http://www.ti.com/lit/ds/symlink/iso1050.pdf)
|
||||
(libsource (lib Interface_CAN_LIN) (part ISO1050DUB) (description "Isolated CAN Transceiver, SOP-8"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5EC5A80C))
|
||||
(comp (ref Q1)
|
||||
(value B0505S)
|
||||
(footprint my_footprints:B0x0xS)
|
||||
(libsource (lib elements) (part B0505S) (description "isolated DC-DC"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5EC7332B))
|
||||
(comp (ref J4)
|
||||
(value USB_B)
|
||||
(footprint Connectors_USB:USB_B_OST_USB-B1HSxx_Horizontal)
|
||||
(datasheet " ~")
|
||||
(libsource (lib Connector) (part USB_B) (description "USB Type B connector"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5ECA19CB))
|
||||
(comp (ref U3)
|
||||
(value STM32F072C8Tx)
|
||||
(footprint Package_QFP:LQFP-48_7x7mm_P0.5mm)
|
||||
(datasheet http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00090510.pdf)
|
||||
(libsource (lib MCU_ST_STM32F0) (part STM32F072C8Tx) (description "ARM Cortex-M0 MCU, 64KB flash, 16KB RAM, 48MHz, 2-3.6V, 37 GPIO, LQFP-48"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5ED38032))
|
||||
(comp (ref J1)
|
||||
(value Screw_Terminal_01x03)
|
||||
(footprint TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-3_1x03_P5.00mm_Horizontal)
|
||||
(datasheet ~)
|
||||
(libsource (lib Connector) (part Screw_Terminal_01x03) (description "Generic screw terminal, single row, 01x03, script generated (kicad-library-utils/schlib/autogen/connector/)"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5EECB9D2))
|
||||
(comp (ref R1)
|
||||
(value 120)
|
||||
(footprint Resistor_SMD:R_1210_3225Metric_Pad1.42x2.65mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part R) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 58C488C6))
|
||||
(comp (ref J3)
|
||||
(value SWDetc)
|
||||
(footprint Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical)
|
||||
(datasheet ~)
|
||||
(libsource (lib Connector) (part Conn_01x06_Female) (description "Generic connector, single row, 01x06, script generated (kicad-library-utils/schlib/autogen/connector/)"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5EEF8FF5))
|
||||
(comp (ref R6)
|
||||
(value 22)
|
||||
(footprint Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part R) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5EF24BB7))
|
||||
(comp (ref C2)
|
||||
(value 0.1)
|
||||
(footprint Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part C) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5EFCC1D1))
|
||||
(comp (ref SW1)
|
||||
(value SW_DIP_x01)
|
||||
(footprint Button_Switch_THT:SW_DIP_SPSTx01_Slide_6.7x4.1mm_W7.62mm_P2.54mm_LowProfile)
|
||||
(datasheet ~)
|
||||
(libsource (lib Switch) (part SW_DIP_x01) (description "1x DIP Switch, Single Pole Single Throw (SPST) switch, small symbol"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5EFDFDE6))
|
||||
(comp (ref U1)
|
||||
(value LM1117-3.3)
|
||||
(footprint TO_SOT_Packages_SMD:SOT-223-3_TabPin2)
|
||||
(datasheet http://www.ti.com/lit/ds/symlink/lm1117.pdf)
|
||||
(libsource (lib Regulator_Linear) (part LM1117-3.3) (description "800mA Low-Dropout Linear Regulator, 3.3V fixed output, TO-220/TO-252/TO-263/SOT-223"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5F0B7BCC))
|
||||
(comp (ref C7)
|
||||
(value 0.1)
|
||||
(footprint Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part C) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5F0E47E1))
|
||||
(comp (ref C9)
|
||||
(value 1)
|
||||
(footprint Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part C) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5F0F75F5))
|
||||
(comp (ref C8)
|
||||
(value 1)
|
||||
(footprint Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder)
|
||||
(libsource (lib stm32-rescue) (part C) (description ""))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5F0F92A0))
|
||||
(comp (ref JP1)
|
||||
(value NON-ISOL)
|
||||
(footprint Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P5.08mm_Vertical)
|
||||
(datasheet ~)
|
||||
(libsource (lib Device) (part Jumper) (description "Jumper, normally closed"))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5F1521D0)))
|
||||
(libparts
|
||||
(libpart (lib Connector) (part Conn_01x06_Female)
|
||||
(description "Generic connector, single row, 01x06, script generated (kicad-library-utils/schlib/autogen/connector/)")
|
||||
(docs ~)
|
||||
(footprints
|
||||
(fp Connector*:*_1x??_*))
|
||||
(fields
|
||||
(field (name Reference) J)
|
||||
(field (name Value) Conn_01x06_Female))
|
||||
(pins
|
||||
(pin (num 1) (name Pin_1) (type passive))
|
||||
(pin (num 2) (name Pin_2) (type passive))
|
||||
(pin (num 3) (name Pin_3) (type passive))
|
||||
(pin (num 4) (name Pin_4) (type passive))
|
||||
(pin (num 5) (name Pin_5) (type passive))
|
||||
(pin (num 6) (name Pin_6) (type passive))))
|
||||
(libpart (lib Connector) (part Screw_Terminal_01x03)
|
||||
(description "Generic screw terminal, single row, 01x03, script generated (kicad-library-utils/schlib/autogen/connector/)")
|
||||
(docs ~)
|
||||
(footprints
|
||||
(fp TerminalBlock*:*))
|
||||
(fields
|
||||
(field (name Reference) J)
|
||||
(field (name Value) Screw_Terminal_01x03))
|
||||
(pins
|
||||
(pin (num 1) (name Pin_1) (type passive))
|
||||
(pin (num 2) (name Pin_2) (type passive))
|
||||
(pin (num 3) (name Pin_3) (type passive))))
|
||||
(libpart (lib Connector) (part USB_B)
|
||||
(description "USB Type B connector")
|
||||
(docs " ~")
|
||||
(footprints
|
||||
(fp USB*))
|
||||
(fields
|
||||
(field (name Reference) J)
|
||||
(field (name Value) USB_B))
|
||||
(pins
|
||||
(pin (num 1) (name VBUS) (type power_out))
|
||||
(pin (num 2) (name D-) (type passive))
|
||||
(pin (num 3) (name D+) (type passive))
|
||||
(pin (num 4) (name GND) (type power_out))
|
||||
(pin (num 5) (name Shield) (type passive))))
|
||||
(libpart (lib Device) (part Jumper)
|
||||
(description "Jumper, normally closed")
|
||||
(docs ~)
|
||||
(footprints
|
||||
(fp SolderJumper*)
|
||||
(fp Jumper*)
|
||||
(fp TestPoint*2Pads*)
|
||||
(fp TestPoint*Bridge*))
|
||||
(fields
|
||||
(field (name Reference) JP)
|
||||
(field (name Value) Jumper))
|
||||
(pins
|
||||
(pin (num 1) (name 1) (type passive))
|
||||
(pin (num 2) (name 2) (type passive))))
|
||||
(libpart (lib Interface_CAN_LIN) (part ISO1050DUB)
|
||||
(description "Isolated CAN Transceiver, SOP-8")
|
||||
(docs http://www.ti.com/lit/ds/symlink/iso1050.pdf)
|
||||
(footprints
|
||||
(fp SOP*6.62x9.15mm*P2.54mm*))
|
||||
(fields
|
||||
(field (name Reference) U)
|
||||
(field (name Value) ISO1050DUB)
|
||||
(field (name Footprint) Package_SO:SOP-8_6.62x9.15mm_P2.54mm))
|
||||
(pins
|
||||
(pin (num 1) (name VCC1) (type power_in))
|
||||
(pin (num 2) (name RXD) (type output))
|
||||
(pin (num 3) (name TXD) (type input))
|
||||
(pin (num 4) (name GND1) (type power_in))
|
||||
(pin (num 5) (name GND2) (type power_in))
|
||||
(pin (num 6) (name CANL) (type BiDi))
|
||||
(pin (num 7) (name CANH) (type BiDi))
|
||||
(pin (num 8) (name VCC2) (type power_in))))
|
||||
(libpart (lib MCU_ST_STM32F0) (part STM32F072C8Tx)
|
||||
(aliases
|
||||
(alias STM32F072CBTx))
|
||||
(description "ARM Cortex-M0 MCU, 64KB flash, 16KB RAM, 48MHz, 2-3.6V, 37 GPIO, LQFP-48")
|
||||
(docs http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00090510.pdf)
|
||||
(footprints
|
||||
(fp LQFP*7x7mm*P0.5mm*))
|
||||
(fields
|
||||
(field (name Reference) U)
|
||||
(field (name Value) STM32F072C8Tx)
|
||||
(field (name Footprint) Package_QFP:LQFP-48_7x7mm_P0.5mm))
|
||||
(pins
|
||||
(pin (num 1) (name VBAT) (type power_in))
|
||||
(pin (num 2) (name PC13) (type BiDi))
|
||||
(pin (num 3) (name PC14) (type BiDi))
|
||||
(pin (num 4) (name PC15) (type BiDi))
|
||||
(pin (num 5) (name PF0) (type input))
|
||||
(pin (num 6) (name PF1) (type input))
|
||||
(pin (num 7) (name NRST) (type input))
|
||||
(pin (num 8) (name VSSA) (type power_in))
|
||||
(pin (num 9) (name VDDA) (type power_in))
|
||||
(pin (num 10) (name PA0) (type BiDi))
|
||||
(pin (num 11) (name PA1) (type BiDi))
|
||||
(pin (num 12) (name PA2) (type BiDi))
|
||||
(pin (num 13) (name PA3) (type BiDi))
|
||||
(pin (num 14) (name PA4) (type BiDi))
|
||||
(pin (num 15) (name PA5) (type BiDi))
|
||||
(pin (num 16) (name PA6) (type BiDi))
|
||||
(pin (num 17) (name PA7) (type BiDi))
|
||||
(pin (num 18) (name PB0) (type BiDi))
|
||||
(pin (num 19) (name PB1) (type BiDi))
|
||||
(pin (num 20) (name PB2) (type BiDi))
|
||||
(pin (num 21) (name PB10) (type BiDi))
|
||||
(pin (num 22) (name PB11) (type BiDi))
|
||||
(pin (num 23) (name VSS) (type power_in))
|
||||
(pin (num 24) (name VDD) (type power_in))
|
||||
(pin (num 25) (name PB12) (type BiDi))
|
||||
(pin (num 26) (name PB13) (type BiDi))
|
||||
(pin (num 27) (name PB14) (type BiDi))
|
||||
(pin (num 28) (name PB15) (type BiDi))
|
||||
(pin (num 29) (name PA8) (type BiDi))
|
||||
(pin (num 30) (name PA9) (type BiDi))
|
||||
(pin (num 31) (name PA10) (type BiDi))
|
||||
(pin (num 32) (name PA11) (type BiDi))
|
||||
(pin (num 33) (name PA12) (type BiDi))
|
||||
(pin (num 34) (name PA13) (type BiDi))
|
||||
(pin (num 35) (name VSS) (type power_in))
|
||||
(pin (num 36) (name VDDIO2) (type power_in))
|
||||
(pin (num 37) (name PA14) (type BiDi))
|
||||
(pin (num 38) (name PA15) (type BiDi))
|
||||
(pin (num 39) (name PB3) (type BiDi))
|
||||
(pin (num 40) (name PB4) (type BiDi))
|
||||
(pin (num 41) (name PB5) (type BiDi))
|
||||
(pin (num 42) (name PB6) (type BiDi))
|
||||
(pin (num 43) (name PB7) (type BiDi))
|
||||
(pin (num 44) (name BOOT0) (type input))
|
||||
(pin (num 45) (name PB8) (type BiDi))
|
||||
(pin (num 46) (name PB9) (type BiDi))
|
||||
(pin (num 47) (name VSS) (type power_in))
|
||||
(pin (num 48) (name VDD) (type power_in))))
|
||||
(libpart (lib Regulator_Linear) (part LM1117-1.8)
|
||||
(aliases
|
||||
(alias LM1117-2.5)
|
||||
(alias LM1117-3.3)
|
||||
(alias LM1117-5.0)
|
||||
(alias TLV1117-15)
|
||||
(alias TLV1117-18)
|
||||
(alias TLV1117-25)
|
||||
(alias TLV1117-33)
|
||||
(alias TLV1117-50))
|
||||
(description "800mA Low-Dropout Linear Regulator, 1.8V fixed output, TO-220/TO-252/TO-263/SOT-223")
|
||||
(docs http://www.ti.com/lit/ds/symlink/lm1117.pdf)
|
||||
(footprints
|
||||
(fp SOT?223*)
|
||||
(fp TO?263*)
|
||||
(fp TO?252*)
|
||||
(fp TO?220*))
|
||||
(fields
|
||||
(field (name Reference) U)
|
||||
(field (name Value) LM1117-1.8))
|
||||
(pins
|
||||
(pin (num 1) (name GND) (type power_in))
|
||||
(pin (num 2) (name VO) (type power_out))
|
||||
(pin (num 3) (name VI) (type power_in))))
|
||||
(libpart (lib Switch) (part SW_DIP_x01)
|
||||
(description "1x DIP Switch, Single Pole Single Throw (SPST) switch, small symbol")
|
||||
(docs ~)
|
||||
(footprints
|
||||
(fp SW?DIP?x1*))
|
||||
(fields
|
||||
(field (name Reference) SW)
|
||||
(field (name Value) SW_DIP_x01))
|
||||
(pins
|
||||
(pin (num 1) (name ~) (type passive))
|
||||
(pin (num 2) (name ~) (type passive))))
|
||||
(libpart (lib elements) (part B0x0xS-1W)
|
||||
(aliases
|
||||
(alias B0305S)
|
||||
(alias B0505S))
|
||||
(description "isolated DC-DC")
|
||||
(footprints
|
||||
(fp b0x0xs))
|
||||
(fields
|
||||
(field (name Reference) Q?)
|
||||
(field (name Value) B0x0xS-1W)
|
||||
(field (name Footprint) my_footprints:B0x0xS))
|
||||
(pins
|
||||
(pin (num 1) (name GND) (type power_in))
|
||||
(pin (num 2) (name Vin) (type power_in))
|
||||
(pin (num 3) (name 0V) (type power_out))
|
||||
(pin (num 4) (name +Vo) (type power_out))))
|
||||
(libpart (lib elements) (part PESD1CAN)
|
||||
(description "CAN bus ESD protection")
|
||||
(footprints
|
||||
(fp SOT23))
|
||||
(fields
|
||||
(field (name Reference) D)
|
||||
(field (name Value) PESD1CAN))
|
||||
(pins
|
||||
(pin (num 1) (name K) (type passive))
|
||||
(pin (num 2) (name K) (type passive))
|
||||
(pin (num 3) (name O) (type passive))))
|
||||
(libpart (lib elements) (part USB6B1)
|
||||
(description "USB bus ESD protection")
|
||||
(footprints
|
||||
(fp SO8))
|
||||
(fields
|
||||
(field (name Reference) D)
|
||||
(field (name Value) USB6B1))
|
||||
(pins
|
||||
(pin (num 1) (name VCC) (type passive))
|
||||
(pin (num 2) (name I/O1) (type passive))
|
||||
(pin (num 3) (name I/O2) (type passive))
|
||||
(pin (num 4) (name GND) (type passive))
|
||||
(pin (num 5) (name GND) (type passive))
|
||||
(pin (num 6) (name I/O2) (type passive))
|
||||
(pin (num 7) (name I/O1) (type passive))
|
||||
(pin (num 8) (name VCC) (type passive))))
|
||||
(libpart (lib stm32-rescue) (part C)
|
||||
(footprints
|
||||
(fp C_*))
|
||||
(fields
|
||||
(field (name Reference) C)
|
||||
(field (name Value) C))
|
||||
(pins
|
||||
(pin (num 1) (name ~) (type passive))
|
||||
(pin (num 2) (name ~) (type passive))))
|
||||
(libpart (lib stm32-rescue) (part CONN_01X01)
|
||||
(footprints
|
||||
(fp Pin_Header_Straight_1X*)
|
||||
(fp Pin_Header_Angled_1X*)
|
||||
(fp Socket_Strip_Straight_1X*)
|
||||
(fp Socket_Strip_Angled_1X*))
|
||||
(fields
|
||||
(field (name Reference) J)
|
||||
(field (name Value) CONN_01X01))
|
||||
(pins
|
||||
(pin (num 1) (name P1) (type passive))))
|
||||
(libpart (lib stm32-rescue) (part CP)
|
||||
(footprints
|
||||
(fp CP_*))
|
||||
(fields
|
||||
(field (name Reference) C)
|
||||
(field (name Value) CP))
|
||||
(pins
|
||||
(pin (num 1) (name ~) (type passive))
|
||||
(pin (num 2) (name ~) (type passive))))
|
||||
(libpart (lib stm32-rescue) (part LED-RESCUE-stm32)
|
||||
(footprints
|
||||
(fp LED*))
|
||||
(fields
|
||||
(field (name Reference) D)
|
||||
(field (name Value) LED-RESCUE-stm32))
|
||||
(pins
|
||||
(pin (num 1) (name K) (type passive))
|
||||
(pin (num 2) (name A) (type passive))))
|
||||
(libpart (lib stm32-rescue) (part MCP2551-I_SN)
|
||||
(footprints
|
||||
(fp SOIC*Pitch1.27mm*))
|
||||
(fields
|
||||
(field (name Reference) U)
|
||||
(field (name Value) MCP2551-I_SN)
|
||||
(field (name Footprint) Housings_SOIC:SOIC-8_3.9x4.9mm_Pitch1.27mm))
|
||||
(pins
|
||||
(pin (num 1) (name TXD) (type input))
|
||||
(pin (num 2) (name VSS) (type power_in))
|
||||
(pin (num 3) (name VDD) (type power_in))
|
||||
(pin (num 4) (name RXD) (type output))
|
||||
(pin (num 5) (name Vref) (type power_out))
|
||||
(pin (num 6) (name CANL) (type BiDi))
|
||||
(pin (num 7) (name CANH) (type BiDi))
|
||||
(pin (num 8) (name Rs) (type input))))
|
||||
(libpart (lib stm32-rescue) (part R)
|
||||
(footprints
|
||||
(fp R_*)
|
||||
(fp R_*))
|
||||
(fields
|
||||
(field (name Reference) R)
|
||||
(field (name Value) R))
|
||||
(pins
|
||||
(pin (num 1) (name ~) (type passive))
|
||||
(pin (num 2) (name ~) (type passive)))))
|
||||
(libraries
|
||||
(library (logical Connector)
|
||||
(uri /usr/share/kicad/kicad-symbols//Connector.lib))
|
||||
(library (logical Device)
|
||||
(uri /usr/share/kicad/kicad-symbols//Device.lib))
|
||||
(library (logical Interface_CAN_LIN)
|
||||
(uri /usr/share/kicad/kicad-symbols//Interface_CAN_LIN.lib))
|
||||
(library (logical MCU_ST_STM32F0)
|
||||
(uri /usr/share/kicad/kicad-symbols//MCU_ST_STM32F0.lib))
|
||||
(library (logical Regulator_Linear)
|
||||
(uri /usr/share/kicad/kicad-symbols//Regulator_Linear.lib))
|
||||
(library (logical Switch)
|
||||
(uri /usr/share/kicad/kicad-symbols//Switch.lib))
|
||||
(library (logical elements)
|
||||
(uri /home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/canusb/elements.lib))
|
||||
(library (logical stm32-rescue)
|
||||
(uri /home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/canusb/stm32-rescue.lib)))
|
||||
(nets
|
||||
(net (code 1) (name +3V3)
|
||||
(node (ref U3) (pin 36))
|
||||
(node (ref C5) (pin 2))
|
||||
(node (ref C4) (pin 2))
|
||||
(node (ref R7) (pin 2))
|
||||
(node (ref U3) (pin 1))
|
||||
(node (ref U3) (pin 48))
|
||||
(node (ref U3) (pin 24))
|
||||
(node (ref R8) (pin 2))
|
||||
(node (ref C2) (pin 1))
|
||||
(node (ref U1) (pin 2))
|
||||
(node (ref C6) (pin 2))
|
||||
(node (ref C1) (pin 1))
|
||||
(node (ref U3) (pin 9))
|
||||
(node (ref C3) (pin 2))
|
||||
(node (ref R6) (pin 1)))
|
||||
(net (code 2) (name "Net-(J3-Pad1)")
|
||||
(node (ref J3) (pin 1))
|
||||
(node (ref R6) (pin 2)))
|
||||
(net (code 3) (name /BOOT0)
|
||||
(node (ref U3) (pin 44))
|
||||
(node (ref R5) (pin 2))
|
||||
(node (ref J3) (pin 2)))
|
||||
(net (code 4) (name GND)
|
||||
(node (ref C7) (pin 2))
|
||||
(node (ref U3) (pin 8))
|
||||
(node (ref R5) (pin 1))
|
||||
(node (ref C1) (pin 2))
|
||||
(node (ref J3) (pin 4))
|
||||
(node (ref U1) (pin 1))
|
||||
(node (ref C6) (pin 1))
|
||||
(node (ref C2) (pin 2))
|
||||
(node (ref JP1) (pin 1))
|
||||
(node (ref U3) (pin 47))
|
||||
(node (ref D2) (pin 5))
|
||||
(node (ref D2) (pin 4))
|
||||
(node (ref U3) (pin 35))
|
||||
(node (ref C5) (pin 1))
|
||||
(node (ref C4) (pin 1))
|
||||
(node (ref C8) (pin 2))
|
||||
(node (ref J4) (pin 5))
|
||||
(node (ref J4) (pin 4))
|
||||
(node (ref U3) (pin 23))
|
||||
(node (ref U2) (pin 2))
|
||||
(node (ref C3) (pin 1))
|
||||
(node (ref U4) (pin 4))
|
||||
(node (ref Q1) (pin 1)))
|
||||
(net (code 5) (name /NRST)
|
||||
(node (ref U3) (pin 7))
|
||||
(node (ref J3) (pin 3)))
|
||||
(net (code 6) (name /CANH)
|
||||
(node (ref U4) (pin 7))
|
||||
(node (ref D1) (pin 2))
|
||||
(node (ref U2) (pin 7))
|
||||
(node (ref R1) (pin 2))
|
||||
(node (ref J1) (pin 1)))
|
||||
(net (code 7) (name "Net-(R1-Pad1)")
|
||||
(node (ref SW1) (pin 2))
|
||||
(node (ref R1) (pin 1)))
|
||||
(net (code 8) (name "Net-(U3-Pad2)")
|
||||
(node (ref U3) (pin 2)))
|
||||
(net (code 9) (name "Net-(U3-Pad22)")
|
||||
(node (ref U3) (pin 22)))
|
||||
(net (code 10) (name "Net-(U3-Pad21)")
|
||||
(node (ref U3) (pin 21)))
|
||||
(net (code 11) (name "Net-(U3-Pad43)")
|
||||
(node (ref U3) (pin 43)))
|
||||
(net (code 12) (name "Net-(U3-Pad42)")
|
||||
(node (ref U3) (pin 42)))
|
||||
(net (code 13) (name "Net-(U3-Pad41)")
|
||||
(node (ref U3) (pin 41)))
|
||||
(net (code 14) (name "Net-(U3-Pad40)")
|
||||
(node (ref U3) (pin 40)))
|
||||
(net (code 15) (name "Net-(U3-Pad39)")
|
||||
(node (ref U3) (pin 39)))
|
||||
(net (code 16) (name "Net-(U3-Pad20)")
|
||||
(node (ref U3) (pin 20)))
|
||||
(net (code 17) (name "Net-(U3-Pad4)")
|
||||
(node (ref U3) (pin 4)))
|
||||
(net (code 18) (name "Net-(U3-Pad3)")
|
||||
(node (ref U3) (pin 3)))
|
||||
(net (code 19) (name "Net-(U3-Pad6)")
|
||||
(node (ref U3) (pin 6)))
|
||||
(net (code 20) (name "Net-(U3-Pad5)")
|
||||
(node (ref U3) (pin 5)))
|
||||
(net (code 21) (name "Net-(U3-Pad38)")
|
||||
(node (ref U3) (pin 38)))
|
||||
(net (code 22) (name /SWCLK)
|
||||
(node (ref U3) (pin 37))
|
||||
(node (ref J3) (pin 6)))
|
||||
(net (code 23) (name /SWDIO)
|
||||
(node (ref J3) (pin 5))
|
||||
(node (ref U3) (pin 34)))
|
||||
(net (code 24) (name "Net-(R4-Pad2)")
|
||||
(node (ref U3) (pin 33))
|
||||
(node (ref R4) (pin 2)))
|
||||
(net (code 25) (name "Net-(U3-Pad31)")
|
||||
(node (ref U3) (pin 31)))
|
||||
(net (code 26) (name "Net-(U3-Pad25)")
|
||||
(node (ref U3) (pin 25)))
|
||||
(net (code 27) (name "Net-(U3-Pad15)")
|
||||
(node (ref U3) (pin 15)))
|
||||
(net (code 28) (name "Net-(U3-Pad14)")
|
||||
(node (ref U3) (pin 14)))
|
||||
(net (code 29) (name "Net-(U3-Pad29)")
|
||||
(node (ref U3) (pin 29)))
|
||||
(net (code 30) (name "Net-(C9-Pad1)")
|
||||
(node (ref Q1) (pin 4))
|
||||
(node (ref U4) (pin 8))
|
||||
(node (ref C9) (pin 1)))
|
||||
(net (code 31) (name Earth)
|
||||
(node (ref Q1) (pin 3))
|
||||
(node (ref D1) (pin 3))
|
||||
(node (ref C9) (pin 2))
|
||||
(node (ref R2) (pin 2))
|
||||
(node (ref U4) (pin 5))
|
||||
(node (ref JP1) (pin 2))
|
||||
(node (ref J1) (pin 2)))
|
||||
(net (code 32) (name "Net-(U3-Pad30)")
|
||||
(node (ref U3) (pin 30)))
|
||||
(net (code 33) (name "Net-(U3-Pad28)")
|
||||
(node (ref U3) (pin 28)))
|
||||
(net (code 34) (name "Net-(U3-Pad27)")
|
||||
(node (ref U3) (pin 27)))
|
||||
(net (code 35) (name "Net-(U3-Pad26)")
|
||||
(node (ref U3) (pin 26)))
|
||||
(net (code 36) (name +5V)
|
||||
(node (ref C8) (pin 1))
|
||||
(node (ref U4) (pin 1))
|
||||
(node (ref Q1) (pin 2))
|
||||
(node (ref U1) (pin 3))
|
||||
(node (ref D2) (pin 8))
|
||||
(node (ref C7) (pin 1))
|
||||
(node (ref U2) (pin 3)))
|
||||
(net (code 37) (name "Net-(U2-Pad5)")
|
||||
(node (ref U2) (pin 5)))
|
||||
(net (code 38) (name "Net-(D4-Pad2)")
|
||||
(node (ref D4) (pin 2))
|
||||
(node (ref R8) (pin 1)))
|
||||
(net (code 39) (name "Net-(P1-Pad1)")
|
||||
(node (ref P1) (pin 1)))
|
||||
(net (code 40) (name "Net-(U3-Pad12)")
|
||||
(node (ref U3) (pin 12)))
|
||||
(net (code 41) (name "Net-(U3-Pad13)")
|
||||
(node (ref U3) (pin 13)))
|
||||
(net (code 42) (name "Net-(P4-Pad1)")
|
||||
(node (ref P4) (pin 1)))
|
||||
(net (code 43) (name "Net-(P3-Pad1)")
|
||||
(node (ref P3) (pin 1)))
|
||||
(net (code 44) (name "Net-(P2-Pad1)")
|
||||
(node (ref P2) (pin 1)))
|
||||
(net (code 45) (name "Net-(D2-Pad7)")
|
||||
(node (ref D2) (pin 7))
|
||||
(node (ref R3) (pin 1)))
|
||||
(net (code 46) (name /CANL)
|
||||
(node (ref J1) (pin 3))
|
||||
(node (ref U4) (pin 6))
|
||||
(node (ref SW1) (pin 1))
|
||||
(node (ref U2) (pin 6))
|
||||
(node (ref D1) (pin 1)))
|
||||
(net (code 47) (name "Net-(R2-Pad1)")
|
||||
(node (ref U2) (pin 8))
|
||||
(node (ref R2) (pin 1)))
|
||||
(net (code 48) (name "Net-(D2-Pad6)")
|
||||
(node (ref D2) (pin 6))
|
||||
(node (ref R4) (pin 1)))
|
||||
(net (code 49) (name "Net-(D3-Pad2)")
|
||||
(node (ref D3) (pin 2))
|
||||
(node (ref R7) (pin 1)))
|
||||
(net (code 50) (name "Net-(D2-Pad3)")
|
||||
(node (ref J4) (pin 3))
|
||||
(node (ref D2) (pin 3)))
|
||||
(net (code 51) (name "Net-(U3-Pad10)")
|
||||
(node (ref U3) (pin 10)))
|
||||
(net (code 52) (name "Net-(D2-Pad1)")
|
||||
(node (ref J4) (pin 1))
|
||||
(node (ref D2) (pin 1)))
|
||||
(net (code 53) (name "Net-(D2-Pad2)")
|
||||
(node (ref J4) (pin 2))
|
||||
(node (ref D2) (pin 2)))
|
||||
(net (code 54) (name "Net-(U3-Pad11)")
|
||||
(node (ref U3) (pin 11)))
|
||||
(net (code 55) (name /LED1)
|
||||
(node (ref U3) (pin 19))
|
||||
(node (ref D4) (pin 1)))
|
||||
(net (code 56) (name /LED0)
|
||||
(node (ref U3) (pin 18))
|
||||
(node (ref D3) (pin 1)))
|
||||
(net (code 57) (name "Net-(U3-Pad17)")
|
||||
(node (ref U3) (pin 17)))
|
||||
(net (code 58) (name "Net-(U3-Pad16)")
|
||||
(node (ref U3) (pin 16)))
|
||||
(net (code 59) (name "Net-(R3-Pad2)")
|
||||
(node (ref U3) (pin 32))
|
||||
(node (ref R3) (pin 2)))
|
||||
(net (code 60) (name /CAN_Tx)
|
||||
(node (ref U4) (pin 3))
|
||||
(node (ref U3) (pin 46))
|
||||
(node (ref U2) (pin 1)))
|
||||
(net (code 61) (name /CAN_Rx)
|
||||
(node (ref U4) (pin 2))
|
||||
(node (ref U3) (pin 45))
|
||||
(node (ref U2) (pin 4)))))
|
||||
BIN
F0:F030,F042,F072/deprecated/usbcan/kicad_new/stm32.pdf
Normal file
BIN
F0:F030,F042,F072/deprecated/usbcan/kicad_new/stm32.pdf
Normal file
Binary file not shown.
274
F0:F030,F042,F072/deprecated/usbcan/kicad_new/stm32.pro
Normal file
274
F0:F030,F042,F072/deprecated/usbcan/kicad_new/stm32.pro
Normal file
@@ -0,0 +1,274 @@
|
||||
update=Чт 21 мая 2020 10:30:10
|
||||
version=1
|
||||
last_client=kicad
|
||||
[cvpcb]
|
||||
version=1
|
||||
NetIExt=net
|
||||
[general]
|
||||
version=1
|
||||
[eeschema]
|
||||
version=1
|
||||
LibDir=
|
||||
[schematic_editor]
|
||||
version=1
|
||||
PageLayoutDescrFile=
|
||||
PlotDirectoryName=
|
||||
SubpartIdSeparator=0
|
||||
SubpartFirstId=65
|
||||
NetFmtName=Pcbnew
|
||||
SpiceAjustPassiveValues=0
|
||||
LabSize=50
|
||||
ERC_TestSimilarLabels=1
|
||||
[pcbnew]
|
||||
version=1
|
||||
PageLayoutDescrFile=
|
||||
LastNetListRead=stm32.net
|
||||
CopperLayerCount=2
|
||||
BoardThickness=1.6
|
||||
AllowMicroVias=0
|
||||
AllowBlindVias=0
|
||||
RequireCourtyardDefinitions=0
|
||||
ProhibitOverlappingCourtyards=1
|
||||
MinTrackWidth=0.2
|
||||
MinViaDiameter=0.7999999999999999
|
||||
MinViaDrill=0.6
|
||||
MinMicroViaDiameter=0.2
|
||||
MinMicroViaDrill=0.09999999999999999
|
||||
MinHoleToHole=0.25
|
||||
TrackWidth1=0.2
|
||||
TrackWidth2=0.2
|
||||
TrackWidth3=0.3
|
||||
TrackWidth4=0.5
|
||||
TrackWidth5=1
|
||||
TrackWidth6=2
|
||||
ViaDiameter1=1
|
||||
ViaDrill1=0.6
|
||||
ViaDiameter2=1.5
|
||||
ViaDrill2=0.8
|
||||
dPairWidth1=0.2
|
||||
dPairGap1=0.25
|
||||
dPairViaGap1=0.25
|
||||
SilkLineWidth=0.15
|
||||
SilkTextSizeV=1
|
||||
SilkTextSizeH=1
|
||||
SilkTextSizeThickness=0.15
|
||||
SilkTextItalic=0
|
||||
SilkTextUpright=1
|
||||
CopperLineWidth=0.2
|
||||
CopperTextSizeV=1.5
|
||||
CopperTextSizeH=1.5
|
||||
CopperTextThickness=0.3
|
||||
CopperTextItalic=0
|
||||
CopperTextUpright=1
|
||||
EdgeCutLineWidth=0.15
|
||||
CourtyardLineWidth=0.05
|
||||
OthersLineWidth=0.15
|
||||
OthersTextSizeV=1
|
||||
OthersTextSizeH=1
|
||||
OthersTextSizeThickness=0.15
|
||||
OthersTextItalic=0
|
||||
OthersTextUpright=1
|
||||
SolderMaskClearance=0.2
|
||||
SolderMaskMinWidth=0
|
||||
SolderPasteClearance=0
|
||||
SolderPasteRatio=-0
|
||||
[pcbnew/Layer.F.Cu]
|
||||
Name=F.Cu
|
||||
Type=0
|
||||
Enabled=1
|
||||
[pcbnew/Layer.In1.Cu]
|
||||
Name=In1.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In2.Cu]
|
||||
Name=In2.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In3.Cu]
|
||||
Name=In3.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In4.Cu]
|
||||
Name=In4.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In5.Cu]
|
||||
Name=In5.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In6.Cu]
|
||||
Name=In6.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In7.Cu]
|
||||
Name=In7.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In8.Cu]
|
||||
Name=In8.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In9.Cu]
|
||||
Name=In9.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In10.Cu]
|
||||
Name=In10.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In11.Cu]
|
||||
Name=In11.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In12.Cu]
|
||||
Name=In12.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In13.Cu]
|
||||
Name=In13.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In14.Cu]
|
||||
Name=In14.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In15.Cu]
|
||||
Name=In15.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In16.Cu]
|
||||
Name=In16.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In17.Cu]
|
||||
Name=In17.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In18.Cu]
|
||||
Name=In18.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In19.Cu]
|
||||
Name=In19.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In20.Cu]
|
||||
Name=In20.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In21.Cu]
|
||||
Name=In21.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In22.Cu]
|
||||
Name=In22.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In23.Cu]
|
||||
Name=In23.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In24.Cu]
|
||||
Name=In24.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In25.Cu]
|
||||
Name=In25.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In26.Cu]
|
||||
Name=In26.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In27.Cu]
|
||||
Name=In27.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In28.Cu]
|
||||
Name=In28.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In29.Cu]
|
||||
Name=In29.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.In30.Cu]
|
||||
Name=In30.Cu
|
||||
Type=0
|
||||
Enabled=0
|
||||
[pcbnew/Layer.B.Cu]
|
||||
Name=B.Cu
|
||||
Type=0
|
||||
Enabled=1
|
||||
[pcbnew/Layer.B.Adhes]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.F.Adhes]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.B.Paste]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.F.Paste]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.B.SilkS]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.F.SilkS]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.B.Mask]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.F.Mask]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.Dwgs.User]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.Cmts.User]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.Eco1.User]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.Eco2.User]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.Edge.Cuts]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.Margin]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.B.CrtYd]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.F.CrtYd]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.B.Fab]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.F.Fab]
|
||||
Enabled=1
|
||||
[pcbnew/Layer.Rescue]
|
||||
Enabled=0
|
||||
[pcbnew/Netclasses]
|
||||
[pcbnew/Netclasses/Default]
|
||||
Name=Default
|
||||
Clearance=0.2
|
||||
TrackWidth=0.2
|
||||
ViaDiameter=1
|
||||
ViaDrill=0.6
|
||||
uViaDiameter=0.3
|
||||
uViaDrill=0.1
|
||||
dPairWidth=0.2
|
||||
dPairGap=0.25
|
||||
dPairViaGap=0.25
|
||||
[pcbnew/Netclasses/1]
|
||||
Name=0.5
|
||||
Clearance=0.3
|
||||
TrackWidth=0.5
|
||||
ViaDiameter=1.5
|
||||
ViaDrill=0.8
|
||||
uViaDiameter=0.3
|
||||
uViaDrill=0.1
|
||||
dPairWidth=0.2
|
||||
dPairGap=0.25
|
||||
dPairViaGap=0.25
|
||||
[pcbnew/Netclasses/2]
|
||||
Name=1
|
||||
Clearance=0.5
|
||||
TrackWidth=1
|
||||
ViaDiameter=1.5
|
||||
ViaDrill=0.8
|
||||
uViaDiameter=0.3
|
||||
uViaDrill=0.1
|
||||
dPairWidth=0.2
|
||||
dPairGap=0.25
|
||||
dPairViaGap=0.25
|
||||
996
F0:F030,F042,F072/deprecated/usbcan/kicad_new/stm32.sch
Normal file
996
F0:F030,F042,F072/deprecated/usbcan/kicad_new/stm32.sch
Normal file
@@ -0,0 +1,996 @@
|
||||
EESchema Schematic File Version 4
|
||||
LIBS:stm32-cache
|
||||
EELAYER 30 0
|
||||
EELAYER END
|
||||
$Descr A4 11693 8268
|
||||
encoding utf-8
|
||||
Sheet 1 1
|
||||
Title "STM32F0x2 based USB<>CAN converter (isolated)"
|
||||
Date ""
|
||||
Rev ""
|
||||
Comp "SAO RAS"
|
||||
Comment1 ""
|
||||
Comment2 ""
|
||||
Comment3 ""
|
||||
Comment4 ""
|
||||
$EndDescr
|
||||
$Comp
|
||||
L stm32-rescue:C C3
|
||||
U 1 1 58C42D39
|
||||
P 4370 6170
|
||||
F 0 "C3" H 4395 6270 50 0000 L CNN
|
||||
F 1 "0.1" H 4395 6070 50 0000 L CNN
|
||||
F 2 "Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder" H 4408 6020 50 0001 C CNN
|
||||
F 3 "" H 4370 6170 50 0000 C CNN
|
||||
1 4370 6170
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:MCP2551-I_SN U2
|
||||
U 1 1 58C43297
|
||||
P 3830 1200
|
||||
F 0 "U2" H 3430 1550 50 0000 L CNN
|
||||
F 1 "MCP2551-I/SN" H 3930 1550 50 0000 L CNN
|
||||
F 2 "Package_SO:SOIC-8_3.9x4.9mm_P1.27mm" H 3830 700 50 0001 C CIN
|
||||
F 3 "" H 3830 1200 50 0000 C CNN
|
||||
1 3830 1200
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:+5V #PWR01
|
||||
U 1 1 58C45269
|
||||
P 6320 3470
|
||||
F 0 "#PWR01" H 6320 3320 50 0001 C CNN
|
||||
F 1 "+5V" H 6320 3610 50 0000 C CNN
|
||||
F 2 "" H 6320 3470 50 0000 C CNN
|
||||
F 3 "" H 6320 3470 50 0000 C CNN
|
||||
1 6320 3470
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:GND #PWR02
|
||||
U 1 1 58C453C7
|
||||
P 6620 3820
|
||||
F 0 "#PWR02" H 6620 3570 50 0001 C CNN
|
||||
F 1 "GND" H 6620 3670 50 0000 C CNN
|
||||
F 2 "" H 6620 3820 50 0000 C CNN
|
||||
F 3 "" H 6620 3820 50 0000 C CNN
|
||||
1 6620 3820
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:CP C1
|
||||
U 1 1 58C454F6
|
||||
P 7020 3620
|
||||
F 0 "C1" H 7045 3720 50 0000 L CNN
|
||||
F 1 "47u" H 7045 3520 50 0000 L CNN
|
||||
F 2 "Capacitor_Tantalum_SMD:CP_EIA-3216-18_Kemet-A_Pad1.58x1.35mm_HandSolder" H 7058 3470 50 0001 C CNN
|
||||
F 3 "" H 7020 3620 50 0000 C CNN
|
||||
1 7020 3620
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:+3.3V #PWR04
|
||||
U 1 1 58C455CB
|
||||
P 7020 3470
|
||||
F 0 "#PWR04" H 7020 3320 50 0001 C CNN
|
||||
F 1 "+3.3V" H 7020 3610 50 0000 C CNN
|
||||
F 2 "" H 7020 3470 50 0000 C CNN
|
||||
F 3 "" H 7020 3470 50 0000 C CNN
|
||||
1 7020 3470
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L elements:PESD1CAN D1
|
||||
U 1 1 58C46522
|
||||
P 1740 1170
|
||||
F 0 "D1" H 1740 820 50 0000 C CNN
|
||||
F 1 "PESD1CAN" H 1790 1320 50 0000 C CNN
|
||||
F 2 "TO_SOT_Packages_SMD:SOT-23" H 1740 1170 50 0001 C CNN
|
||||
F 3 "" H 1740 1170 50 0000 C CNN
|
||||
1 1740 1170
|
||||
0 1 1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:+5V #PWR06
|
||||
U 1 1 58C47B3E
|
||||
P 3830 800
|
||||
F 0 "#PWR06" H 3830 650 50 0001 C CNN
|
||||
F 1 "+5V" H 3830 940 50 0000 C CNN
|
||||
F 2 "" H 3830 800 50 0000 C CNN
|
||||
F 3 "" H 3830 800 50 0000 C CNN
|
||||
1 3830 800
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:R R2
|
||||
U 1 1 58C47F04
|
||||
P 3180 1400
|
||||
F 0 "R2" V 3260 1400 50 0000 C CNN
|
||||
F 1 "4k7" V 3180 1400 50 0000 C CNN
|
||||
F 2 "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder" V 3110 1400 50 0001 C CNN
|
||||
F 3 "" H 3180 1400 50 0000 C CNN
|
||||
1 3180 1400
|
||||
0 1 1 0
|
||||
$EndComp
|
||||
Text Notes 3690 690 2 60 ~ 0
|
||||
Non-isolated CAN
|
||||
Text Label 9770 960 2 60 ~ 0
|
||||
LED0
|
||||
Text Label 9770 1260 2 60 ~ 0
|
||||
LED1
|
||||
$Comp
|
||||
L stm32-rescue:LED-RESCUE-stm32 D3
|
||||
U 1 1 5908EA64
|
||||
P 10070 960
|
||||
F 0 "D3" H 10070 1060 50 0000 C CNN
|
||||
F 1 "LED0" H 10070 860 50 0000 C CNN
|
||||
F 2 "LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 10070 960 50 0001 C CNN
|
||||
F 3 "" H 10070 960 50 0000 C CNN
|
||||
1 10070 960
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:R R7
|
||||
U 1 1 5908EB17
|
||||
P 10470 960
|
||||
F 0 "R7" V 10550 960 50 0000 C CNN
|
||||
F 1 "330" V 10470 960 50 0000 C CNN
|
||||
F 2 "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder" V 10400 960 50 0001 C CNN
|
||||
F 3 "" H 10470 960 50 0000 C CNN
|
||||
1 10470 960
|
||||
0 -1 -1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:+3.3V #PWR019
|
||||
U 1 1 5908F9F4
|
||||
P 10770 960
|
||||
F 0 "#PWR019" H 10770 810 50 0001 C CNN
|
||||
F 1 "+3.3V" H 10770 1100 50 0000 C CNN
|
||||
F 2 "" H 10770 960 50 0000 C CNN
|
||||
F 3 "" H 10770 960 50 0000 C CNN
|
||||
1 10770 960
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:C C4
|
||||
U 1 1 590935EA
|
||||
P 4670 6170
|
||||
F 0 "C4" H 4695 6270 50 0000 L CNN
|
||||
F 1 "0.1" H 4695 6070 50 0000 L CNN
|
||||
F 2 "Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder" H 4708 6020 50 0001 C CNN
|
||||
F 3 "" H 4670 6170 50 0000 C CNN
|
||||
1 4670 6170
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:C C5
|
||||
U 1 1 59093675
|
||||
P 4970 6170
|
||||
F 0 "C5" H 4995 6270 50 0000 L CNN
|
||||
F 1 "0.1" H 4995 6070 50 0000 L CNN
|
||||
F 2 "Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder" H 5008 6020 50 0001 C CNN
|
||||
F 3 "" H 4970 6170 50 0000 C CNN
|
||||
1 4970 6170
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L elements:USB6B1 D2
|
||||
U 1 1 59098D4D
|
||||
P 6770 5320
|
||||
F 0 "D2" H 6770 4870 50 0000 C CNN
|
||||
F 1 "USB6B1" H 6770 5720 50 0000 C CNN
|
||||
F 2 "Package_SO:SOIC-8_3.9x4.9mm_P1.27mm" V 6970 5220 50 0001 C CNN
|
||||
F 3 "" V 6970 5220 50 0000 C CNN
|
||||
1 6770 5320
|
||||
-1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:LED-RESCUE-stm32 D4
|
||||
U 1 1 5909AF9A
|
||||
P 10070 1260
|
||||
F 0 "D4" H 10070 1360 50 0000 C CNN
|
||||
F 1 "LED1" H 10070 1160 50 0000 C CNN
|
||||
F 2 "LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 10070 1260 50 0001 C CNN
|
||||
F 3 "" H 10070 1260 50 0000 C CNN
|
||||
1 10070 1260
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:R R8
|
||||
U 1 1 5909AFA0
|
||||
P 10470 1260
|
||||
F 0 "R8" V 10550 1260 50 0000 C CNN
|
||||
F 1 "330" V 10470 1260 50 0000 C CNN
|
||||
F 2 "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder" V 10400 1260 50 0001 C CNN
|
||||
F 3 "" H 10470 1260 50 0000 C CNN
|
||||
1 10470 1260
|
||||
0 -1 -1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:+3.3V #PWR020
|
||||
U 1 1 5909AFA6
|
||||
P 10770 1260
|
||||
F 0 "#PWR020" H 10770 1110 50 0001 C CNN
|
||||
F 1 "+3.3V" H 10770 1400 50 0000 C CNN
|
||||
F 2 "" H 10770 1260 50 0000 C CNN
|
||||
F 3 "" H 10770 1260 50 0000 C CNN
|
||||
1 10770 1260
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Text Notes 9620 710 0 60 ~ 0
|
||||
LED indicators
|
||||
Text Notes 6200 3130 0 60 ~ 0
|
||||
3.3V MCU power source
|
||||
NoConn ~ 3330 1300
|
||||
$Comp
|
||||
L stm32-rescue:+3.3V #PWR09
|
||||
U 1 1 590A0C2D
|
||||
P 4670 6320
|
||||
F 0 "#PWR09" H 4670 6170 50 0001 C CNN
|
||||
F 1 "+3.3V" H 4670 6460 50 0000 C CNN
|
||||
F 2 "" H 4670 6320 50 0000 C CNN
|
||||
F 3 "" H 4670 6320 50 0000 C CNN
|
||||
1 4670 6320
|
||||
-1 0 0 1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:GND #PWR08
|
||||
U 1 1 590A1958
|
||||
P 4020 6020
|
||||
F 0 "#PWR08" H 4020 5770 50 0001 C CNN
|
||||
F 1 "GND" H 4020 5870 50 0000 C CNN
|
||||
F 2 "" H 4020 6020 50 0000 C CNN
|
||||
F 3 "" H 4020 6020 50 0000 C CNN
|
||||
1 4020 6020
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:GND #PWR014
|
||||
U 1 1 590A6FD0
|
||||
P 6270 5620
|
||||
F 0 "#PWR014" H 6270 5370 50 0001 C CNN
|
||||
F 1 "GND" H 6270 5470 50 0000 C CNN
|
||||
F 2 "" H 6270 5620 50 0000 C CNN
|
||||
F 3 "" H 6270 5620 50 0000 C CNN
|
||||
1 6270 5620
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:C C6
|
||||
U 1 1 590A8102
|
||||
P 5270 6170
|
||||
F 0 "C6" H 5295 6270 50 0000 L CNN
|
||||
F 1 "0.1" H 5295 6070 50 0000 L CNN
|
||||
F 2 "Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder" H 5308 6020 50 0001 C CNN
|
||||
F 3 "" H 5270 6170 50 0000 C CNN
|
||||
1 5270 6170
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Text Label 3330 1000 2 60 ~ 0
|
||||
CAN_Tx
|
||||
Text Label 3330 1100 2 60 ~ 0
|
||||
CAN_Rx
|
||||
Text Label 4170 5070 2 60 ~ 0
|
||||
CAN_Tx
|
||||
Text Label 4170 4970 2 60 ~ 0
|
||||
CAN_Rx
|
||||
Text Label 4170 3070 2 60 ~ 0
|
||||
NRST
|
||||
Text Label 4170 3270 2 60 ~ 0
|
||||
BOOT0
|
||||
$Comp
|
||||
L stm32-rescue:R R5
|
||||
U 1 1 590D30C8
|
||||
P 7440 1550
|
||||
F 0 "R5" V 7520 1550 50 0000 C CNN
|
||||
F 1 "10k" V 7440 1550 50 0000 C CNN
|
||||
F 2 "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder" V 7370 1550 50 0001 C CNN
|
||||
F 3 "" H 7440 1550 50 0000 C CNN
|
||||
1 7440 1550
|
||||
-1 0 0 1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:PWR_FLAG #FLG01
|
||||
U 1 1 590CEE5E
|
||||
P 6270 5020
|
||||
F 0 "#FLG01" H 6270 5115 50 0001 C CNN
|
||||
F 1 "PWR_FLAG" H 6270 5200 50 0001 C CNN
|
||||
F 2 "" H 6270 5020 50 0000 C CNN
|
||||
F 3 "" H 6270 5020 50 0000 C CNN
|
||||
1 6270 5020
|
||||
-1 0 0 1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:GND #PWR017
|
||||
U 1 1 590CF25B
|
||||
P 7270 5620
|
||||
F 0 "#PWR017" H 7270 5370 50 0001 C CNN
|
||||
F 1 "GND" H 7270 5470 50 0000 C CNN
|
||||
F 2 "" H 7270 5620 50 0000 C CNN
|
||||
F 3 "" H 7270 5620 50 0000 C CNN
|
||||
1 7270 5620
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:CONN_01X01 P1
|
||||
U 1 1 59143415
|
||||
P 12950 7120
|
||||
F 0 "P1" H 12950 7220 50 0000 C CNN
|
||||
F 1 "Hole" V 13050 7120 50 0000 C CNN
|
||||
F 2 "my_footprints:Hole_3mm" H 12950 7120 50 0001 C CNN
|
||||
F 3 "" H 12950 7120 50 0000 C CNN
|
||||
1 12950 7120
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:CONN_01X01 P2
|
||||
U 1 1 5914456D
|
||||
P 12950 7370
|
||||
F 0 "P2" H 12950 7470 50 0000 C CNN
|
||||
F 1 "Hole" V 13050 7370 50 0000 C CNN
|
||||
F 2 "my_footprints:Hole_3mm" H 12950 7370 50 0001 C CNN
|
||||
F 3 "" H 12950 7370 50 0000 C CNN
|
||||
1 12950 7370
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:CONN_01X01 P3
|
||||
U 1 1 591446F3
|
||||
P 12950 7620
|
||||
F 0 "P3" H 12950 7720 50 0000 C CNN
|
||||
F 1 "Hole" V 13050 7620 50 0000 C CNN
|
||||
F 2 "my_footprints:Hole_3mm" H 12950 7620 50 0001 C CNN
|
||||
F 3 "" H 12950 7620 50 0000 C CNN
|
||||
1 12950 7620
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:CONN_01X01 P4
|
||||
U 1 1 591446F9
|
||||
P 12950 7870
|
||||
F 0 "P4" H 12950 7970 50 0000 C CNN
|
||||
F 1 "Hole" V 13050 7870 50 0000 C CNN
|
||||
F 2 "my_footprints:Hole_3mm" H 12950 7870 50 0001 C CNN
|
||||
F 3 "" H 12950 7870 50 0000 C CNN
|
||||
1 12950 7870
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
NoConn ~ 12750 7120
|
||||
NoConn ~ 12750 7370
|
||||
NoConn ~ 12750 7620
|
||||
NoConn ~ 12750 7870
|
||||
$Comp
|
||||
L stm32-rescue:R R3
|
||||
U 1 1 5968E385
|
||||
P 6020 5220
|
||||
F 0 "R3" V 6100 5220 50 0000 C CNN
|
||||
F 1 "22" V 6020 5220 50 0000 C CNN
|
||||
F 2 "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder" V 5950 5220 50 0001 C CNN
|
||||
F 3 "" H 6020 5220 50 0001 C CNN
|
||||
1 6020 5220
|
||||
0 1 1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:R R4
|
||||
U 1 1 5968E83B
|
||||
P 6020 5420
|
||||
F 0 "R4" V 6100 5420 50 0000 C CNN
|
||||
F 1 "22" V 6020 5420 50 0000 C CNN
|
||||
F 2 "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder" V 5950 5420 50 0001 C CNN
|
||||
F 3 "" H 6020 5420 50 0001 C CNN
|
||||
1 6020 5420
|
||||
0 1 1 0
|
||||
$EndComp
|
||||
NoConn ~ 5470 4470
|
||||
NoConn ~ 5470 4370
|
||||
Wire Wire Line
|
||||
6620 3820 6620 3770
|
||||
Wire Wire Line
|
||||
6920 3470 7020 3470
|
||||
Wire Wire Line
|
||||
4670 6020 4670 5870
|
||||
Wire Wire Line
|
||||
5470 5270 5820 5270
|
||||
Wire Wire Line
|
||||
5820 5270 5820 5220
|
||||
Wire Wire Line
|
||||
5820 5420 5820 5370
|
||||
Wire Wire Line
|
||||
5820 5370 5470 5370
|
||||
Wire Wire Line
|
||||
7270 5420 7470 5420
|
||||
Wire Wire Line
|
||||
7470 5220 7270 5220
|
||||
Wire Wire Line
|
||||
9770 960 9920 960
|
||||
Wire Wire Line
|
||||
10220 960 10320 960
|
||||
Wire Wire Line
|
||||
10620 960 10770 960
|
||||
Wire Wire Line
|
||||
9770 1260 9920 1260
|
||||
Wire Wire Line
|
||||
10220 1260 10320 1260
|
||||
Wire Wire Line
|
||||
10620 1260 10770 1260
|
||||
Wire Notes Line
|
||||
9470 610 9470 1410
|
||||
Wire Notes Line
|
||||
9470 1410 10970 1410
|
||||
Wire Notes Line
|
||||
10970 1410 10970 610
|
||||
Wire Notes Line
|
||||
10970 610 9470 610
|
||||
Wire Wire Line
|
||||
4020 6020 4370 6020
|
||||
Connection ~ 4670 6020
|
||||
Wire Wire Line
|
||||
4370 6320 4670 6320
|
||||
Connection ~ 4670 6320
|
||||
Connection ~ 4370 6020
|
||||
Connection ~ 4970 6320
|
||||
Connection ~ 4970 6020
|
||||
Wire Wire Line
|
||||
5270 6320 4970 6320
|
||||
Wire Wire Line
|
||||
5820 5220 5870 5220
|
||||
Wire Wire Line
|
||||
6170 5220 6270 5220
|
||||
Wire Wire Line
|
||||
6270 5420 6170 5420
|
||||
Wire Wire Line
|
||||
5870 5420 5820 5420
|
||||
NoConn ~ 5470 5670
|
||||
NoConn ~ 5470 4870
|
||||
NoConn ~ 5470 4770
|
||||
Wire Wire Line
|
||||
4670 6020 4970 6020
|
||||
Wire Wire Line
|
||||
4670 6320 4970 6320
|
||||
Wire Wire Line
|
||||
4370 6020 4670 6020
|
||||
Wire Wire Line
|
||||
4970 6020 5270 6020
|
||||
$Comp
|
||||
L Interface_CAN_LIN:ISO1050DUB U4
|
||||
U 1 1 5EC5A80C
|
||||
P 5780 1040
|
||||
F 0 "U4" H 5780 1407 50 0000 C CNN
|
||||
F 1 "ISO1050DUB" H 5780 1316 50 0000 C CNN
|
||||
F 2 "Package_SO:SOP-8_6.62x9.15mm_P2.54mm" H 5780 690 50 0001 C CIN
|
||||
F 3 "http://www.ti.com/lit/ds/symlink/iso1050.pdf" H 5780 990 50 0001 C CNN
|
||||
1 5780 1040
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L elements:B0505S Q1
|
||||
U 1 1 5EC7332B
|
||||
P 5800 1650
|
||||
F 0 "Q1" H 5800 1390 50 0000 C CNN
|
||||
F 1 "B0505S" H 5800 1890 50 0000 C CNN
|
||||
F 2 "my_footprints:B0x0xS" H 5800 1650 50 0001 C CNN
|
||||
F 3 "" H 5800 1650 50 0001 C CNN
|
||||
1 5800 1650
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
NoConn ~ 5470 4170
|
||||
NoConn ~ 5470 4270
|
||||
$Comp
|
||||
L Connector:USB_B J4
|
||||
U 1 1 5ECA19CB
|
||||
P 7770 5340
|
||||
F 0 "J4" H 7810 5790 50 0000 R CNN
|
||||
F 1 "USB_B" H 7890 5690 50 0000 R CNN
|
||||
F 2 "Connectors_USB:USB_B_OST_USB-B1HSxx_Horizontal" H 7920 5290 50 0001 C CNN
|
||||
F 3 " ~" H 7920 5290 50 0001 C CNN
|
||||
1 7770 5340
|
||||
-1 0 0 1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
7270 5020 7330 5020
|
||||
Wire Wire Line
|
||||
7470 5420 7470 5340
|
||||
Wire Wire Line
|
||||
7470 5240 7470 5220
|
||||
Wire Wire Line
|
||||
7470 5540 7330 5540
|
||||
Wire Wire Line
|
||||
7330 5540 7330 5020
|
||||
$Comp
|
||||
L stm32-rescue:GND #PWR018
|
||||
U 1 1 5ECFE313
|
||||
P 8090 4940
|
||||
F 0 "#PWR018" H 8090 4690 50 0001 C CNN
|
||||
F 1 "GND" H 8090 4790 50 0000 C CNN
|
||||
F 2 "" H 8090 4940 50 0000 C CNN
|
||||
F 3 "" H 8090 4940 50 0000 C CNN
|
||||
1 8090 4940
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
7770 4940 7870 4940
|
||||
Wire Wire Line
|
||||
7870 4940 8090 4940
|
||||
Connection ~ 7870 4940
|
||||
$Comp
|
||||
L MCU_ST_STM32F0:STM32F072C8Tx U3
|
||||
U 1 1 5ED38032
|
||||
P 4870 4370
|
||||
F 0 "U3" H 4870 4620 50 0000 C CNN
|
||||
F 1 "STM32F072C8Tx" H 4840 4370 50 0000 C CNN
|
||||
F 2 "Package_QFP:LQFP-48_7x7mm_P0.5mm" H 4270 2970 50 0001 R CNN
|
||||
F 3 "http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00090510.pdf" H 4870 4370 50 0001 C CNN
|
||||
1 4870 4370
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
NoConn ~ 5470 4970
|
||||
NoConn ~ 5470 4570
|
||||
NoConn ~ 5470 4670
|
||||
Wire Wire Line
|
||||
4670 5870 4770 5870
|
||||
Connection ~ 4670 5870
|
||||
Connection ~ 4770 5870
|
||||
Wire Wire Line
|
||||
4770 5870 4870 5870
|
||||
Connection ~ 4870 5870
|
||||
Wire Wire Line
|
||||
4870 5870 4970 5870
|
||||
$Comp
|
||||
L stm32-rescue:+3.3V #PWR010
|
||||
U 1 1 5EDF00AB
|
||||
P 4870 2870
|
||||
F 0 "#PWR010" H 4870 2720 50 0001 C CNN
|
||||
F 1 "+3.3V" H 4870 3010 50 0000 C CNN
|
||||
F 2 "" H 4870 2870 50 0000 C CNN
|
||||
F 3 "" H 4870 2870 50 0000 C CNN
|
||||
1 4870 2870
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
4670 2870 4770 2870
|
||||
Connection ~ 4770 2870
|
||||
Wire Wire Line
|
||||
4770 2870 4870 2870
|
||||
Connection ~ 4870 2870
|
||||
Wire Wire Line
|
||||
4870 2870 4970 2870
|
||||
Connection ~ 4970 2870
|
||||
Wire Wire Line
|
||||
4970 2870 5070 2870
|
||||
$Comp
|
||||
L Connector:Screw_Terminal_01x03 J1
|
||||
U 1 1 5EECB9D2
|
||||
P 2450 1000
|
||||
F 0 "J1" H 2530 996 50 0000 L CNN
|
||||
F 1 "Screw_Terminal_01x03" H 2530 951 50 0001 L CNN
|
||||
F 2 "TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-3_1x03_P5.00mm_Horizontal" H 2450 1000 50 0001 C CNN
|
||||
F 3 "~" H 2450 1000 50 0001 C CNN
|
||||
1 2450 1000
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:R R1
|
||||
U 1 1 58C488C6
|
||||
P 1240 1390
|
||||
F 0 "R1" V 1320 1390 50 0000 C CNN
|
||||
F 1 "120" V 1240 1390 50 0000 C CNN
|
||||
F 2 "Resistor_SMD:R_1210_3225Metric_Pad1.42x2.65mm_HandSolder" V 1170 1390 50 0001 C CNN
|
||||
F 3 "" H 1240 1390 50 0000 C CNN
|
||||
1 1240 1390
|
||||
-1 0 0 1
|
||||
$EndComp
|
||||
Text Label 5470 5470 0 50 ~ 0
|
||||
SWDIO
|
||||
Text Label 5470 5570 0 50 ~ 0
|
||||
SWCLK
|
||||
$Comp
|
||||
L Connector:Conn_01x06_Female J3
|
||||
U 1 1 5EEF8FF5
|
||||
P 7980 1500
|
||||
F 0 "J3" H 7850 1060 50 0000 L CNN
|
||||
F 1 "SWDetc" H 7820 1140 50 0000 L CNN
|
||||
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical" H 7980 1500 50 0001 C CNN
|
||||
F 3 "~" H 7980 1500 50 0001 C CNN
|
||||
1 7980 1500
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:GND #PWR015
|
||||
U 1 1 5EF133B6
|
||||
P 7440 1700
|
||||
F 0 "#PWR015" H 7440 1450 50 0001 C CNN
|
||||
F 1 "GND" H 7440 1550 50 0000 C CNN
|
||||
F 2 "" H 7440 1700 50 0000 C CNN
|
||||
F 3 "" H 7440 1700 50 0000 C CNN
|
||||
1 7440 1700
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Text Label 7780 1400 2 60 ~ 0
|
||||
BOOT0
|
||||
Text Label 7780 1500 2 60 ~ 0
|
||||
NRST
|
||||
Wire Wire Line
|
||||
7440 1400 7780 1400
|
||||
$Comp
|
||||
L stm32-rescue:R R6
|
||||
U 1 1 5EF24BB7
|
||||
P 7780 1150
|
||||
F 0 "R6" V 7860 1150 50 0000 C CNN
|
||||
F 1 "22" V 7780 1150 50 0000 C CNN
|
||||
F 2 "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder" V 7710 1150 50 0001 C CNN
|
||||
F 3 "" H 7780 1150 50 0000 C CNN
|
||||
1 7780 1150
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:+3.3V #PWR016
|
||||
U 1 1 5EF2AAFF
|
||||
P 7780 1000
|
||||
F 0 "#PWR016" H 7780 850 50 0001 C CNN
|
||||
F 1 "+3.3V" H 7780 1140 50 0000 C CNN
|
||||
F 2 "" H 7780 1000 50 0000 C CNN
|
||||
F 3 "" H 7780 1000 50 0000 C CNN
|
||||
1 7780 1000
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
7780 1600 7540 1600
|
||||
Wire Wire Line
|
||||
7540 1600 7540 1700
|
||||
Wire Wire Line
|
||||
7540 1700 7440 1700
|
||||
Connection ~ 7440 1700
|
||||
Text Label 7780 1700 2 50 ~ 0
|
||||
SWDIO
|
||||
Text Label 7780 1800 2 50 ~ 0
|
||||
SWCLK
|
||||
Text Notes 8010 1820 0 59 ~ 0
|
||||
Vcc\nBoot0\nNrst\nGnd\nSWDIO\nSWCLK
|
||||
Wire Wire Line
|
||||
6620 3770 7020 3770
|
||||
Connection ~ 7020 3470
|
||||
NoConn ~ 4170 3470
|
||||
NoConn ~ 4170 3570
|
||||
NoConn ~ 4170 3770
|
||||
NoConn ~ 4170 3870
|
||||
NoConn ~ 4170 3970
|
||||
NoConn ~ 4170 4370
|
||||
NoConn ~ 4170 4470
|
||||
NoConn ~ 4170 4570
|
||||
NoConn ~ 4170 4670
|
||||
NoConn ~ 4170 4770
|
||||
NoConn ~ 4170 4870
|
||||
NoConn ~ 4170 5170
|
||||
NoConn ~ 4170 5270
|
||||
NoConn ~ 4170 5370
|
||||
NoConn ~ 4170 5470
|
||||
NoConn ~ 4170 5570
|
||||
NoConn ~ 4170 5670
|
||||
Text Label 4170 4170 2 60 ~ 0
|
||||
LED0
|
||||
Text Label 4170 4270 2 60 ~ 0
|
||||
LED1
|
||||
NoConn ~ 5470 5170
|
||||
NoConn ~ 5470 5070
|
||||
$Comp
|
||||
L stm32-rescue:C C2
|
||||
U 1 1 5EFCC1D1
|
||||
P 7300 3620
|
||||
F 0 "C2" H 7325 3720 50 0000 L CNN
|
||||
F 1 "0.1" H 7325 3520 50 0000 L CNN
|
||||
F 2 "Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder" H 7338 3470 50 0001 C CNN
|
||||
F 3 "" H 7300 3620 50 0000 C CNN
|
||||
1 7300 3620
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
7300 3770 7020 3770
|
||||
Connection ~ 7020 3770
|
||||
Wire Wire Line
|
||||
7300 3470 7020 3470
|
||||
Wire Notes Line
|
||||
6160 3010 6160 4030
|
||||
Wire Notes Line
|
||||
6160 4030 7490 4030
|
||||
Wire Notes Line
|
||||
7490 4030 7490 3010
|
||||
Wire Notes Line
|
||||
7490 3010 6160 3010
|
||||
$Comp
|
||||
L Switch:SW_DIP_x01 SW1
|
||||
U 1 1 5EFDFDE6
|
||||
P 940 1540
|
||||
F 0 "SW1" H 940 1680 50 0000 C CNN
|
||||
F 1 "SW_DIP_x01" H 940 1380 50 0000 C CNN
|
||||
F 2 "Button_Switch_THT:SW_DIP_SPSTx01_Slide_6.7x4.1mm_W7.62mm_P2.54mm_LowProfile" H 940 1540 50 0001 C CNN
|
||||
F 3 "~" H 940 1540 50 0001 C CNN
|
||||
1 940 1540
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Text Label 2250 900 2 50 ~ 0
|
||||
CANH
|
||||
Text Label 2250 1100 2 50 ~ 0
|
||||
CANL
|
||||
Wire Wire Line
|
||||
2250 1000 2020 1000
|
||||
Wire Wire Line
|
||||
1640 1570 2020 1570
|
||||
Text Label 1540 870 2 50 ~ 0
|
||||
CANH
|
||||
Text Label 1740 870 0 50 ~ 0
|
||||
CANL
|
||||
Text Label 1240 1240 2 50 ~ 0
|
||||
CANH
|
||||
Text Label 640 1540 1 50 ~ 0
|
||||
CANL
|
||||
Wire Notes Line
|
||||
530 580 530 1780
|
||||
Wire Notes Line
|
||||
530 1780 2690 1780
|
||||
Wire Notes Line
|
||||
2690 1780 2690 570
|
||||
Wire Notes Line
|
||||
2690 570 530 570
|
||||
Text Notes 600 780 0 59 ~ 0
|
||||
CAN\nconnectors
|
||||
Text Notes 6090 2070 2 60 ~ 0
|
||||
Isolated CAN
|
||||
Text Label 4330 1100 0 50 ~ 0
|
||||
CANH
|
||||
Text Label 4330 1300 0 50 ~ 0
|
||||
CANL
|
||||
$Comp
|
||||
L stm32-rescue:+5V #PWR012
|
||||
U 1 1 5F012762
|
||||
P 5400 1550
|
||||
F 0 "#PWR012" H 5400 1400 50 0001 C CNN
|
||||
F 1 "+5V" H 5400 1690 50 0000 C CNN
|
||||
F 2 "" H 5400 1550 50 0000 C CNN
|
||||
F 3 "" H 5400 1550 50 0000 C CNN
|
||||
1 5400 1550
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Text Label 6180 1040 0 50 ~ 0
|
||||
CANH
|
||||
Text Label 6180 1140 0 50 ~ 0
|
||||
CANL
|
||||
Wire Wire Line
|
||||
6180 1240 6250 1240
|
||||
Wire Wire Line
|
||||
6250 1240 6250 1750
|
||||
Wire Wire Line
|
||||
6250 1750 6200 1750
|
||||
Wire Wire Line
|
||||
6200 1550 6430 1550
|
||||
$Comp
|
||||
L stm32-rescue:+5V #PWR011
|
||||
U 1 1 5F026BCD
|
||||
P 5380 940
|
||||
F 0 "#PWR011" H 5380 790 50 0001 C CNN
|
||||
F 1 "+5V" H 5380 1080 50 0000 C CNN
|
||||
F 2 "" H 5380 940 50 0000 C CNN
|
||||
F 3 "" H 5380 940 50 0000 C CNN
|
||||
1 5380 940
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
5400 1750 5290 1750
|
||||
Wire Wire Line
|
||||
5290 1750 5290 1240
|
||||
Text Label 5380 1140 2 60 ~ 0
|
||||
CAN_Tx
|
||||
Text Label 5380 1040 2 60 ~ 0
|
||||
CAN_Rx
|
||||
Wire Notes Line
|
||||
2810 1800 4630 1800
|
||||
Wire Notes Line
|
||||
4630 1800 4630 570
|
||||
Wire Notes Line
|
||||
4630 570 2810 570
|
||||
Wire Notes Line
|
||||
2810 570 2810 1800
|
||||
Wire Notes Line
|
||||
7190 2020 8400 2020
|
||||
Wire Notes Line
|
||||
8400 2020 8400 610
|
||||
Wire Notes Line
|
||||
8400 610 7190 610
|
||||
Wire Notes Line
|
||||
7190 610 7190 2020
|
||||
Text Notes 7290 820 0 59 ~ 0
|
||||
Debugging\nholes
|
||||
$Comp
|
||||
L stm32-rescue:+5V #PWR0101
|
||||
U 1 1 5F0B58FE
|
||||
P 6270 5020
|
||||
F 0 "#PWR0101" H 6270 4870 50 0001 C CNN
|
||||
F 1 "+5V" H 6270 5160 50 0000 C CNN
|
||||
F 2 "" H 6270 5020 50 0000 C CNN
|
||||
F 3 "" H 6270 5020 50 0000 C CNN
|
||||
1 6270 5020
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L Regulator_Linear:LM1117-3.3 U1
|
||||
U 1 1 5F0B7BCC
|
||||
P 6620 3470
|
||||
F 0 "U1" H 6620 3712 50 0000 C CNN
|
||||
F 1 "LM1117-3.3" H 6620 3621 50 0000 C CNN
|
||||
F 2 "TO_SOT_Packages_SMD:SOT-223-3_TabPin2" H 6620 3470 50 0001 C CNN
|
||||
F 3 "http://www.ti.com/lit/ds/symlink/lm1117.pdf" H 6620 3470 50 0001 C CNN
|
||||
1 6620 3470
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Connection ~ 6620 3770
|
||||
Connection ~ 6270 5020
|
||||
$Comp
|
||||
L stm32-rescue:C C7
|
||||
U 1 1 5F0E47E1
|
||||
P 6280 3620
|
||||
F 0 "C7" H 6305 3720 50 0000 L CNN
|
||||
F 1 "0.1" H 6305 3520 50 0000 L CNN
|
||||
F 2 "Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder" H 6318 3470 50 0001 C CNN
|
||||
F 3 "" H 6280 3620 50 0000 C CNN
|
||||
1 6280 3620
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
6280 3770 6620 3770
|
||||
Wire Wire Line
|
||||
6320 3470 6280 3470
|
||||
Connection ~ 6320 3470
|
||||
$Comp
|
||||
L stm32-rescue:C C9
|
||||
U 1 1 5F0F75F5
|
||||
P 6530 1090
|
||||
F 0 "C9" H 6555 1190 50 0000 L CNN
|
||||
F 1 "1" H 6555 990 50 0000 L CNN
|
||||
F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 6568 940 50 0001 C CNN
|
||||
F 3 "" H 6530 1090 50 0000 C CNN
|
||||
1 6530 1090
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L stm32-rescue:C C8
|
||||
U 1 1 5F0F92A0
|
||||
P 4920 1090
|
||||
F 0 "C8" H 4945 1190 50 0000 L CNN
|
||||
F 1 "1" H 4945 990 50 0000 L CNN
|
||||
F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 4958 940 50 0001 C CNN
|
||||
F 3 "" H 4920 1090 50 0000 C CNN
|
||||
1 4920 1090
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
4920 940 5380 940
|
||||
Connection ~ 5380 940
|
||||
Wire Wire Line
|
||||
4920 1240 5290 1240
|
||||
Connection ~ 5290 1240
|
||||
Wire Wire Line
|
||||
5290 1240 5380 1240
|
||||
Wire Wire Line
|
||||
6530 1240 6250 1240
|
||||
Connection ~ 6250 1240
|
||||
Wire Wire Line
|
||||
6180 940 6430 940
|
||||
Wire Wire Line
|
||||
6430 1550 6430 940
|
||||
Connection ~ 6430 940
|
||||
Wire Wire Line
|
||||
6430 940 6530 940
|
||||
Wire Notes Line
|
||||
4790 570 6680 570
|
||||
Wire Notes Line
|
||||
6680 570 6680 2140
|
||||
Wire Notes Line
|
||||
6680 2140 4790 2140
|
||||
Wire Notes Line
|
||||
4790 2140 4790 570
|
||||
Text Notes 1350 2210 0 118 ~ 0
|
||||
Only one variant should be soldered:\nMCP2551 or ISO1050+B0505S !!!
|
||||
Wire Wire Line
|
||||
2020 1000 2020 1570
|
||||
$Comp
|
||||
L Device:Jumper JP1
|
||||
U 1 1 5F1521D0
|
||||
P 2400 2410
|
||||
F 0 "JP1" H 2400 2240 50 0000 C CNN
|
||||
F 1 "NON-ISOL" H 2400 2330 50 0000 C CNN
|
||||
F 2 "Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P5.08mm_Vertical" H 2400 2410 50 0001 C CNN
|
||||
F 3 "~" H 2400 2410 50 0001 C CNN
|
||||
1 2400 2410
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Text Notes 1440 2730 0 59 ~ 0
|
||||
Should be shortened in non-isolated mode
|
||||
Wire Notes Line
|
||||
1370 2740 3450 2740
|
||||
Wire Notes Line
|
||||
3450 2740 3450 2260
|
||||
Wire Notes Line
|
||||
3450 2260 1370 2260
|
||||
Wire Notes Line
|
||||
1370 2260 1370 2740
|
||||
$Comp
|
||||
L stm32-rescue:GND #PWR0102
|
||||
U 1 1 5F166DB2
|
||||
P 2100 2410
|
||||
F 0 "#PWR0102" H 2100 2160 50 0001 C CNN
|
||||
F 1 "GND" H 2100 2260 50 0000 C CNN
|
||||
F 2 "" H 2100 2410 50 0000 C CNN
|
||||
F 3 "" H 2100 2410 50 0000 C CNN
|
||||
1 2100 2410
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:Earth #PWR0103
|
||||
U 1 1 5F16840E
|
||||
P 2700 2410
|
||||
F 0 "#PWR0103" H 2700 2160 50 0001 C CNN
|
||||
F 1 "Earth" H 2700 2260 50 0001 C CNN
|
||||
F 2 "" H 2700 2410 50 0001 C CNN
|
||||
F 3 "~" H 2700 2410 50 0001 C CNN
|
||||
1 2700 2410
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:Earth #PWR0105
|
||||
U 1 1 5F16D700
|
||||
P 3030 1400
|
||||
F 0 "#PWR0105" H 3030 1150 50 0001 C CNN
|
||||
F 1 "Earth" H 3030 1250 50 0001 C CNN
|
||||
F 2 "" H 3030 1400 50 0001 C CNN
|
||||
F 3 "~" H 3030 1400 50 0001 C CNN
|
||||
1 3030 1400
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:Earth #PWR0107
|
||||
U 1 1 5F1742D7
|
||||
P 1640 1570
|
||||
F 0 "#PWR0107" H 1640 1320 50 0001 C CNN
|
||||
F 1 "Earth" H 1640 1420 50 0001 C CNN
|
||||
F 2 "" H 1640 1570 50 0001 C CNN
|
||||
F 3 "~" H 1640 1570 50 0001 C CNN
|
||||
1 1640 1570
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Connection ~ 1640 1570
|
||||
$Comp
|
||||
L power:Earth #PWR0104
|
||||
U 1 1 5F1874D1
|
||||
P 6250 1750
|
||||
F 0 "#PWR0104" H 6250 1500 50 0001 C CNN
|
||||
F 1 "Earth" H 6250 1600 50 0001 C CNN
|
||||
F 2 "" H 6250 1750 50 0001 C CNN
|
||||
F 3 "~" H 6250 1750 50 0001 C CNN
|
||||
1 6250 1750
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Connection ~ 6250 1750
|
||||
$Comp
|
||||
L stm32-rescue:GND #PWR0106
|
||||
U 1 1 5F189262
|
||||
P 5400 1750
|
||||
F 0 "#PWR0106" H 5400 1500 50 0001 C CNN
|
||||
F 1 "GND" H 5400 1600 50 0000 C CNN
|
||||
F 2 "" H 5400 1750 50 0000 C CNN
|
||||
F 3 "" H 5400 1750 50 0000 C CNN
|
||||
1 5400 1750
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Connection ~ 5400 1750
|
||||
$Comp
|
||||
L stm32-rescue:GND #PWR0108
|
||||
U 1 1 5F1898E6
|
||||
P 3830 1600
|
||||
F 0 "#PWR0108" H 3830 1350 50 0001 C CNN
|
||||
F 1 "GND" H 3830 1450 50 0000 C CNN
|
||||
F 2 "" H 3830 1600 50 0000 C CNN
|
||||
F 3 "" H 3830 1600 50 0000 C CNN
|
||||
1 3830 1600
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$EndSCHEMATC
|
||||
890
F0:F030,F042,F072/deprecated/usbcan/kicad_new/stm32.xml
Normal file
890
F0:F030,F042,F072/deprecated/usbcan/kicad_new/stm32.xml
Normal file
@@ -0,0 +1,890 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<export version="E">
|
||||
<design>
|
||||
<source>/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.kicad_sch</source>
|
||||
<date>Пт 23 сен 2022 11:34:14</date>
|
||||
<tool>Eeschema 6.0.5</tool>
|
||||
<sheet number="1" name="/" tstamps="/">
|
||||
<title_block>
|
||||
<title>STM32F0x2 based USB<>CAN converter (isolated)</title>
|
||||
<company>SAO RAS</company>
|
||||
<rev/>
|
||||
<date/>
|
||||
<source>stm32.kicad_sch</source>
|
||||
<comment number="1" value=""/>
|
||||
<comment number="2" value=""/>
|
||||
<comment number="3" value=""/>
|
||||
<comment number="4" value=""/>
|
||||
<comment number="5" value=""/>
|
||||
<comment number="6" value=""/>
|
||||
<comment number="7" value=""/>
|
||||
<comment number="8" value=""/>
|
||||
<comment number="9" value=""/>
|
||||
</title_block>
|
||||
</sheet>
|
||||
</design>
|
||||
<components>
|
||||
<comp ref="C1">
|
||||
<value>47u</value>
|
||||
<footprint>Capacitor_Tantalum_SMD:CP_EIA-3216-18_Kemet-A_Pad1.58x1.35mm_HandSolder</footprint>
|
||||
<libsource lib="stm32-rescue" part="CP" description=""/>
|
||||
<property name="Sheetname" value=""/>
|
||||
<property name="Sheetfile" value="/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.sch"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamps>00000000-0000-0000-0000-000058c454f6</tstamps>
|
||||
</comp>
|
||||
<comp ref="C2">
|
||||
<value>0.1</value>
|
||||
<footprint>Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
|
||||
<libsource lib="stm32-rescue" part="C" description=""/>
|
||||
<property name="Sheetname" value=""/>
|
||||
<property name="Sheetfile" value="/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.sch"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamps>00000000-0000-0000-0000-00005efcc1d1</tstamps>
|
||||
</comp>
|
||||
<comp ref="C3">
|
||||
<value>0.1</value>
|
||||
<footprint>Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
|
||||
<libsource lib="stm32-rescue" part="C" description=""/>
|
||||
<property name="Sheetname" value=""/>
|
||||
<property name="Sheetfile" value="/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.sch"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamps>00000000-0000-0000-0000-000058c42d39</tstamps>
|
||||
</comp>
|
||||
<comp ref="C4">
|
||||
<value>0.1</value>
|
||||
<footprint>Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
|
||||
<libsource lib="stm32-rescue" part="C" description=""/>
|
||||
<property name="Sheetname" value=""/>
|
||||
<property name="Sheetfile" value="/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.sch"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamps>00000000-0000-0000-0000-0000590935ea</tstamps>
|
||||
</comp>
|
||||
<comp ref="C5">
|
||||
<value>0.1</value>
|
||||
<footprint>Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
|
||||
<libsource lib="stm32-rescue" part="C" description=""/>
|
||||
<property name="Sheetname" value=""/>
|
||||
<property name="Sheetfile" value="/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.sch"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamps>00000000-0000-0000-0000-000059093675</tstamps>
|
||||
</comp>
|
||||
<comp ref="C6">
|
||||
<value>0.1</value>
|
||||
<footprint>Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
|
||||
<libsource lib="stm32-rescue" part="C" description=""/>
|
||||
<property name="Sheetname" value=""/>
|
||||
<property name="Sheetfile" value="/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.sch"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamps>00000000-0000-0000-0000-0000590a8102</tstamps>
|
||||
</comp>
|
||||
<comp ref="C7">
|
||||
<value>0.1</value>
|
||||
<footprint>Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
|
||||
<libsource lib="stm32-rescue" part="C" description=""/>
|
||||
<property name="Sheetname" value=""/>
|
||||
<property name="Sheetfile" value="/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.sch"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamps>00000000-0000-0000-0000-00005f0e47e1</tstamps>
|
||||
</comp>
|
||||
<comp ref="C8">
|
||||
<value>1</value>
|
||||
<footprint>Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder</footprint>
|
||||
<libsource lib="stm32-rescue" part="C" description=""/>
|
||||
<property name="Sheetname" value=""/>
|
||||
<property name="Sheetfile" value="/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.sch"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamps>00000000-0000-0000-0000-00005f0f92a0</tstamps>
|
||||
</comp>
|
||||
<comp ref="C9">
|
||||
<value>1</value>
|
||||
<footprint>Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder</footprint>
|
||||
<libsource lib="stm32-rescue" part="C" description=""/>
|
||||
<property name="Sheetname" value=""/>
|
||||
<property name="Sheetfile" value="/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.sch"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamps>00000000-0000-0000-0000-00005f0f75f5</tstamps>
|
||||
</comp>
|
||||
<comp ref="D1">
|
||||
<value>PESD1CAN</value>
|
||||
<footprint>TO_SOT_Packages_SMD:SOT-23</footprint>
|
||||
<libsource lib="elements" part="PESD1CAN" description=""/>
|
||||
<property name="Sheetname" value=""/>
|
||||
<property name="Sheetfile" value="/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.sch"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamps>00000000-0000-0000-0000-000058c46522</tstamps>
|
||||
</comp>
|
||||
<comp ref="D2">
|
||||
<value>USB6B1</value>
|
||||
<footprint>Package_SO:SOIC-8_3.9x4.9mm_P1.27mm</footprint>
|
||||
<libsource lib="elements" part="USB6B1" description=""/>
|
||||
<property name="Sheetname" value=""/>
|
||||
<property name="Sheetfile" value="/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.sch"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamps>00000000-0000-0000-0000-000059098d4d</tstamps>
|
||||
</comp>
|
||||
<comp ref="D3">
|
||||
<value>LED0</value>
|
||||
<footprint>LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder</footprint>
|
||||
<libsource lib="stm32-rescue" part="LED-RESCUE-stm32" description=""/>
|
||||
<property name="Sheetname" value=""/>
|
||||
<property name="Sheetfile" value="/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.sch"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamps>00000000-0000-0000-0000-00005908ea64</tstamps>
|
||||
</comp>
|
||||
<comp ref="D4">
|
||||
<value>LED1</value>
|
||||
<footprint>LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder</footprint>
|
||||
<libsource lib="stm32-rescue" part="LED-RESCUE-stm32" description=""/>
|
||||
<property name="Sheetname" value=""/>
|
||||
<property name="Sheetfile" value="/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.sch"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamps>00000000-0000-0000-0000-00005909af9a</tstamps>
|
||||
</comp>
|
||||
<comp ref="J1">
|
||||
<value>Screw_Terminal_01x03</value>
|
||||
<footprint>TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-3_1x03_P5.00mm_Horizontal</footprint>
|
||||
<libsource lib="Connector" part="Screw_Terminal_01x03" description="Generic screw terminal, single row, 01x03, script generated (kicad-library-utils/schlib/autogen/connector/)"/>
|
||||
<property name="Sheetname" value=""/>
|
||||
<property name="Sheetfile" value="/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.sch"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamps>00000000-0000-0000-0000-00005eecb9d2</tstamps>
|
||||
</comp>
|
||||
<comp ref="J3">
|
||||
<value>SWDetc</value>
|
||||
<footprint>Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical</footprint>
|
||||
<libsource lib="Connector" part="Conn_01x06_Female" description="Generic connector, single row, 01x06, script generated (kicad-library-utils/schlib/autogen/connector/)"/>
|
||||
<property name="Sheetname" value=""/>
|
||||
<property name="Sheetfile" value="/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.sch"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamps>00000000-0000-0000-0000-00005eef8ff5</tstamps>
|
||||
</comp>
|
||||
<comp ref="J4">
|
||||
<value>USB_B</value>
|
||||
<footprint>Connectors_USB:USB_B_OST_USB-B1HSxx_Horizontal</footprint>
|
||||
<datasheet> ~</datasheet>
|
||||
<libsource lib="Connector" part="USB_B" description="USB Type B connector"/>
|
||||
<property name="Sheetname" value=""/>
|
||||
<property name="Sheetfile" value="/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.sch"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamps>00000000-0000-0000-0000-00005eca19cb</tstamps>
|
||||
</comp>
|
||||
<comp ref="P1">
|
||||
<value>Hole</value>
|
||||
<footprint>my_footprints:Hole_3mm</footprint>
|
||||
<libsource lib="stm32-rescue" part="CONN_01X01" description=""/>
|
||||
<property name="Sheetname" value=""/>
|
||||
<property name="Sheetfile" value="/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.sch"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamps>00000000-0000-0000-0000-000059143415</tstamps>
|
||||
</comp>
|
||||
<comp ref="P2">
|
||||
<value>Hole</value>
|
||||
<footprint>my_footprints:Hole_3mm</footprint>
|
||||
<libsource lib="stm32-rescue" part="CONN_01X01" description=""/>
|
||||
<property name="Sheetname" value=""/>
|
||||
<property name="Sheetfile" value="/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.sch"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamps>00000000-0000-0000-0000-00005914456d</tstamps>
|
||||
</comp>
|
||||
<comp ref="P3">
|
||||
<value>Hole</value>
|
||||
<footprint>my_footprints:Hole_3mm</footprint>
|
||||
<libsource lib="stm32-rescue" part="CONN_01X01" description=""/>
|
||||
<property name="Sheetname" value=""/>
|
||||
<property name="Sheetfile" value="/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.sch"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamps>00000000-0000-0000-0000-0000591446f3</tstamps>
|
||||
</comp>
|
||||
<comp ref="P4">
|
||||
<value>Hole</value>
|
||||
<footprint>my_footprints:Hole_3mm</footprint>
|
||||
<libsource lib="stm32-rescue" part="CONN_01X01" description=""/>
|
||||
<property name="Sheetname" value=""/>
|
||||
<property name="Sheetfile" value="/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.sch"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamps>00000000-0000-0000-0000-0000591446f9</tstamps>
|
||||
</comp>
|
||||
<comp ref="Q1">
|
||||
<value>B0505S</value>
|
||||
<footprint>my_footprints:B0x0xS</footprint>
|
||||
<libsource lib="elements" part="B0505S" description=""/>
|
||||
<property name="Sheetname" value=""/>
|
||||
<property name="Sheetfile" value="/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.sch"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamps>00000000-0000-0000-0000-00005ec7332b</tstamps>
|
||||
</comp>
|
||||
<comp ref="R1">
|
||||
<value>120</value>
|
||||
<footprint>Resistor_SMD:R_1210_3225Metric_Pad1.42x2.65mm_HandSolder</footprint>
|
||||
<libsource lib="stm32-rescue" part="R" description=""/>
|
||||
<property name="Sheetname" value=""/>
|
||||
<property name="Sheetfile" value="/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.sch"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamps>00000000-0000-0000-0000-000058c488c6</tstamps>
|
||||
</comp>
|
||||
<comp ref="R3">
|
||||
<value>22</value>
|
||||
<footprint>Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
|
||||
<libsource lib="stm32-rescue" part="R" description=""/>
|
||||
<property name="Sheetname" value=""/>
|
||||
<property name="Sheetfile" value="/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.sch"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamps>00000000-0000-0000-0000-00005968e385</tstamps>
|
||||
</comp>
|
||||
<comp ref="R4">
|
||||
<value>22</value>
|
||||
<footprint>Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
|
||||
<libsource lib="stm32-rescue" part="R" description=""/>
|
||||
<property name="Sheetname" value=""/>
|
||||
<property name="Sheetfile" value="/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.sch"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamps>00000000-0000-0000-0000-00005968e83b</tstamps>
|
||||
</comp>
|
||||
<comp ref="R5">
|
||||
<value>10k</value>
|
||||
<footprint>Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
|
||||
<libsource lib="stm32-rescue" part="R" description=""/>
|
||||
<property name="Sheetname" value=""/>
|
||||
<property name="Sheetfile" value="/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.sch"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamps>00000000-0000-0000-0000-0000590d30c8</tstamps>
|
||||
</comp>
|
||||
<comp ref="R6">
|
||||
<value>22</value>
|
||||
<footprint>Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
|
||||
<libsource lib="stm32-rescue" part="R" description=""/>
|
||||
<property name="Sheetname" value=""/>
|
||||
<property name="Sheetfile" value="/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.sch"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamps>00000000-0000-0000-0000-00005ef24bb7</tstamps>
|
||||
</comp>
|
||||
<comp ref="R7">
|
||||
<value>330</value>
|
||||
<footprint>Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
|
||||
<libsource lib="stm32-rescue" part="R" description=""/>
|
||||
<property name="Sheetname" value=""/>
|
||||
<property name="Sheetfile" value="/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.sch"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamps>00000000-0000-0000-0000-00005908eb17</tstamps>
|
||||
</comp>
|
||||
<comp ref="R8">
|
||||
<value>330</value>
|
||||
<footprint>Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder</footprint>
|
||||
<libsource lib="stm32-rescue" part="R" description=""/>
|
||||
<property name="Sheetname" value=""/>
|
||||
<property name="Sheetfile" value="/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.sch"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamps>00000000-0000-0000-0000-00005909afa0</tstamps>
|
||||
</comp>
|
||||
<comp ref="SW1">
|
||||
<value>SW_DIP_x01</value>
|
||||
<footprint>Button_Switch_THT:SW_DIP_SPSTx01_Slide_6.7x4.1mm_W7.62mm_P2.54mm_LowProfile</footprint>
|
||||
<libsource lib="Switch" part="SW_DIP_x01" description="1x DIP Switch, Single Pole Single Throw (SPST) switch, small symbol"/>
|
||||
<property name="Sheetname" value=""/>
|
||||
<property name="Sheetfile" value="/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.sch"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamps>00000000-0000-0000-0000-00005efdfde6</tstamps>
|
||||
</comp>
|
||||
<comp ref="U1">
|
||||
<value>LM1117-3.3</value>
|
||||
<footprint>TO_SOT_Packages_SMD:SOT-223-3_TabPin2</footprint>
|
||||
<datasheet>http://www.ti.com/lit/ds/symlink/lm1117.pdf</datasheet>
|
||||
<libsource lib="Regulator_Linear" part="LM1117-3.3" description="800mA Low-Dropout Linear Regulator, 3.3V fixed output, TO-220/TO-252/TO-263/SOT-223"/>
|
||||
<property name="Sheetname" value=""/>
|
||||
<property name="Sheetfile" value="/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.sch"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamps>00000000-0000-0000-0000-00005f0b7bcc</tstamps>
|
||||
</comp>
|
||||
<comp ref="U3">
|
||||
<value>STM32F072C8Tx</value>
|
||||
<footprint>Package_QFP:LQFP-48_7x7mm_P0.5mm</footprint>
|
||||
<datasheet>http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00090510.pdf</datasheet>
|
||||
<libsource lib="MCU_ST_STM32F0" part="STM32F072C8Tx" description="ARM Cortex-M0 MCU, 64KB flash, 16KB RAM, 48MHz, 2-3.6V, 37 GPIO, LQFP-48"/>
|
||||
<property name="Sheetname" value=""/>
|
||||
<property name="Sheetfile" value="/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.sch"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamps>00000000-0000-0000-0000-00005ed38032</tstamps>
|
||||
</comp>
|
||||
<comp ref="U4">
|
||||
<value>ISO1050DUB</value>
|
||||
<footprint>Package_SO:SOP-8_6.62x9.15mm_P2.54mm</footprint>
|
||||
<datasheet>http://www.ti.com/lit/ds/symlink/iso1050.pdf</datasheet>
|
||||
<libsource lib="Interface_CAN_LIN" part="ISO1050DUB" description="Isolated CAN Transceiver, SOP-8"/>
|
||||
<property name="Sheetname" value=""/>
|
||||
<property name="Sheetfile" value="/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32.sch"/>
|
||||
<sheetpath names="/" tstamps="/"/>
|
||||
<tstamps>00000000-0000-0000-0000-00005ec5a80c</tstamps>
|
||||
</comp>
|
||||
</components>
|
||||
<libparts>
|
||||
<libpart lib="Connector" part="Conn_01x06_Female">
|
||||
<description>Generic connector, single row, 01x06, script generated (kicad-library-utils/schlib/autogen/connector/)</description>
|
||||
<docs>~</docs>
|
||||
<footprints>
|
||||
<fp>Connector*:*_1x??_*</fp>
|
||||
</footprints>
|
||||
<fields>
|
||||
<field name="Reference">J</field>
|
||||
<field name="Value">Conn_01x06_Female</field>
|
||||
<field name="Datasheet">~</field>
|
||||
</fields>
|
||||
<pins>
|
||||
<pin num="1" name="Pin_1" type="passive"/>
|
||||
<pin num="2" name="Pin_2" type="passive"/>
|
||||
<pin num="3" name="Pin_3" type="passive"/>
|
||||
<pin num="4" name="Pin_4" type="passive"/>
|
||||
<pin num="5" name="Pin_5" type="passive"/>
|
||||
<pin num="6" name="Pin_6" type="passive"/>
|
||||
</pins>
|
||||
</libpart>
|
||||
<libpart lib="Connector" part="Screw_Terminal_01x03">
|
||||
<description>Generic screw terminal, single row, 01x03, script generated (kicad-library-utils/schlib/autogen/connector/)</description>
|
||||
<docs>~</docs>
|
||||
<footprints>
|
||||
<fp>TerminalBlock*:*</fp>
|
||||
</footprints>
|
||||
<fields>
|
||||
<field name="Reference">J</field>
|
||||
<field name="Value">Screw_Terminal_01x03</field>
|
||||
<field name="Datasheet">~</field>
|
||||
</fields>
|
||||
<pins>
|
||||
<pin num="1" name="Pin_1" type="passive"/>
|
||||
<pin num="2" name="Pin_2" type="passive"/>
|
||||
<pin num="3" name="Pin_3" type="passive"/>
|
||||
</pins>
|
||||
</libpart>
|
||||
<libpart lib="Connector" part="USB_B">
|
||||
<description>USB Type B connector</description>
|
||||
<docs> ~</docs>
|
||||
<footprints>
|
||||
<fp>USB*</fp>
|
||||
</footprints>
|
||||
<fields>
|
||||
<field name="Reference">J</field>
|
||||
<field name="Value">USB_B</field>
|
||||
<field name="Datasheet"> ~</field>
|
||||
</fields>
|
||||
<pins>
|
||||
<pin num="1" name="VBUS" type="power_out"/>
|
||||
<pin num="2" name="D-" type="bidirectional"/>
|
||||
<pin num="3" name="D+" type="bidirectional"/>
|
||||
<pin num="4" name="GND" type="power_out"/>
|
||||
<pin num="5" name="Shield" type="passive"/>
|
||||
</pins>
|
||||
</libpart>
|
||||
<libpart lib="Interface_CAN_LIN" part="ISO1050DUB">
|
||||
<description>Isolated CAN Transceiver, SOP-8</description>
|
||||
<docs>http://www.ti.com/lit/ds/symlink/iso1050.pdf</docs>
|
||||
<footprints>
|
||||
<fp>SOP*6.62x9.15mm*P2.54mm*</fp>
|
||||
</footprints>
|
||||
<fields>
|
||||
<field name="Reference">U</field>
|
||||
<field name="Value">ISO1050DUB</field>
|
||||
<field name="Footprint">Package_SO:SOP-8_6.62x9.15mm_P2.54mm</field>
|
||||
<field name="Datasheet">http://www.ti.com/lit/ds/symlink/iso1050.pdf</field>
|
||||
</fields>
|
||||
<pins>
|
||||
<pin num="1" name="VCC1" type="power_in"/>
|
||||
<pin num="2" name="RXD" type="output"/>
|
||||
<pin num="3" name="TXD" type="input"/>
|
||||
<pin num="4" name="GND1" type="power_in"/>
|
||||
<pin num="5" name="GND2" type="power_in"/>
|
||||
<pin num="6" name="CANL" type="bidirectional"/>
|
||||
<pin num="7" name="CANH" type="bidirectional"/>
|
||||
<pin num="8" name="VCC2" type="power_in"/>
|
||||
</pins>
|
||||
</libpart>
|
||||
<libpart lib="MCU_ST_STM32F0" part="STM32F072C8Tx">
|
||||
<description>ARM Cortex-M0 MCU, 64KB flash, 16KB RAM, 48MHz, 2-3.6V, 37 GPIO, LQFP-48</description>
|
||||
<docs>http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00090510.pdf</docs>
|
||||
<footprints>
|
||||
<fp>LQFP*7x7mm*P0.5mm*</fp>
|
||||
</footprints>
|
||||
<fields>
|
||||
<field name="Reference">U</field>
|
||||
<field name="Value">STM32F072C8Tx</field>
|
||||
<field name="Footprint">Package_QFP:LQFP-48_7x7mm_P0.5mm</field>
|
||||
<field name="Datasheet">http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00090510.pdf</field>
|
||||
</fields>
|
||||
<pins>
|
||||
<pin num="1" name="VBAT" type="power_in"/>
|
||||
<pin num="2" name="PC13" type="bidirectional"/>
|
||||
<pin num="3" name="PC14" type="bidirectional"/>
|
||||
<pin num="4" name="PC15" type="bidirectional"/>
|
||||
<pin num="5" name="PF0" type="input"/>
|
||||
<pin num="6" name="PF1" type="input"/>
|
||||
<pin num="7" name="NRST" type="input"/>
|
||||
<pin num="8" name="VSSA" type="power_in"/>
|
||||
<pin num="9" name="VDDA" type="power_in"/>
|
||||
<pin num="10" name="PA0" type="bidirectional"/>
|
||||
<pin num="11" name="PA1" type="bidirectional"/>
|
||||
<pin num="12" name="PA2" type="bidirectional"/>
|
||||
<pin num="13" name="PA3" type="bidirectional"/>
|
||||
<pin num="14" name="PA4" type="bidirectional"/>
|
||||
<pin num="15" name="PA5" type="bidirectional"/>
|
||||
<pin num="16" name="PA6" type="bidirectional"/>
|
||||
<pin num="17" name="PA7" type="bidirectional"/>
|
||||
<pin num="18" name="PB0" type="bidirectional"/>
|
||||
<pin num="19" name="PB1" type="bidirectional"/>
|
||||
<pin num="20" name="PB2" type="bidirectional"/>
|
||||
<pin num="21" name="PB10" type="bidirectional"/>
|
||||
<pin num="22" name="PB11" type="bidirectional"/>
|
||||
<pin num="23" name="VSS" type="power_in"/>
|
||||
<pin num="24" name="VDD" type="power_in"/>
|
||||
<pin num="25" name="PB12" type="bidirectional"/>
|
||||
<pin num="26" name="PB13" type="bidirectional"/>
|
||||
<pin num="27" name="PB14" type="bidirectional"/>
|
||||
<pin num="28" name="PB15" type="bidirectional"/>
|
||||
<pin num="29" name="PA8" type="bidirectional"/>
|
||||
<pin num="30" name="PA9" type="bidirectional"/>
|
||||
<pin num="31" name="PA10" type="bidirectional"/>
|
||||
<pin num="32" name="PA11" type="bidirectional"/>
|
||||
<pin num="33" name="PA12" type="bidirectional"/>
|
||||
<pin num="34" name="PA13" type="bidirectional"/>
|
||||
<pin num="35" name="VSS" type="power_in"/>
|
||||
<pin num="36" name="VDDIO2" type="power_in"/>
|
||||
<pin num="37" name="PA14" type="bidirectional"/>
|
||||
<pin num="38" name="PA15" type="bidirectional"/>
|
||||
<pin num="39" name="PB3" type="bidirectional"/>
|
||||
<pin num="40" name="PB4" type="bidirectional"/>
|
||||
<pin num="41" name="PB5" type="bidirectional"/>
|
||||
<pin num="42" name="PB6" type="bidirectional"/>
|
||||
<pin num="43" name="PB7" type="bidirectional"/>
|
||||
<pin num="44" name="BOOT0" type="input"/>
|
||||
<pin num="45" name="PB8" type="bidirectional"/>
|
||||
<pin num="46" name="PB9" type="bidirectional"/>
|
||||
<pin num="47" name="VSS" type="power_in"/>
|
||||
<pin num="48" name="VDD" type="power_in"/>
|
||||
</pins>
|
||||
</libpart>
|
||||
<libpart lib="Regulator_Linear" part="LM1117-3.3">
|
||||
<description>800mA Low-Dropout Linear Regulator, 3.3V fixed output, TO-220/TO-252/TO-263/SOT-223</description>
|
||||
<docs>http://www.ti.com/lit/ds/symlink/lm1117.pdf</docs>
|
||||
<footprints>
|
||||
<fp>SOT?223*</fp>
|
||||
<fp>TO?263*</fp>
|
||||
<fp>TO?252*</fp>
|
||||
<fp>TO?220*</fp>
|
||||
</footprints>
|
||||
<fields>
|
||||
<field name="Reference">U</field>
|
||||
<field name="Value">LM1117-3.3</field>
|
||||
<field name="Datasheet">http://www.ti.com/lit/ds/symlink/lm1117.pdf</field>
|
||||
</fields>
|
||||
<pins>
|
||||
<pin num="1" name="GND" type="power_in"/>
|
||||
<pin num="2" name="VO" type="power_out"/>
|
||||
<pin num="3" name="VI" type="power_in"/>
|
||||
</pins>
|
||||
</libpart>
|
||||
<libpart lib="Switch" part="SW_DIP_x01">
|
||||
<description>1x DIP Switch, Single Pole Single Throw (SPST) switch, small symbol</description>
|
||||
<docs>~</docs>
|
||||
<footprints>
|
||||
<fp>SW?DIP?x1*</fp>
|
||||
</footprints>
|
||||
<fields>
|
||||
<field name="Reference">SW</field>
|
||||
<field name="Value">SW_DIP_x01</field>
|
||||
<field name="Datasheet">~</field>
|
||||
</fields>
|
||||
<pins>
|
||||
<pin num="1" name="" type="passive"/>
|
||||
<pin num="2" name="" type="passive"/>
|
||||
</pins>
|
||||
</libpart>
|
||||
<libpart lib="elements" part="B0505S">
|
||||
<footprints>
|
||||
<fp>b0x0xs</fp>
|
||||
</footprints>
|
||||
<fields>
|
||||
<field name="Reference">Q?</field>
|
||||
<field name="Value">B0505S</field>
|
||||
<field name="Footprint">my_footprints:B0x0xS</field>
|
||||
</fields>
|
||||
<pins>
|
||||
<pin num="1" name="GND" type="power_in"/>
|
||||
<pin num="2" name="Vin" type="power_in"/>
|
||||
<pin num="3" name="0V" type="power_out"/>
|
||||
<pin num="4" name="+Vo" type="power_out"/>
|
||||
</pins>
|
||||
</libpart>
|
||||
<libpart lib="elements" part="PESD1CAN">
|
||||
<footprints>
|
||||
<fp>SOT23</fp>
|
||||
</footprints>
|
||||
<fields>
|
||||
<field name="Reference">D</field>
|
||||
<field name="Value">PESD1CAN</field>
|
||||
</fields>
|
||||
<pins>
|
||||
<pin num="1" name="K" type="passive"/>
|
||||
<pin num="2" name="K" type="passive"/>
|
||||
<pin num="3" name="O" type="passive"/>
|
||||
</pins>
|
||||
</libpart>
|
||||
<libpart lib="elements" part="USB6B1">
|
||||
<footprints>
|
||||
<fp>SO8</fp>
|
||||
</footprints>
|
||||
<fields>
|
||||
<field name="Reference">D</field>
|
||||
<field name="Value">USB6B1</field>
|
||||
</fields>
|
||||
<pins>
|
||||
<pin num="1" name="VCC" type="passive"/>
|
||||
<pin num="2" name="I/O1" type="passive"/>
|
||||
<pin num="3" name="I/O2" type="passive"/>
|
||||
<pin num="4" name="GND" type="passive"/>
|
||||
<pin num="5" name="GND" type="passive"/>
|
||||
<pin num="6" name="I/O2" type="passive"/>
|
||||
<pin num="7" name="I/O1" type="passive"/>
|
||||
<pin num="8" name="VCC" type="passive"/>
|
||||
</pins>
|
||||
</libpart>
|
||||
<libpart lib="stm32-rescue" part="C">
|
||||
<footprints>
|
||||
<fp>C_*</fp>
|
||||
</footprints>
|
||||
<fields>
|
||||
<field name="Reference">C</field>
|
||||
<field name="Value">C</field>
|
||||
</fields>
|
||||
<pins>
|
||||
<pin num="1" name="" type="passive"/>
|
||||
<pin num="2" name="" type="passive"/>
|
||||
</pins>
|
||||
</libpart>
|
||||
<libpart lib="stm32-rescue" part="CONN_01X01">
|
||||
<footprints>
|
||||
<fp>Pin_Header_Straight_1X*</fp>
|
||||
<fp>Pin_Header_Angled_1X*</fp>
|
||||
<fp>Socket_Strip_Straight_1X*</fp>
|
||||
<fp>Socket_Strip_Angled_1X*</fp>
|
||||
</footprints>
|
||||
<fields>
|
||||
<field name="Reference">J</field>
|
||||
<field name="Value">CONN_01X01</field>
|
||||
</fields>
|
||||
<pins>
|
||||
<pin num="1" name="P1" type="passive"/>
|
||||
</pins>
|
||||
</libpart>
|
||||
<libpart lib="stm32-rescue" part="CP">
|
||||
<footprints>
|
||||
<fp>CP_*</fp>
|
||||
</footprints>
|
||||
<fields>
|
||||
<field name="Reference">C</field>
|
||||
<field name="Value">CP</field>
|
||||
</fields>
|
||||
<pins>
|
||||
<pin num="1" name="" type="passive"/>
|
||||
<pin num="2" name="" type="passive"/>
|
||||
</pins>
|
||||
</libpart>
|
||||
<libpart lib="stm32-rescue" part="LED-RESCUE-stm32">
|
||||
<footprints>
|
||||
<fp>LED*</fp>
|
||||
</footprints>
|
||||
<fields>
|
||||
<field name="Reference">D</field>
|
||||
<field name="Value">LED-RESCUE-stm32</field>
|
||||
</fields>
|
||||
<pins>
|
||||
<pin num="1" name="K" type="passive"/>
|
||||
<pin num="2" name="A" type="passive"/>
|
||||
</pins>
|
||||
</libpart>
|
||||
<libpart lib="stm32-rescue" part="R">
|
||||
<footprints>
|
||||
<fp>R_*</fp>
|
||||
<fp>R_*</fp>
|
||||
</footprints>
|
||||
<fields>
|
||||
<field name="Reference">R</field>
|
||||
<field name="Value">R</field>
|
||||
</fields>
|
||||
<pins>
|
||||
<pin num="1" name="" type="passive"/>
|
||||
<pin num="2" name="" type="passive"/>
|
||||
</pins>
|
||||
</libpart>
|
||||
</libparts>
|
||||
<libraries>
|
||||
<library logical="Connector">
|
||||
<uri>/usr/share/kicad/kicad-symbols/Connector.kicad_sym</uri>
|
||||
</library>
|
||||
<library logical="Interface_CAN_LIN">
|
||||
<uri>/usr/share/kicad/kicad-symbols/Interface_CAN_LIN.kicad_sym</uri>
|
||||
</library>
|
||||
<library logical="MCU_ST_STM32F0">
|
||||
<uri>/usr/share/kicad/kicad-symbols/MCU_ST_STM32F0.kicad_sym</uri>
|
||||
</library>
|
||||
<library logical="Regulator_Linear">
|
||||
<uri>/usr/share/kicad/kicad-symbols/Regulator_Linear.kicad_sym</uri>
|
||||
</library>
|
||||
<library logical="Switch">
|
||||
<uri>/usr/share/kicad/kicad-symbols/Switch.kicad_sym</uri>
|
||||
</library>
|
||||
<library logical="elements">
|
||||
<uri>/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/elements.lib</uri>
|
||||
</library>
|
||||
<library logical="stm32-rescue">
|
||||
<uri>/home/eddy/Docs/SAO/ELECTRONICS/STM32/F0-srcs/usbcan/kicad_new/stm32-rescue.lib</uri>
|
||||
</library>
|
||||
</libraries>
|
||||
<nets>
|
||||
<net code="1" name="+3V3">
|
||||
<node ref="C1" pin="1" pintype="passive"/>
|
||||
<node ref="C2" pin="1" pintype="passive"/>
|
||||
<node ref="C3" pin="2" pintype="passive"/>
|
||||
<node ref="C4" pin="2" pintype="passive"/>
|
||||
<node ref="C5" pin="2" pintype="passive"/>
|
||||
<node ref="C6" pin="2" pintype="passive"/>
|
||||
<node ref="R6" pin="1" pintype="passive"/>
|
||||
<node ref="R7" pin="2" pintype="passive"/>
|
||||
<node ref="R8" pin="2" pintype="passive"/>
|
||||
<node ref="U1" pin="2" pinfunction="VO" pintype="power_out"/>
|
||||
<node ref="U3" pin="1" pinfunction="VBAT" pintype="power_in"/>
|
||||
<node ref="U3" pin="24" pinfunction="VDD" pintype="power_in"/>
|
||||
<node ref="U3" pin="36" pinfunction="VDDIO2" pintype="power_in"/>
|
||||
<node ref="U3" pin="48" pinfunction="VDD" pintype="power_in"/>
|
||||
<node ref="U3" pin="9" pinfunction="VDDA" pintype="power_in"/>
|
||||
</net>
|
||||
<net code="2" name="+5V">
|
||||
<node ref="C7" pin="1" pintype="passive"/>
|
||||
<node ref="C8" pin="1" pintype="passive"/>
|
||||
<node ref="D2" pin="8" pinfunction="VCC" pintype="passive"/>
|
||||
<node ref="Q1" pin="2" pinfunction="Vin" pintype="power_in"/>
|
||||
<node ref="U1" pin="3" pinfunction="VI" pintype="power_in"/>
|
||||
<node ref="U4" pin="1" pinfunction="VCC1" pintype="power_in"/>
|
||||
</net>
|
||||
<net code="3" name="/BOOT0">
|
||||
<node ref="J3" pin="2" pinfunction="Pin_2" pintype="passive"/>
|
||||
<node ref="R5" pin="2" pintype="passive"/>
|
||||
<node ref="U3" pin="44" pinfunction="BOOT0" pintype="input"/>
|
||||
</net>
|
||||
<net code="4" name="/CANH">
|
||||
<node ref="D1" pin="2" pinfunction="K" pintype="passive"/>
|
||||
<node ref="J1" pin="1" pinfunction="Pin_1" pintype="passive"/>
|
||||
<node ref="R1" pin="2" pintype="passive"/>
|
||||
<node ref="U4" pin="7" pinfunction="CANH" pintype="bidirectional"/>
|
||||
</net>
|
||||
<net code="5" name="/CANL">
|
||||
<node ref="D1" pin="1" pinfunction="K" pintype="passive"/>
|
||||
<node ref="J1" pin="3" pinfunction="Pin_3" pintype="passive"/>
|
||||
<node ref="SW1" pin="1" pintype="passive"/>
|
||||
<node ref="U4" pin="6" pinfunction="CANL" pintype="bidirectional"/>
|
||||
</net>
|
||||
<net code="6" name="/CAN_Rx">
|
||||
<node ref="U3" pin="45" pinfunction="PB8" pintype="bidirectional"/>
|
||||
<node ref="U4" pin="2" pinfunction="RXD" pintype="output"/>
|
||||
</net>
|
||||
<net code="7" name="/CAN_Tx">
|
||||
<node ref="U3" pin="46" pinfunction="PB9" pintype="bidirectional"/>
|
||||
<node ref="U4" pin="3" pinfunction="TXD" pintype="input"/>
|
||||
</net>
|
||||
<net code="8" name="/LED0">
|
||||
<node ref="D3" pin="1" pinfunction="K" pintype="passive"/>
|
||||
<node ref="U3" pin="18" pinfunction="PB0" pintype="bidirectional"/>
|
||||
</net>
|
||||
<net code="9" name="/LED1">
|
||||
<node ref="D4" pin="1" pinfunction="K" pintype="passive"/>
|
||||
<node ref="U3" pin="19" pinfunction="PB1" pintype="bidirectional"/>
|
||||
</net>
|
||||
<net code="10" name="/NRST">
|
||||
<node ref="J3" pin="3" pinfunction="Pin_3" pintype="passive"/>
|
||||
<node ref="U3" pin="7" pinfunction="NRST" pintype="input"/>
|
||||
</net>
|
||||
<net code="11" name="/SWCLK">
|
||||
<node ref="J3" pin="6" pinfunction="Pin_6" pintype="passive"/>
|
||||
<node ref="U3" pin="37" pinfunction="PA14" pintype="bidirectional"/>
|
||||
</net>
|
||||
<net code="12" name="/SWDIO">
|
||||
<node ref="J3" pin="5" pinfunction="Pin_5" pintype="passive"/>
|
||||
<node ref="U3" pin="34" pinfunction="PA13" pintype="bidirectional"/>
|
||||
</net>
|
||||
<net code="13" name="Earth">
|
||||
<node ref="C9" pin="2" pintype="passive"/>
|
||||
<node ref="D1" pin="3" pinfunction="O" pintype="passive"/>
|
||||
<node ref="J1" pin="2" pinfunction="Pin_2" pintype="passive"/>
|
||||
<node ref="Q1" pin="3" pinfunction="0V" pintype="power_out"/>
|
||||
<node ref="U4" pin="5" pinfunction="GND2" pintype="power_in"/>
|
||||
</net>
|
||||
<net code="14" name="GND">
|
||||
<node ref="C1" pin="2" pintype="passive"/>
|
||||
<node ref="C2" pin="2" pintype="passive"/>
|
||||
<node ref="C3" pin="1" pintype="passive"/>
|
||||
<node ref="C4" pin="1" pintype="passive"/>
|
||||
<node ref="C5" pin="1" pintype="passive"/>
|
||||
<node ref="C6" pin="1" pintype="passive"/>
|
||||
<node ref="C7" pin="2" pintype="passive"/>
|
||||
<node ref="C8" pin="2" pintype="passive"/>
|
||||
<node ref="D2" pin="4" pinfunction="GND" pintype="passive"/>
|
||||
<node ref="D2" pin="5" pinfunction="GND" pintype="passive"/>
|
||||
<node ref="J3" pin="4" pinfunction="Pin_4" pintype="passive"/>
|
||||
<node ref="J4" pin="4" pinfunction="GND" pintype="power_out"/>
|
||||
<node ref="J4" pin="5" pinfunction="Shield" pintype="passive"/>
|
||||
<node ref="Q1" pin="1" pinfunction="GND" pintype="power_in"/>
|
||||
<node ref="R5" pin="1" pintype="passive"/>
|
||||
<node ref="U1" pin="1" pinfunction="GND" pintype="power_in"/>
|
||||
<node ref="U3" pin="23" pinfunction="VSS" pintype="power_in"/>
|
||||
<node ref="U3" pin="35" pinfunction="VSS" pintype="power_in"/>
|
||||
<node ref="U3" pin="47" pinfunction="VSS" pintype="power_in"/>
|
||||
<node ref="U3" pin="8" pinfunction="VSSA" pintype="power_in"/>
|
||||
<node ref="U4" pin="4" pinfunction="GND1" pintype="power_in"/>
|
||||
</net>
|
||||
<net code="15" name="Net-(C9-Pad1)">
|
||||
<node ref="C9" pin="1" pintype="passive"/>
|
||||
<node ref="Q1" pin="4" pinfunction="+Vo" pintype="power_out"/>
|
||||
<node ref="U4" pin="8" pinfunction="VCC2" pintype="power_in"/>
|
||||
</net>
|
||||
<net code="16" name="Net-(D2-Pad1)">
|
||||
<node ref="D2" pin="1" pinfunction="VCC" pintype="passive"/>
|
||||
<node ref="J4" pin="1" pinfunction="VBUS" pintype="power_out"/>
|
||||
</net>
|
||||
<net code="17" name="Net-(D2-Pad2)">
|
||||
<node ref="D2" pin="2" pinfunction="I/O1" pintype="passive"/>
|
||||
<node ref="J4" pin="2" pinfunction="D-" pintype="bidirectional"/>
|
||||
</net>
|
||||
<net code="18" name="Net-(D2-Pad3)">
|
||||
<node ref="D2" pin="3" pinfunction="I/O2" pintype="passive"/>
|
||||
<node ref="J4" pin="3" pinfunction="D+" pintype="bidirectional"/>
|
||||
</net>
|
||||
<net code="19" name="Net-(D2-Pad6)">
|
||||
<node ref="D2" pin="6" pinfunction="I/O2" pintype="passive"/>
|
||||
<node ref="R4" pin="1" pintype="passive"/>
|
||||
</net>
|
||||
<net code="20" name="Net-(D2-Pad7)">
|
||||
<node ref="D2" pin="7" pinfunction="I/O1" pintype="passive"/>
|
||||
<node ref="R3" pin="1" pintype="passive"/>
|
||||
</net>
|
||||
<net code="21" name="Net-(D3-Pad2)">
|
||||
<node ref="D3" pin="2" pinfunction="A" pintype="passive"/>
|
||||
<node ref="R7" pin="1" pintype="passive"/>
|
||||
</net>
|
||||
<net code="22" name="Net-(D4-Pad2)">
|
||||
<node ref="D4" pin="2" pinfunction="A" pintype="passive"/>
|
||||
<node ref="R8" pin="1" pintype="passive"/>
|
||||
</net>
|
||||
<net code="23" name="Net-(J3-Pad1)">
|
||||
<node ref="J3" pin="1" pinfunction="Pin_1" pintype="passive"/>
|
||||
<node ref="R6" pin="2" pintype="passive"/>
|
||||
</net>
|
||||
<net code="24" name="Net-(R1-Pad1)">
|
||||
<node ref="R1" pin="1" pintype="passive"/>
|
||||
<node ref="SW1" pin="2" pintype="passive"/>
|
||||
</net>
|
||||
<net code="25" name="Net-(U3-Pad32)">
|
||||
<node ref="R3" pin="2" pintype="passive"/>
|
||||
<node ref="U3" pin="32" pinfunction="PA11" pintype="bidirectional"/>
|
||||
</net>
|
||||
<net code="26" name="Net-(U3-Pad33)">
|
||||
<node ref="R4" pin="2" pintype="passive"/>
|
||||
<node ref="U3" pin="33" pinfunction="PA12" pintype="bidirectional"/>
|
||||
</net>
|
||||
<net code="27" name="unconnected-(P1-Pad1)">
|
||||
<node ref="P1" pin="1" pinfunction="P1" pintype="passive+no_connect"/>
|
||||
</net>
|
||||
<net code="28" name="unconnected-(P2-Pad1)">
|
||||
<node ref="P2" pin="1" pinfunction="P1" pintype="passive+no_connect"/>
|
||||
</net>
|
||||
<net code="29" name="unconnected-(P3-Pad1)">
|
||||
<node ref="P3" pin="1" pinfunction="P1" pintype="passive+no_connect"/>
|
||||
</net>
|
||||
<net code="30" name="unconnected-(P4-Pad1)">
|
||||
<node ref="P4" pin="1" pinfunction="P1" pintype="passive+no_connect"/>
|
||||
</net>
|
||||
<net code="31" name="unconnected-(U3-Pad2)">
|
||||
<node ref="U3" pin="2" pinfunction="PC13" pintype="bidirectional+no_connect"/>
|
||||
</net>
|
||||
<net code="32" name="unconnected-(U3-Pad3)">
|
||||
<node ref="U3" pin="3" pinfunction="PC14" pintype="bidirectional+no_connect"/>
|
||||
</net>
|
||||
<net code="33" name="unconnected-(U3-Pad4)">
|
||||
<node ref="U3" pin="4" pinfunction="PC15" pintype="bidirectional+no_connect"/>
|
||||
</net>
|
||||
<net code="34" name="unconnected-(U3-Pad5)">
|
||||
<node ref="U3" pin="5" pinfunction="PF0" pintype="input+no_connect"/>
|
||||
</net>
|
||||
<net code="35" name="unconnected-(U3-Pad6)">
|
||||
<node ref="U3" pin="6" pinfunction="PF1" pintype="input+no_connect"/>
|
||||
</net>
|
||||
<net code="36" name="unconnected-(U3-Pad10)">
|
||||
<node ref="U3" pin="10" pinfunction="PA0" pintype="bidirectional+no_connect"/>
|
||||
</net>
|
||||
<net code="37" name="unconnected-(U3-Pad11)">
|
||||
<node ref="U3" pin="11" pinfunction="PA1" pintype="bidirectional+no_connect"/>
|
||||
</net>
|
||||
<net code="38" name="unconnected-(U3-Pad12)">
|
||||
<node ref="U3" pin="12" pinfunction="PA2" pintype="bidirectional+no_connect"/>
|
||||
</net>
|
||||
<net code="39" name="unconnected-(U3-Pad13)">
|
||||
<node ref="U3" pin="13" pinfunction="PA3" pintype="bidirectional+no_connect"/>
|
||||
</net>
|
||||
<net code="40" name="unconnected-(U3-Pad14)">
|
||||
<node ref="U3" pin="14" pinfunction="PA4" pintype="bidirectional+no_connect"/>
|
||||
</net>
|
||||
<net code="41" name="unconnected-(U3-Pad15)">
|
||||
<node ref="U3" pin="15" pinfunction="PA5" pintype="bidirectional+no_connect"/>
|
||||
</net>
|
||||
<net code="42" name="unconnected-(U3-Pad16)">
|
||||
<node ref="U3" pin="16" pinfunction="PA6" pintype="bidirectional+no_connect"/>
|
||||
</net>
|
||||
<net code="43" name="unconnected-(U3-Pad17)">
|
||||
<node ref="U3" pin="17" pinfunction="PA7" pintype="bidirectional+no_connect"/>
|
||||
</net>
|
||||
<net code="44" name="unconnected-(U3-Pad20)">
|
||||
<node ref="U3" pin="20" pinfunction="PB2" pintype="bidirectional+no_connect"/>
|
||||
</net>
|
||||
<net code="45" name="unconnected-(U3-Pad21)">
|
||||
<node ref="U3" pin="21" pinfunction="PB10" pintype="bidirectional+no_connect"/>
|
||||
</net>
|
||||
<net code="46" name="unconnected-(U3-Pad22)">
|
||||
<node ref="U3" pin="22" pinfunction="PB11" pintype="bidirectional+no_connect"/>
|
||||
</net>
|
||||
<net code="47" name="unconnected-(U3-Pad25)">
|
||||
<node ref="U3" pin="25" pinfunction="PB12" pintype="bidirectional+no_connect"/>
|
||||
</net>
|
||||
<net code="48" name="unconnected-(U3-Pad26)">
|
||||
<node ref="U3" pin="26" pinfunction="PB13" pintype="bidirectional+no_connect"/>
|
||||
</net>
|
||||
<net code="49" name="unconnected-(U3-Pad27)">
|
||||
<node ref="U3" pin="27" pinfunction="PB14" pintype="bidirectional+no_connect"/>
|
||||
</net>
|
||||
<net code="50" name="unconnected-(U3-Pad28)">
|
||||
<node ref="U3" pin="28" pinfunction="PB15" pintype="bidirectional+no_connect"/>
|
||||
</net>
|
||||
<net code="51" name="unconnected-(U3-Pad29)">
|
||||
<node ref="U3" pin="29" pinfunction="PA8" pintype="bidirectional+no_connect"/>
|
||||
</net>
|
||||
<net code="52" name="unconnected-(U3-Pad30)">
|
||||
<node ref="U3" pin="30" pinfunction="PA9" pintype="bidirectional+no_connect"/>
|
||||
</net>
|
||||
<net code="53" name="unconnected-(U3-Pad31)">
|
||||
<node ref="U3" pin="31" pinfunction="PA10" pintype="bidirectional+no_connect"/>
|
||||
</net>
|
||||
<net code="54" name="unconnected-(U3-Pad38)">
|
||||
<node ref="U3" pin="38" pinfunction="PA15" pintype="bidirectional+no_connect"/>
|
||||
</net>
|
||||
<net code="55" name="unconnected-(U3-Pad39)">
|
||||
<node ref="U3" pin="39" pinfunction="PB3" pintype="bidirectional+no_connect"/>
|
||||
</net>
|
||||
<net code="56" name="unconnected-(U3-Pad40)">
|
||||
<node ref="U3" pin="40" pinfunction="PB4" pintype="bidirectional+no_connect"/>
|
||||
</net>
|
||||
<net code="57" name="unconnected-(U3-Pad41)">
|
||||
<node ref="U3" pin="41" pinfunction="PB5" pintype="bidirectional+no_connect"/>
|
||||
</net>
|
||||
<net code="58" name="unconnected-(U3-Pad42)">
|
||||
<node ref="U3" pin="42" pinfunction="PB6" pintype="bidirectional+no_connect"/>
|
||||
</net>
|
||||
<net code="59" name="unconnected-(U3-Pad43)">
|
||||
<node ref="U3" pin="43" pinfunction="PB7" pintype="bidirectional+no_connect"/>
|
||||
</net>
|
||||
</nets>
|
||||
</export>
|
||||
@@ -0,0 +1,7 @@
|
||||
(sym_lib_table
|
||||
(lib (name "stm32-rescue")(type "Legacy")(uri "${KIPRJMOD}/stm32-rescue.lib")(options "")(descr ""))
|
||||
(lib (name "stm32")(type "Legacy")(uri "/home/eddy/kicad/Kicad-Libraries/library/stm32.lib")(options "")(descr ""))
|
||||
(lib (name "vreg")(type "Legacy")(uri "/home/eddy/kicad/Kicad-Libraries/library/vreg.lib")(options "")(descr ""))
|
||||
(lib (name "elements")(type "Legacy")(uri "${KIPRJMOD}/elements.lib")(options "")(descr ""))
|
||||
(lib (name "switches")(type "Legacy")(uri "/home/eddy/kicad/Kicad-Libraries/library/switches.lib")(options "")(descr ""))
|
||||
)
|
||||
121
F0:F030,F042,F072/deprecated/usbcan/main.c
Normal file
121
F0:F030,F042,F072/deprecated/usbcan/main.c
Normal file
@@ -0,0 +1,121 @@
|
||||
/*
|
||||
* main.c
|
||||
*
|
||||
* Copyright 2017 Edward V. Emelianoff <eddy@sao.ru, edward.emelianoff@gmail.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
* MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#include "can.h"
|
||||
#include "hardware.h"
|
||||
#include "proto.h"
|
||||
#include "usb.h"
|
||||
#include "usb_lib.h"
|
||||
|
||||
volatile uint32_t Tms = 0;
|
||||
|
||||
/* Called when systick fires */
|
||||
void sys_tick_handler(void){
|
||||
++Tms;
|
||||
}
|
||||
|
||||
#define USBBUF 63
|
||||
// usb getline
|
||||
static char *get_USB(){
|
||||
static char tmpbuf[USBBUF+1], *curptr = tmpbuf;
|
||||
static int rest = USBBUF;
|
||||
uint8_t x = USB_receive((uint8_t*)curptr);
|
||||
if(!x) return NULL;
|
||||
curptr[x] = 0;
|
||||
if(x == 1 && *curptr == 0x7f){ // backspace
|
||||
if(curptr > tmpbuf){
|
||||
--curptr;
|
||||
USND("\b \b");
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
USB_sendstr(curptr); // echo
|
||||
if(curptr[x-1] == '\n'){ // || curptr[x-1] == '\r'){
|
||||
curptr = tmpbuf;
|
||||
rest = USBBUF;
|
||||
// omit empty lines
|
||||
if(tmpbuf[0] == '\n') return NULL;
|
||||
// and wrong empty lines
|
||||
if(tmpbuf[0] == '\r' && tmpbuf[1] == '\n') return NULL;
|
||||
return tmpbuf;
|
||||
}
|
||||
curptr += x; rest -= x;
|
||||
if(rest <= 0){ // buffer overflow
|
||||
curptr = tmpbuf;
|
||||
rest = USBBUF;
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
int main(void){
|
||||
uint32_t lastT = 0;
|
||||
uint8_t ctr, len;
|
||||
CAN_message *can_mesg;
|
||||
char *txt;
|
||||
sysreset();
|
||||
SysTick_Config(6000, 1);
|
||||
gpio_setup();
|
||||
USB_setup();
|
||||
CAN_setup(100);
|
||||
RCC->CSR |= RCC_CSR_RMVF; // remove reset flags
|
||||
#ifndef EBUG
|
||||
iwdg_setup();
|
||||
#endif
|
||||
|
||||
while (1){
|
||||
IWDG->KR = IWDG_REFRESH; // refresh watchdog
|
||||
if(lastT && (Tms - lastT > 199)){
|
||||
LED_off(LED0);
|
||||
lastT = 0;
|
||||
}
|
||||
can_proc();
|
||||
usb_proc();
|
||||
if(CAN_get_status() == CAN_FIFO_OVERRUN){
|
||||
SEND("CAN bus fifo overrun occured!\n");
|
||||
sendbuf();
|
||||
}
|
||||
while((can_mesg = CAN_messagebuf_pop())){
|
||||
if(can_mesg && isgood(can_mesg->ID)){
|
||||
LED_on(LED0);
|
||||
lastT = Tms;
|
||||
if(!lastT) lastT = 1;
|
||||
if(ShowMsgs){ // new data in buff
|
||||
IWDG->KR = IWDG_REFRESH;
|
||||
len = can_mesg->length;
|
||||
printu(Tms);
|
||||
SEND(" #");
|
||||
printuhex(can_mesg->ID);
|
||||
for(ctr = 0; ctr < len; ++ctr){
|
||||
SEND(" ");
|
||||
printuhex(can_mesg->data[ctr]);
|
||||
}
|
||||
newline(); sendbuf();
|
||||
}
|
||||
}
|
||||
}
|
||||
if((txt = get_USB())){
|
||||
IWDG->KR = IWDG_REFRESH;
|
||||
cmd_parser(txt);
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
540
F0:F030,F042,F072/deprecated/usbcan/proto.c
Normal file
540
F0:F030,F042,F072/deprecated/usbcan/proto.c
Normal file
@@ -0,0 +1,540 @@
|
||||
/*
|
||||
* geany_encoding=koi8-r
|
||||
* proto.c
|
||||
*
|
||||
* Copyright 2018 Edward V. Emelianov <eddy@sao.ru, edward.emelianoff@gmail.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
* MA 02110-1301, USA.
|
||||
*
|
||||
*/
|
||||
#include "can.h"
|
||||
#include "hardware.h"
|
||||
#include "proto.h"
|
||||
#include "usb.h"
|
||||
|
||||
#include <string.h> // strlen
|
||||
|
||||
extern volatile uint8_t canerror;
|
||||
|
||||
uint8_t ShowMsgs = 07;
|
||||
uint16_t Ignore_IDs[IGN_SIZE];
|
||||
uint8_t IgnSz = 0;
|
||||
static char buff[BUFSZ+1], *bptr = buff;
|
||||
static uint8_t blen = 0;
|
||||
|
||||
void sendbuf(){
|
||||
IWDG->KR = IWDG_REFRESH;
|
||||
if(blen == 0) return;
|
||||
*bptr = 0;
|
||||
USB_sendstr(buff);
|
||||
bptr = buff;
|
||||
blen = 0;
|
||||
}
|
||||
|
||||
void bufputchar(char ch){
|
||||
if(blen > BUFSZ-1){
|
||||
sendbuf();
|
||||
}
|
||||
*bptr++ = ch;
|
||||
++blen;
|
||||
}
|
||||
|
||||
void addtobuf(const char *txt){
|
||||
IWDG->KR = IWDG_REFRESH;
|
||||
while(*txt) bufputchar(*txt++);
|
||||
}
|
||||
|
||||
char *omit_spaces(char *buf){
|
||||
while(*buf){
|
||||
if(*buf > ' ') break;
|
||||
++buf;
|
||||
}
|
||||
return buf;
|
||||
}
|
||||
|
||||
// THERE'S NO OVERFLOW PROTECTION IN NUMBER READ PROCEDURES!
|
||||
// read decimal number
|
||||
static char *getdec(char *buf, uint32_t *N){
|
||||
uint32_t num = 0;
|
||||
while(*buf){
|
||||
char c = *buf;
|
||||
if(c < '0' || c > '9'){
|
||||
break;
|
||||
}
|
||||
num *= 10;
|
||||
num += c - '0';
|
||||
++buf;
|
||||
}
|
||||
*N = num;
|
||||
return buf;
|
||||
}
|
||||
// read hexadecimal number (without 0x prefix!)
|
||||
static char *gethex(char *buf, uint32_t *N){
|
||||
uint32_t num = 0;
|
||||
while(*buf){
|
||||
char c = *buf;
|
||||
uint8_t M = 0;
|
||||
if(c >= '0' && c <= '9'){
|
||||
M = '0';
|
||||
}else if(c >= 'A' && c <= 'F'){
|
||||
M = 'A' - 10;
|
||||
}else if(c >= 'a' && c <= 'f'){
|
||||
M = 'a' - 10;
|
||||
}
|
||||
if(M){
|
||||
num <<= 4;
|
||||
num += c - M;
|
||||
}else{
|
||||
break;
|
||||
}
|
||||
++buf;
|
||||
}
|
||||
*N = num;
|
||||
return buf;
|
||||
}
|
||||
// read binary number (without 0b prefix!)
|
||||
static char *getbin(char *buf, uint32_t *N){
|
||||
uint32_t num = 0;
|
||||
while(*buf){
|
||||
char c = *buf;
|
||||
if(c < '0' || c > '1'){
|
||||
break;
|
||||
}
|
||||
num <<= 1;
|
||||
if(c == '1') num |= 1;
|
||||
++buf;
|
||||
}
|
||||
*N = num;
|
||||
return buf;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief getnum - read uint32_t from string (dec, hex or bin: 127, 0x7f, 0b1111111)
|
||||
* @param buf - buffer with number and so on
|
||||
* @param N - the number read
|
||||
* @return pointer to first non-number symbol in buf (if it is == buf, there's no number)
|
||||
*/
|
||||
char *getnum(char *txt, uint32_t *N){
|
||||
if(*txt == '0'){
|
||||
if(txt[1] == 'x' || txt[1] == 'X') return gethex(txt+2, N);
|
||||
if(txt[1] == 'b' || txt[1] == 'B') return getbin(txt+2, N);
|
||||
}
|
||||
return getdec(txt, N);
|
||||
}
|
||||
|
||||
// parse `txt` to CAN_message
|
||||
static CAN_message *parseCANmsg(char *txt){
|
||||
static CAN_message canmsg;
|
||||
//SEND("CAN command with arguments:\n");
|
||||
uint32_t N;
|
||||
char *n;
|
||||
int ctr = -1;
|
||||
canmsg.ID = 0xffff;
|
||||
do{
|
||||
txt = omit_spaces(txt);
|
||||
n = getnum(txt, &N);
|
||||
if(txt == n) break;
|
||||
txt = n;
|
||||
if(ctr == -1){
|
||||
if(N > 0x7ff){
|
||||
SEND("ID should be 11-bit number!\n");
|
||||
return NULL;
|
||||
}
|
||||
canmsg.ID = (uint16_t)(N&0x7ff);
|
||||
//SEND("ID="); printuhex(canmsg.ID); newline();
|
||||
ctr = 0;
|
||||
continue;
|
||||
}
|
||||
if(ctr > 7){
|
||||
SEND("ONLY 8 data bytes allowed!\n");
|
||||
return NULL;
|
||||
}
|
||||
if(N > 0xff){
|
||||
SEND("Every data portion is a byte!\n");
|
||||
return NULL;
|
||||
}
|
||||
canmsg.data[ctr++] = (uint8_t)(N&0xff);
|
||||
//printu(N); SEND(", hex: ");
|
||||
//printuhex(N); newline();
|
||||
}while(1);
|
||||
/*if(*n){
|
||||
SEND("\nUnusefull data: ");
|
||||
SEND(n);
|
||||
}*/
|
||||
if(canmsg.ID == 0xffff){
|
||||
SEND("NO ID given, send nothing!\n");
|
||||
return NULL;
|
||||
}
|
||||
SEND("Message parsed OK\n");
|
||||
sendbuf();
|
||||
canmsg.length = (uint8_t) ctr;
|
||||
return &canmsg;
|
||||
}
|
||||
|
||||
// send command, format: ID (hex/bin/dec) data bytes (up to 8 bytes, space-delimeted)
|
||||
TRUE_INLINE void sendCANcommand(char *txt){
|
||||
CAN_message *msg = parseCANmsg(txt);
|
||||
if(!msg) return;
|
||||
uint32_t N = 1000000;
|
||||
while(CAN_BUSY == can_send(msg->data, msg->length, msg->ID)){
|
||||
if(--N == 0) break;
|
||||
}
|
||||
}
|
||||
|
||||
TRUE_INLINE void CANini(char *txt){
|
||||
txt = omit_spaces(txt);
|
||||
uint32_t N;
|
||||
char *n = getnum(txt, &N);
|
||||
if(txt == n){
|
||||
SEND("No speed given");
|
||||
return;
|
||||
}
|
||||
if(N < 50){
|
||||
SEND("Lowest speed is 50kbps");
|
||||
return;
|
||||
}else if(N > 3000){
|
||||
SEND("Highest speed is 3000kbps");
|
||||
return;
|
||||
}
|
||||
CAN_reinit((uint16_t)N);
|
||||
SEND("Reinit CAN bus with speed ");
|
||||
printu(N); SEND("kbps");
|
||||
}
|
||||
|
||||
TRUE_INLINE void addIGN(char *txt){
|
||||
if(IgnSz == IGN_SIZE){
|
||||
MSG("Ignore buffer is full");
|
||||
return;
|
||||
}
|
||||
txt = omit_spaces(txt);
|
||||
uint32_t N;
|
||||
char *n = getnum(txt, &N);
|
||||
if(txt == n){
|
||||
SEND("No ID given");
|
||||
return;
|
||||
}
|
||||
if(N > 0x7ff){
|
||||
SEND("ID should be 11-bit number!");
|
||||
return;
|
||||
}
|
||||
Ignore_IDs[IgnSz++] = (uint16_t)(N & 0x7ff);
|
||||
SEND("Added ID "); printu(N);
|
||||
SEND("\nIgn buffer size: "); printu(IgnSz);
|
||||
}
|
||||
|
||||
TRUE_INLINE void print_ign_buf(){
|
||||
if(IgnSz == 0){
|
||||
SEND("Ignore buffer is empty");
|
||||
return;
|
||||
}
|
||||
SEND("Ignored IDs:\n");
|
||||
for(int i = 0; i < IgnSz; ++i){
|
||||
printu(i);
|
||||
SEND(": ");
|
||||
printuhex(Ignore_IDs[i]);
|
||||
newline();
|
||||
}
|
||||
}
|
||||
|
||||
// print ID/mask of CAN->sFilterRegister[x] half
|
||||
static void printID(uint16_t FRn){
|
||||
if(FRn & 0x1f) return; // trash
|
||||
printuhex(FRn >> 5);
|
||||
}
|
||||
/*
|
||||
Can filtering: FSCx=0 (CAN->FS1R) -> 16-bit identifiers
|
||||
CAN->FMR = (sb)<<8 | FINIT - init filter in starting bank sb
|
||||
CAN->FFA1R FFAx = 1 -> FIFO1, 0 -> FIFO0
|
||||
CAN->FA1R FACTx=1 - filter active
|
||||
MASK: FBMx=0 (CAN->FM1R), two filters (n in FR1 and n+1 in FR2)
|
||||
ID: CAN->sFilterRegister[x].FRn[0..15]
|
||||
MASK: CAN->sFilterRegister[x].FRn[16..31]
|
||||
FR bits: STID[10:0] RTR IDE EXID[17:15]
|
||||
LIST: FBMx=1, four filters (n&n+1 in FR1, n+2&n+3 in FR2)
|
||||
IDn: CAN->sFilterRegister[x].FRn[0..15]
|
||||
IDn+1: CAN->sFilterRegister[x].FRn[16..31]
|
||||
*/
|
||||
TRUE_INLINE void list_filters(){
|
||||
uint32_t fa = CAN->FA1R, ctr = 0, mask = 1;
|
||||
while(fa){
|
||||
if(fa & 1){
|
||||
SEND("Filter "); printu(ctr); SEND(", FIFO");
|
||||
if(CAN->FFA1R & mask) SEND("1");
|
||||
else SEND("0");
|
||||
SEND(" in ");
|
||||
if(CAN->FM1R & mask){ // up to 4 filters in LIST mode
|
||||
SEND("LIST mode, IDs: ");
|
||||
printID(CAN->sFilterRegister[ctr].FR1 & 0xffff);
|
||||
SEND(" ");
|
||||
printID(CAN->sFilterRegister[ctr].FR1 >> 16);
|
||||
SEND(" ");
|
||||
printID(CAN->sFilterRegister[ctr].FR2 & 0xffff);
|
||||
SEND(" ");
|
||||
printID(CAN->sFilterRegister[ctr].FR2 >> 16);
|
||||
}else{ // up to 2 filters in MASK mode
|
||||
SEND("MASK mode: ");
|
||||
if(!(CAN->sFilterRegister[ctr].FR1&0x1f)){
|
||||
SEND("ID="); printID(CAN->sFilterRegister[ctr].FR1 & 0xffff);
|
||||
SEND(", MASK="); printID(CAN->sFilterRegister[ctr].FR1 >> 16);
|
||||
SEND(" ");
|
||||
}
|
||||
if(!(CAN->sFilterRegister[ctr].FR2&0x1f)){
|
||||
SEND("ID="); printID(CAN->sFilterRegister[ctr].FR2 & 0xffff);
|
||||
SEND(", MASK="); printID(CAN->sFilterRegister[ctr].FR2 >> 16);
|
||||
}
|
||||
}
|
||||
newline();
|
||||
}
|
||||
fa >>= 1;
|
||||
++ctr;
|
||||
mask <<= 1;
|
||||
}
|
||||
sendbuf();
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief add_filter - add/modify filter
|
||||
* @param str - string in format "bank# FIFO# mode num0 .. num3"
|
||||
* where bank# - 0..27
|
||||
* if there's nothing after bank# - delete filter
|
||||
* FIFO# - 0,1
|
||||
* mode - 'I' for ID, 'M' for mask
|
||||
* num0..num3 - IDs in ID mode, ID/MASK for mask mode
|
||||
*/
|
||||
static void add_filter(char *str){
|
||||
uint32_t N;
|
||||
str = omit_spaces(str);
|
||||
char *n = getnum(str, &N);
|
||||
if(n == str){
|
||||
SEND("No bank# given");
|
||||
return;
|
||||
}
|
||||
if(N > STM32F0FBANKNO-1){
|
||||
SEND("bank# > 27");
|
||||
return;
|
||||
}
|
||||
uint8_t bankno = (uint8_t)N;
|
||||
str = omit_spaces(n);
|
||||
if(!*str){ // deactivate filter
|
||||
SEND("Deactivate filters in bank ");
|
||||
printu(bankno);
|
||||
CAN->FMR = CAN_FMR_FINIT;
|
||||
CAN->FA1R &= ~(1<<bankno);
|
||||
CAN->FMR &=~ CAN_FMR_FINIT;
|
||||
return;
|
||||
}
|
||||
uint8_t fifono = 0;
|
||||
if(*str == '1') fifono = 1;
|
||||
else if(*str != '0'){
|
||||
SEND("FIFO# is 0 or 1");
|
||||
return;
|
||||
}
|
||||
str = omit_spaces(str + 1);
|
||||
char c = *str;
|
||||
uint8_t mode = 0; // ID
|
||||
if(c == 'M' || c == 'm') mode = 1;
|
||||
else if(c != 'I' && c != 'i'){
|
||||
SEND("mode is 'M/m' for MASK and 'I/i' for IDLIST");
|
||||
return;
|
||||
}
|
||||
str = omit_spaces(str + 1);
|
||||
uint32_t filters[4];
|
||||
uint32_t nfilt;
|
||||
for(nfilt = 0; nfilt < 4; ++nfilt){
|
||||
n = getnum(str, &N);
|
||||
if(n == str) break;
|
||||
filters[nfilt] = N;
|
||||
str = omit_spaces(n);
|
||||
}
|
||||
if(nfilt == 0){
|
||||
SEND("You should add at least one filter!");
|
||||
return;
|
||||
}
|
||||
if(mode && (nfilt&1)){
|
||||
SEND("In MASK mode you should point pairs of ID/MASK");
|
||||
return;
|
||||
}
|
||||
CAN->FMR = CAN_FMR_FINIT;
|
||||
uint32_t mask = 1<<bankno;
|
||||
CAN->FA1R |= mask; // activate given filter
|
||||
if(fifono) CAN->FFA1R |= mask; // set FIFO number
|
||||
else CAN->FFA1R &= ~mask;
|
||||
if(mode) CAN->FM1R &= ~mask; // MASK
|
||||
else CAN->FM1R |= mask; // LIST
|
||||
uint32_t F1 = (0x8f<<16);
|
||||
uint32_t F2 = (0x8f<<16);
|
||||
// reset filter registers to wrong value
|
||||
CAN->sFilterRegister[bankno].FR1 = (0x8f<<16) | 0x8f;
|
||||
CAN->sFilterRegister[bankno].FR2 = (0x8f<<16) | 0x8f;
|
||||
switch(nfilt){
|
||||
case 4:
|
||||
F2 = filters[3] << 21;
|
||||
// fallthrough
|
||||
case 3:
|
||||
CAN->sFilterRegister[bankno].FR2 = (F2 & 0xffff0000) | (filters[2] << 5);
|
||||
// fallthrough
|
||||
case 2:
|
||||
F1 = filters[1] << 21;
|
||||
// fallthrough
|
||||
case 1:
|
||||
CAN->sFilterRegister[bankno].FR1 = (F1 & 0xffff0000) | (filters[0] << 5);
|
||||
}
|
||||
CAN->FMR &=~ CAN_FMR_FINIT;
|
||||
SEND("Added filter with ");
|
||||
printu(nfilt); SEND(" parameters");
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief cmd_parser - command parsing
|
||||
* @param txt - buffer with commands & data
|
||||
* @param isUSB - == 1 if data got from USB
|
||||
*/
|
||||
void cmd_parser(char *txt){
|
||||
char _1st = txt[0];
|
||||
/*
|
||||
* parse long commands here
|
||||
*/
|
||||
switch(_1st){
|
||||
case 'a':
|
||||
addIGN(txt + 1);
|
||||
goto eof;
|
||||
break;
|
||||
case 'b':
|
||||
CANini(txt + 1);
|
||||
goto eof;
|
||||
break;
|
||||
case 'f':
|
||||
add_filter(txt + 1);
|
||||
goto eof;
|
||||
break;
|
||||
case 'F':
|
||||
set_flood(parseCANmsg(txt + 1));
|
||||
goto eof;
|
||||
break;
|
||||
case 's':
|
||||
case 'S':
|
||||
sendCANcommand(txt + 1);
|
||||
goto eof;
|
||||
break;
|
||||
}
|
||||
if(txt[1] != '\n') *txt = '?'; // help for wrong message length
|
||||
switch(_1st){
|
||||
case 'd':
|
||||
IgnSz = 0;
|
||||
break;
|
||||
case 'D':
|
||||
SEND("Go into DFU mode\n");
|
||||
sendbuf();
|
||||
Jump2Boot();
|
||||
break;
|
||||
case 'I':
|
||||
CAN_reinit(0);
|
||||
break;
|
||||
case 'l':
|
||||
list_filters();
|
||||
break;
|
||||
case 'o':
|
||||
ledsON = 0;
|
||||
LED_off(LED0);
|
||||
LED_off(LED1);
|
||||
break;
|
||||
case 'O':
|
||||
ledsON = 1;
|
||||
break;
|
||||
case 'p':
|
||||
print_ign_buf();
|
||||
break;
|
||||
case 'P':
|
||||
ShowMsgs = !ShowMsgs;
|
||||
if(ShowMsgs) SEND("Resume\n");
|
||||
else SEND("Pause\n");
|
||||
break;
|
||||
case 'R':
|
||||
SEND("Soft reset\n");
|
||||
sendbuf();
|
||||
pause_ms(5); // a little pause to transmit data
|
||||
NVIC_SystemReset();
|
||||
break;
|
||||
case 'T':
|
||||
SEND("Time (ms): ");
|
||||
printu(Tms);
|
||||
newline();
|
||||
break;
|
||||
default: // help
|
||||
SEND(
|
||||
"'a' - add ID to ignore list (max 10 IDs)\n"
|
||||
"'b' - reinit CAN with given baudrate\n"
|
||||
"'d' - delete ignore list\n"
|
||||
"'D' - activate DFU mode\n"
|
||||
"'f' - add/delete filter, format: bank# FIFO# mode(M/I) num0 [num1 [num2 [num3]]]\n"
|
||||
"'F' - send/clear flood message: F ID byte0 ... byteN\n"
|
||||
"'I' - reinit CAN\n"
|
||||
"'l' - list all active filters\n"
|
||||
"'o' - turn LEDs OFF\n"
|
||||
"'O' - turn LEDs ON\n"
|
||||
"'p' - print ignore buffer\n"
|
||||
"'P' - pause/resume in packets displaying\n"
|
||||
"'R' - software reset\n"
|
||||
"'s/S' - send data over CAN: s ID byte0 .. byteN\n"
|
||||
"'T' - get time from start (ms)\n"
|
||||
);
|
||||
break;
|
||||
}
|
||||
eof:
|
||||
newline();
|
||||
sendbuf();
|
||||
}
|
||||
|
||||
// print 32bit unsigned int
|
||||
void printu(uint32_t val){
|
||||
char buf[11], *bufptr = &buf[10];
|
||||
*bufptr = 0;
|
||||
if(!val){
|
||||
*(--bufptr) = '0';
|
||||
}else{
|
||||
while(val){
|
||||
*(--bufptr) = val % 10 + '0';
|
||||
val /= 10;
|
||||
}
|
||||
}
|
||||
addtobuf(bufptr);
|
||||
}
|
||||
|
||||
// print 32bit unsigned int as hex
|
||||
void printuhex(uint32_t val){
|
||||
addtobuf("0x");
|
||||
uint8_t *ptr = (uint8_t*)&val + 3;
|
||||
int8_t i, j, z=1;
|
||||
for(i = 0; i < 4; ++i, --ptr){
|
||||
if(*ptr == 0){ // omit leading zeros
|
||||
if(i == 3) z = 0;
|
||||
if(z) continue;
|
||||
}
|
||||
else z = 0;
|
||||
for(j = 1; j > -1; --j){
|
||||
uint8_t half = (*ptr >> (4*j)) & 0x0f;
|
||||
if(half < 10) bufputchar(half + '0');
|
||||
else bufputchar(half - 10 + 'a');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// check Ignore_IDs & return 1 if ID isn't in list
|
||||
uint8_t isgood(uint16_t ID){
|
||||
for(int i = 0; i < IgnSz; ++i)
|
||||
if(Ignore_IDs[i] == ID) return 0;
|
||||
return 1;
|
||||
}
|
||||
62
F0:F030,F042,F072/deprecated/usbcan/proto.h
Normal file
62
F0:F030,F042,F072/deprecated/usbcan/proto.h
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* geany_encoding=koi8-r
|
||||
* proto.h
|
||||
*
|
||||
* Copyright 2018 Edward V. Emelianov <eddy@sao.ru, edward.emelianoff@gmail.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
* MA 02110-1301, USA.
|
||||
*
|
||||
*/
|
||||
#pragma once
|
||||
#ifndef __PROTO_H__
|
||||
#define __PROTO_H__
|
||||
|
||||
#include "stm32f0.h"
|
||||
#include "hardware.h"
|
||||
|
||||
#define BUFSZ (64)
|
||||
|
||||
// macro for static strings
|
||||
#define SEND(str) do{addtobuf(str);}while(0)
|
||||
|
||||
#ifdef EBUG
|
||||
#define MSG(str) do{addtobuf(__FILE__ " (L" STR(__LINE__) "): " str);}while(0)
|
||||
#else
|
||||
#define MSG(str)
|
||||
#endif
|
||||
|
||||
#define newline() do{bufputchar('\n');}while(0)
|
||||
// newline with buffer sending over USART
|
||||
#define NL() do{bufputchar('\n'); sendbuf();}while(0)
|
||||
|
||||
#define IGN_SIZE 10
|
||||
extern uint16_t Ignore_IDs[IGN_SIZE];
|
||||
extern uint8_t IgnSz;
|
||||
extern uint8_t ShowMsgs;
|
||||
|
||||
void cmd_parser(char *buf);
|
||||
void addtobuf(const char *txt);
|
||||
void bufputchar(char ch);
|
||||
void printu(uint32_t val);
|
||||
void printuhex(uint32_t val);
|
||||
void sendbuf();
|
||||
|
||||
char *omit_spaces(char *buf);
|
||||
char *getnum(char *buf, uint32_t *N);
|
||||
|
||||
uint8_t isgood(uint16_t ID);
|
||||
|
||||
#endif // __PROTO_H__
|
||||
180
F0:F030,F042,F072/deprecated/usbcan/usb.c
Normal file
180
F0:F030,F042,F072/deprecated/usbcan/usb.c
Normal file
@@ -0,0 +1,180 @@
|
||||
/*
|
||||
* geany_encoding=koi8-r
|
||||
* usb.c - base functions for different USB types
|
||||
*
|
||||
* Copyright 2018 Edward V. Emelianov <eddy@sao.ru, edward.emelianoff@gmail.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
* MA 02110-1301, USA.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "usb.h"
|
||||
#include "usb_lib.h"
|
||||
|
||||
static volatile uint8_t tx_succesfull = 1;
|
||||
static volatile uint8_t rxNE = 0;
|
||||
|
||||
// interrupt IN handler (never used?)
|
||||
static void EP1_Handler(){
|
||||
uint16_t epstatus = KEEP_DTOG(USB->EPnR[1]);
|
||||
if(RX_FLAG(epstatus)) epstatus = (epstatus & ~USB_EPnR_STAT_TX) ^ USB_EPnR_STAT_RX; // set valid RX
|
||||
else epstatus = epstatus & ~(USB_EPnR_STAT_TX|USB_EPnR_STAT_RX);
|
||||
// clear CTR
|
||||
epstatus = (epstatus & ~(USB_EPnR_CTR_RX|USB_EPnR_CTR_TX));
|
||||
USB->EPnR[1] = epstatus;
|
||||
}
|
||||
|
||||
// data IN/OUT handlers
|
||||
static void transmit_Handler(){ // EP3IN
|
||||
tx_succesfull = 1;
|
||||
uint16_t epstatus = KEEP_DTOG_STAT(USB->EPnR[3]);
|
||||
// clear CTR keep DTOGs & STATs
|
||||
USB->EPnR[3] = (epstatus & ~(USB_EPnR_CTR_TX)); // clear TX ctr
|
||||
}
|
||||
|
||||
static void receive_Handler(){ // EP2OUT
|
||||
rxNE = 1;
|
||||
uint16_t epstatus = KEEP_DTOG_STAT(USB->EPnR[2]);
|
||||
USB->EPnR[2] = (epstatus & ~(USB_EPnR_CTR_RX)); // clear RX ctr
|
||||
}
|
||||
|
||||
void USB_setup(){
|
||||
RCC->APB1ENR |= RCC_APB1ENR_CRSEN | RCC_APB1ENR_USBEN; // enable CRS (hsi48 sync) & USB
|
||||
RCC->CFGR3 &= ~RCC_CFGR3_USBSW; // reset USB
|
||||
RCC->CR2 |= RCC_CR2_HSI48ON; // turn ON HSI48
|
||||
uint32_t tmout = 16000000;
|
||||
while(!(RCC->CR2 & RCC_CR2_HSI48RDY)){if(--tmout == 0) break;}
|
||||
FLASH->ACR = FLASH_ACR_PRFTBE | FLASH_ACR_LATENCY;
|
||||
CRS->CFGR &= ~CRS_CFGR_SYNCSRC;
|
||||
CRS->CFGR |= CRS_CFGR_SYNCSRC_1; // USB SOF selected as sync source
|
||||
CRS->CR |= CRS_CR_AUTOTRIMEN; // enable auto trim
|
||||
CRS->CR |= CRS_CR_CEN; // enable freq counter & block CRS->CFGR as read-only
|
||||
RCC->CFGR |= RCC_CFGR_SW;
|
||||
// allow RESET and CTRM interrupts
|
||||
USB->CNTR = USB_CNTR_RESETM | USB_CNTR_WKUPM;
|
||||
// clear flags
|
||||
USB->ISTR = 0;
|
||||
// and activate pullup
|
||||
USB->BCDR |= USB_BCDR_DPPU;
|
||||
NVIC_EnableIRQ(USB_IRQn);
|
||||
}
|
||||
|
||||
|
||||
static int usbwr(const uint8_t *buf, uint16_t l){
|
||||
uint32_t ctra = 1000000;
|
||||
while(--ctra && tx_succesfull == 0){
|
||||
IWDG->KR = IWDG_REFRESH;
|
||||
}
|
||||
tx_succesfull = 0;
|
||||
EP_Write(3, buf, l);
|
||||
ctra = 1000000;
|
||||
while(--ctra && tx_succesfull == 0){
|
||||
IWDG->KR = IWDG_REFRESH;
|
||||
}
|
||||
if(tx_succesfull == 0){usbON = 0; return 1;} // usb is OFF?
|
||||
return 0;
|
||||
}
|
||||
|
||||
static uint8_t usbbuff[USB_TXBUFSZ-1]; // temporary buffer (63 - to prevent need of ZLP)
|
||||
static uint8_t buflen = 0; // amount of symbols in usbbuff
|
||||
|
||||
// send next up to 63 bytes of data in usbbuff
|
||||
static void send_next(){
|
||||
if(!buflen || !tx_succesfull) return;
|
||||
tx_succesfull = 0;
|
||||
EP_Write(3, usbbuff, buflen);
|
||||
buflen = 0;
|
||||
}
|
||||
|
||||
// unblocking sending - just fill a buffer
|
||||
void USB_send(const uint8_t *buf, uint16_t len){
|
||||
if(!usbON || !len) return;
|
||||
if(len > USB_TXBUFSZ-1 - buflen){
|
||||
usbwr(usbbuff, buflen);
|
||||
buflen = 0;
|
||||
}
|
||||
if(len > USB_TXBUFSZ-1){
|
||||
USB_send_blk(buf, len);
|
||||
return;
|
||||
}
|
||||
while(len--) usbbuff[buflen++] = *buf++;
|
||||
}
|
||||
|
||||
// send zero-terminated string
|
||||
void USB_sendstr(const char *str){
|
||||
uint16_t l = 0;
|
||||
const char *ptr = str;
|
||||
while(*ptr++) ++l;
|
||||
USB_send((uint8_t*)str, l);
|
||||
}
|
||||
|
||||
// blocking sending
|
||||
void USB_send_blk(const uint8_t *buf, uint16_t len){
|
||||
if(!usbON || !len) return; // USB disconnected
|
||||
if(buflen){
|
||||
usbwr(usbbuff, buflen);
|
||||
buflen = 0;
|
||||
}
|
||||
int needzlp = 0;
|
||||
while(len){
|
||||
if(len == USB_TXBUFSZ) needzlp = 1;
|
||||
uint16_t s = (len > USB_TXBUFSZ) ? USB_TXBUFSZ : len;
|
||||
if(usbwr(buf, s)) return;
|
||||
len -= s;
|
||||
buf += s;
|
||||
}
|
||||
if(needzlp){
|
||||
usbwr(NULL, 0);
|
||||
}
|
||||
}
|
||||
|
||||
void usb_proc(){
|
||||
switch(USB_Dev.USB_Status){
|
||||
case USB_STATE_CONFIGURED:
|
||||
// make new BULK endpoint
|
||||
// Buffer have 1024 bytes, but last 256 we use for CAN bus (30.2 of RM: USB main features)
|
||||
EP_Init(1, EP_TYPE_INTERRUPT, USB_EP1BUFSZ, 0, EP1_Handler); // IN1 - transmit
|
||||
EP_Init(2, EP_TYPE_BULK, 0, USB_RXBUFSZ, receive_Handler); // OUT2 - receive data
|
||||
EP_Init(3, EP_TYPE_BULK, USB_TXBUFSZ, 0, transmit_Handler); // IN3 - transmit data
|
||||
USB_Dev.USB_Status = USB_STATE_CONNECTED;
|
||||
break;
|
||||
case USB_STATE_DEFAULT:
|
||||
case USB_STATE_ADDRESSED:
|
||||
if(usbON){
|
||||
usbON = 0;
|
||||
}
|
||||
break;
|
||||
default: // USB_STATE_CONNECTED - send next data portion
|
||||
if(!usbON) return;
|
||||
send_next();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief USB_receive
|
||||
* @param buf (i) - buffer[64] for received data
|
||||
* @return amount of received bytes
|
||||
*/
|
||||
uint8_t USB_receive(uint8_t *buf){
|
||||
if(!usbON || !rxNE) return 0;
|
||||
uint8_t sz = EP_Read(2, buf);
|
||||
uint16_t epstatus = KEEP_DTOG(USB->EPnR[2]);
|
||||
// keep stat_tx & set ACK rx
|
||||
USB->EPnR[2] = (epstatus & ~(USB_EPnR_STAT_TX)) ^ USB_EPnR_STAT_RX;
|
||||
rxNE = 0;
|
||||
return sz;
|
||||
}
|
||||
|
||||
41
F0:F030,F042,F072/deprecated/usbcan/usb.h
Normal file
41
F0:F030,F042,F072/deprecated/usbcan/usb.h
Normal file
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* geany_encoding=koi8-r
|
||||
* usb.h
|
||||
*
|
||||
* Copyright 2018 Edward V. Emelianov <eddy@sao.ru, edward.emelianoff@gmail.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
* MA 02110-1301, USA.
|
||||
*
|
||||
*/
|
||||
#pragma once
|
||||
#ifndef __USB_H__
|
||||
#define __USB_H__
|
||||
|
||||
#include "hardware.h"
|
||||
|
||||
#define BUFFSIZE (64)
|
||||
|
||||
// send string with constant length
|
||||
#define USND(str) do{USB_send((uint8_t*)str, sizeof(str)-1);}while(0)
|
||||
|
||||
void USB_setup();
|
||||
void usb_proc();
|
||||
void USB_send(const uint8_t *buf, uint16_t len);
|
||||
void USB_sendstr(const char *str);
|
||||
void USB_send_blk(const uint8_t *buf, uint16_t len);
|
||||
uint8_t USB_receive(uint8_t *buf);
|
||||
|
||||
#endif // __USB_H__
|
||||
104
F0:F030,F042,F072/deprecated/usbcan/usb_defs.h
Normal file
104
F0:F030,F042,F072/deprecated/usbcan/usb_defs.h
Normal file
@@ -0,0 +1,104 @@
|
||||
/*
|
||||
* geany_encoding=koi8-r
|
||||
* usb_defs.h
|
||||
*
|
||||
* Copyright 2018 Edward V. Emelianov <eddy@sao.ru, edward.emelianoff@gmail.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
* MA 02110-1301, USA.
|
||||
*
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#ifndef __USB_DEFS_H__
|
||||
#define __USB_DEFS_H__
|
||||
|
||||
#include <stm32f0.h>
|
||||
|
||||
// max endpoints number
|
||||
#define STM32ENDPOINTS 8
|
||||
/**
|
||||
* Buffers size definition
|
||||
**/
|
||||
// !!! when working with CAN bus change USB_BTABLE_SIZE to 768 !!!
|
||||
#define USB_BTABLE_SIZE 768
|
||||
// for USB FS EP0 buffers are from 8 to 64 bytes long (64 for PL2303)
|
||||
#define USB_EP0_BUFSZ 64
|
||||
// USB transmit buffer size (64 for PL2303)
|
||||
#define USB_TXBUFSZ 64
|
||||
// USB receive buffer size (64 for PL2303)
|
||||
#define USB_RXBUFSZ 64
|
||||
// EP1 - interrupt - buffer size
|
||||
#define USB_EP1BUFSZ 8
|
||||
|
||||
#define USB_BTABLE_BASE 0x40006000
|
||||
|
||||
#ifdef USB_BTABLE
|
||||
#undef USB_BTABLE
|
||||
#endif
|
||||
#define USB_BTABLE ((USB_BtableDef *)(USB_BTABLE_BASE))
|
||||
#define USB_ISTR_EPID 0x0000000F
|
||||
#define USB_FNR_LSOF_0 0x00000800
|
||||
#define USB_FNR_lSOF_1 0x00001000
|
||||
#define USB_LPMCSR_BESL_0 0x00000010
|
||||
#define USB_LPMCSR_BESL_1 0x00000020
|
||||
#define USB_LPMCSR_BESL_2 0x00000040
|
||||
#define USB_LPMCSR_BESL_3 0x00000080
|
||||
#define USB_EPnR_CTR_RX 0x00008000
|
||||
#define USB_EPnR_DTOG_RX 0x00004000
|
||||
#define USB_EPnR_STAT_RX 0x00003000
|
||||
#define USB_EPnR_STAT_RX_0 0x00001000
|
||||
#define USB_EPnR_STAT_RX_1 0x00002000
|
||||
#define USB_EPnR_SETUP 0x00000800
|
||||
#define USB_EPnR_EP_TYPE 0x00000600
|
||||
#define USB_EPnR_EP_TYPE_0 0x00000200
|
||||
#define USB_EPnR_EP_TYPE_1 0x00000400
|
||||
#define USB_EPnR_EP_KIND 0x00000100
|
||||
#define USB_EPnR_CTR_TX 0x00000080
|
||||
#define USB_EPnR_DTOG_TX 0x00000040
|
||||
#define USB_EPnR_STAT_TX 0x00000030
|
||||
#define USB_EPnR_STAT_TX_0 0x00000010
|
||||
#define USB_EPnR_STAT_TX_1 0x00000020
|
||||
#define USB_EPnR_EA 0x0000000F
|
||||
#define USB_COUNTn_RX_BLSIZE 0x00008000
|
||||
#define USB_COUNTn_NUM_BLOCK 0x00007C00
|
||||
#define USB_COUNTn_RX 0x0000003F
|
||||
|
||||
#define USB_TypeDef USB_TypeDef_custom
|
||||
|
||||
typedef struct{
|
||||
__IO uint32_t EPnR[STM32ENDPOINTS];
|
||||
__IO uint32_t RESERVED[STM32ENDPOINTS];
|
||||
__IO uint32_t CNTR;
|
||||
__IO uint32_t ISTR;
|
||||
__IO uint32_t FNR;
|
||||
__IO uint32_t DADDR;
|
||||
__IO uint32_t BTABLE;
|
||||
__IO uint32_t LPMCSR;
|
||||
__IO uint32_t BCDR;
|
||||
} USB_TypeDef;
|
||||
|
||||
typedef struct{
|
||||
__IO uint16_t USB_ADDR_TX;
|
||||
__IO uint16_t USB_COUNT_TX;
|
||||
__IO uint16_t USB_ADDR_RX;
|
||||
__IO uint16_t USB_COUNT_RX;
|
||||
} USB_EPDATA_TypeDef;
|
||||
|
||||
typedef struct{
|
||||
__IO USB_EPDATA_TypeDef EP[STM32ENDPOINTS];
|
||||
} USB_BtableDef;
|
||||
|
||||
#endif // __USB_DEFS_H__
|
||||
473
F0:F030,F042,F072/deprecated/usbcan/usb_lib.c
Normal file
473
F0:F030,F042,F072/deprecated/usbcan/usb_lib.c
Normal file
@@ -0,0 +1,473 @@
|
||||
/*
|
||||
* geany_encoding=koi8-r
|
||||
* usb_lib.c
|
||||
*
|
||||
* Copyright 2018 Edward V. Emelianov <eddy@sao.ru, edward.emelianoff@gmail.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
* MA 02110-1301, USA.
|
||||
*
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include "usb_lib.h"
|
||||
|
||||
ep_t endpoints[STM32ENDPOINTS];
|
||||
|
||||
usb_dev_t USB_Dev;
|
||||
uint8_t usbON = 0;
|
||||
static usb_LineCoding lineCoding = {115200, 0, 0, 8};
|
||||
static config_pack_t setup_packet;
|
||||
static uint8_t ep0databuf[EP0DATABUF_SIZE];
|
||||
static uint8_t ep0dbuflen = 0;
|
||||
|
||||
usb_LineCoding getLineCoding(){return lineCoding;}
|
||||
|
||||
// definition of parts common for USB_DeviceDescriptor & USB_DeviceQualifierDescriptor
|
||||
#define bcdUSB_L 0x10
|
||||
#define bcdUSB_H 0x01
|
||||
#define bDeviceClass 0
|
||||
#define bDeviceSubClass 0
|
||||
#define bDeviceProtocol 0
|
||||
#define bNumConfigurations 1
|
||||
|
||||
static const uint8_t USB_DeviceDescriptor[] = {
|
||||
18, // bLength
|
||||
0x01, // bDescriptorType - Device descriptor
|
||||
bcdUSB_L, // bcdUSB_L - 1.10
|
||||
bcdUSB_H, // bcdUSB_H
|
||||
bDeviceClass, // bDeviceClass - USB_COMM
|
||||
bDeviceSubClass, // bDeviceSubClass
|
||||
bDeviceProtocol, // bDeviceProtocol
|
||||
USB_EP0_BUFSZ, // bMaxPacketSize
|
||||
0x7b, // idVendor_L PL2303: VID=0x067b, PID=0x2303
|
||||
0x06, // idVendor_H
|
||||
0x03, // idProduct_L
|
||||
0x23, // idProduct_H
|
||||
0x00, // bcdDevice_Ver_L
|
||||
0x03, // bcdDevice_Ver_H
|
||||
0x01, // iManufacturer
|
||||
0x02, // iProduct
|
||||
0x00, // iSerialNumber
|
||||
bNumConfigurations // bNumConfigurations
|
||||
};
|
||||
|
||||
static const uint8_t USB_DeviceQualifierDescriptor[] = {
|
||||
10, //bLength
|
||||
0x06, // bDescriptorType - Device qualifier
|
||||
bcdUSB_L, // bcdUSB_L
|
||||
bcdUSB_H, // bcdUSB_H
|
||||
bDeviceClass, // bDeviceClass
|
||||
bDeviceSubClass, // bDeviceSubClass
|
||||
bDeviceProtocol, // bDeviceProtocol
|
||||
USB_EP0_BUFSZ, // bMaxPacketSize0
|
||||
bNumConfigurations, // bNumConfigurations
|
||||
0x00 // Reserved
|
||||
};
|
||||
|
||||
static const uint8_t USB_ConfigDescriptor[] = {
|
||||
/*Configuration Descriptor*/
|
||||
0x09, /* bLength: Configuration Descriptor size */
|
||||
0x02, /* bDescriptorType: Configuration */
|
||||
39, /* wTotalLength:no of returned bytes */
|
||||
0x00,
|
||||
0x01, /* bNumInterfaces: 1 interface */
|
||||
0x01, /* bConfigurationValue: Configuration value */
|
||||
0x00, /* iConfiguration: Index of string descriptor describing the configuration */
|
||||
0xa0, /* bmAttributes - Bus powered, Remote wakeup */
|
||||
0x32, /* MaxPower 100 mA */
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
/*Interface Descriptor */
|
||||
0x09, /* bLength: Interface Descriptor size */
|
||||
0x04, /* bDescriptorType: Interface */
|
||||
0x00, /* bInterfaceNumber: Number of Interface */
|
||||
0x00, /* bAlternateSetting: Alternate setting */
|
||||
0x03, /* bNumEndpoints: 3 endpoints used */
|
||||
0xff, /* bInterfaceClass */
|
||||
0x00, /* bInterfaceSubClass */
|
||||
0x00, /* bInterfaceProtocol */
|
||||
0x00, /* iInterface: */
|
||||
///////////////////////////////////////////////////
|
||||
/*Endpoint 1 Descriptor*/
|
||||
0x07, /* bLength: Endpoint Descriptor size */
|
||||
0x05, /* bDescriptorType: Endpoint */
|
||||
0x81, /* bEndpointAddress IN1 */
|
||||
0x03, /* bmAttributes: Interrupt */
|
||||
0x0a, /* wMaxPacketSize LO: */
|
||||
0x00, /* wMaxPacketSize HI: */
|
||||
0x01, /* bInterval: */
|
||||
|
||||
/*Endpoint OUT2 Descriptor*/
|
||||
0x07, /* bLength: Endpoint Descriptor size */
|
||||
0x05, /* bDescriptorType: Endpoint */
|
||||
0x02, /* bEndpointAddress: OUT2 */
|
||||
0x02, /* bmAttributes: Bulk */
|
||||
(USB_RXBUFSZ & 0xff), /* wMaxPacketSize: 64 */
|
||||
(USB_RXBUFSZ >> 8),
|
||||
0x00, /* bInterval: ignore for Bulk transfer */
|
||||
|
||||
/*Endpoint IN3 Descriptor*/
|
||||
0x07, /* bLength: Endpoint Descriptor size */
|
||||
0x05, /* bDescriptorType: Endpoint */
|
||||
0x83, /* bEndpointAddress IN3 */
|
||||
0x02, /* bmAttributes: Bulk */
|
||||
(USB_TXBUFSZ & 0xff), /* wMaxPacketSize: 64 */
|
||||
(USB_TXBUFSZ >> 8),
|
||||
0x00, /* bInterval: ignore for Bulk transfer */
|
||||
};
|
||||
|
||||
_USB_LANG_ID_(USB_StringLangDescriptor, LANG_US);
|
||||
// these descriptors are not used in PL2303 emulator!
|
||||
_USB_STRING_(USB_StringSerialDescriptor, u"0");
|
||||
_USB_STRING_(USB_StringManufacturingDescriptor, u"Prolific Technology Inc.");
|
||||
_USB_STRING_(USB_StringProdDescriptor, u"USB-Serial Controller");
|
||||
|
||||
/*
|
||||
* default handlers
|
||||
*/
|
||||
// SET_LINE_CODING
|
||||
void WEAK linecoding_handler(usb_LineCoding __attribute__((unused)) *lc){
|
||||
}
|
||||
|
||||
// SET_CONTROL_LINE_STATE
|
||||
void WEAK clstate_handler(uint16_t __attribute__((unused)) val){
|
||||
}
|
||||
|
||||
// SEND_BREAK
|
||||
void WEAK break_handler(){
|
||||
}
|
||||
|
||||
// handler of vendor requests
|
||||
void WEAK vendor_handler(config_pack_t *packet){
|
||||
if(packet->bmRequestType & 0x80){ // read
|
||||
uint8_t c;
|
||||
switch(packet->wValue){
|
||||
case 0x8484:
|
||||
c = 2;
|
||||
break;
|
||||
case 0x0080:
|
||||
c = 1;
|
||||
break;
|
||||
case 0x8686:
|
||||
c = 0xaa;
|
||||
break;
|
||||
default:
|
||||
c = 0;
|
||||
}
|
||||
EP_WriteIRQ(0, &c, 1);
|
||||
}else{ // write ZLP
|
||||
EP_WriteIRQ(0, (uint8_t *)0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
static void wr0(const uint8_t *buf, uint16_t size){
|
||||
if(setup_packet.wLength < size) size = setup_packet.wLength; // shortened request
|
||||
if(size < endpoints[0].txbufsz){
|
||||
EP_WriteIRQ(0, buf, size);
|
||||
return;
|
||||
}
|
||||
while(size){
|
||||
uint16_t l = size;
|
||||
if(l > endpoints[0].txbufsz) l = endpoints[0].txbufsz;
|
||||
EP_WriteIRQ(0, buf, l);
|
||||
buf += l;
|
||||
size -= l;
|
||||
uint8_t needzlp = (l == endpoints[0].txbufsz) ? 1 : 0;
|
||||
if(size || needzlp){ // send last data buffer
|
||||
uint16_t status = KEEP_DTOG(USB->EPnR[0]);
|
||||
// keep DTOGs, clear CTR_RX,TX, set TX VALID, leave stat_Rx
|
||||
USB->EPnR[0] = (status & ~(USB_EPnR_CTR_RX|USB_EPnR_CTR_TX|USB_EPnR_STAT_RX))
|
||||
^ USB_EPnR_STAT_TX;
|
||||
uint32_t ctr = 1000000;
|
||||
while(--ctr && (USB->ISTR & USB_ISTR_CTR) == 0){IWDG->KR = IWDG_REFRESH;};
|
||||
if((USB->ISTR & USB_ISTR_CTR) == 0){
|
||||
return;
|
||||
}
|
||||
if(needzlp) EP_WriteIRQ(0, (uint8_t*)0, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static inline void get_descriptor(){
|
||||
switch(setup_packet.wValue){
|
||||
case DEVICE_DESCRIPTOR:
|
||||
wr0(USB_DeviceDescriptor, sizeof(USB_DeviceDescriptor));
|
||||
break;
|
||||
case CONFIGURATION_DESCRIPTOR:
|
||||
wr0(USB_ConfigDescriptor, sizeof(USB_ConfigDescriptor));
|
||||
break;
|
||||
case STRING_LANG_DESCRIPTOR:
|
||||
wr0((const uint8_t *)&USB_StringLangDescriptor, STRING_LANG_DESCRIPTOR_SIZE_BYTE);
|
||||
break;
|
||||
case STRING_MAN_DESCRIPTOR:
|
||||
wr0((const uint8_t *)&USB_StringManufacturingDescriptor, USB_StringManufacturingDescriptor.bLength);
|
||||
break;
|
||||
case STRING_PROD_DESCRIPTOR:
|
||||
wr0((const uint8_t *)&USB_StringProdDescriptor, USB_StringProdDescriptor.bLength);
|
||||
break;
|
||||
case STRING_SN_DESCRIPTOR:
|
||||
wr0((const uint8_t *)&USB_StringSerialDescriptor, USB_StringSerialDescriptor.bLength);
|
||||
break;
|
||||
case DEVICE_QUALIFIER_DESCRIPTOR:
|
||||
wr0(USB_DeviceQualifierDescriptor, USB_DeviceQualifierDescriptor[0]);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
static uint8_t configuration = 0; // reply for GET_CONFIGURATION (==1 if configured)
|
||||
static inline void std_d2h_req(){
|
||||
uint16_t status = 0; // bus powered
|
||||
switch(setup_packet.bRequest){
|
||||
case GET_DESCRIPTOR:
|
||||
get_descriptor();
|
||||
break;
|
||||
case GET_STATUS:
|
||||
EP_WriteIRQ(0, (uint8_t *)&status, 2); // send status: Bus Powered
|
||||
break;
|
||||
case GET_CONFIGURATION:
|
||||
EP_WriteIRQ(0, &configuration, 1);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
static inline void std_h2d_req(){
|
||||
switch(setup_packet.bRequest){
|
||||
case SET_ADDRESS:
|
||||
// new address will be assigned later - after acknowlegement or request to host
|
||||
USB_Dev.USB_Addr = setup_packet.wValue;
|
||||
break;
|
||||
case SET_CONFIGURATION:
|
||||
// Now device configured
|
||||
USB_Dev.USB_Status = USB_STATE_CONFIGURED;
|
||||
configuration = setup_packet.wValue;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
bmRequestType: 76543210
|
||||
7 direction: 0 - host->device, 1 - device->host
|
||||
65 type: 0 - standard, 1 - class, 2 - vendor
|
||||
4..0 getter: 0 - device, 1 - interface, 2 - endpoint, 3 - other
|
||||
*/
|
||||
/**
|
||||
* Endpoint0 (control) handler
|
||||
*/
|
||||
static void EP0_Handler(){
|
||||
uint16_t epstatus = USB->EPnR[0]; // EP0R on input -> return this value after modifications
|
||||
uint8_t reqtype = setup_packet.bmRequestType & 0x7f;
|
||||
uint8_t dev2host = (setup_packet.bmRequestType & 0x80) ? 1 : 0;
|
||||
int rxflag = RX_FLAG(epstatus);
|
||||
if(rxflag && SETUP_FLAG(epstatus)){
|
||||
switch(reqtype){
|
||||
case STANDARD_DEVICE_REQUEST_TYPE: // standard device request
|
||||
if(dev2host){
|
||||
std_d2h_req();
|
||||
}else{
|
||||
std_h2d_req();
|
||||
EP_WriteIRQ(0, (uint8_t *)0, 0);
|
||||
}
|
||||
break;
|
||||
case STANDARD_ENDPOINT_REQUEST_TYPE: // standard endpoint request
|
||||
if(setup_packet.bRequest == CLEAR_FEATURE){
|
||||
EP_WriteIRQ(0, (uint8_t *)0, 0);
|
||||
}
|
||||
break;
|
||||
case VENDOR_REQUEST_TYPE:
|
||||
vendor_handler(&setup_packet);
|
||||
break;
|
||||
case CONTROL_REQUEST_TYPE:
|
||||
switch(setup_packet.bRequest){
|
||||
case GET_LINE_CODING:
|
||||
EP_WriteIRQ(0, (uint8_t*)&lineCoding, sizeof(lineCoding));
|
||||
break;
|
||||
case SET_LINE_CODING: // omit this for next stage, when data will come
|
||||
break;
|
||||
case SET_CONTROL_LINE_STATE:
|
||||
usbON = 1;
|
||||
clstate_handler(setup_packet.wValue);
|
||||
break;
|
||||
case SEND_BREAK:
|
||||
usbON = 0;
|
||||
break_handler();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
if(setup_packet.bRequest != GET_LINE_CODING) EP_WriteIRQ(0, (uint8_t *)0, 0); // write acknowledgement
|
||||
break;
|
||||
default:
|
||||
EP_WriteIRQ(0, (uint8_t *)0, 0);
|
||||
}
|
||||
}else if(rxflag){ // got data over EP0 or host acknowlegement
|
||||
if(endpoints[0].rx_cnt){
|
||||
if(setup_packet.bRequest == SET_LINE_CODING){
|
||||
linecoding_handler((usb_LineCoding*)ep0databuf);
|
||||
}
|
||||
}
|
||||
} else if(TX_FLAG(epstatus)){ // package transmitted
|
||||
// now we can change address after enumeration
|
||||
if ((USB->DADDR & USB_DADDR_ADD) != USB_Dev.USB_Addr){
|
||||
USB->DADDR = USB_DADDR_EF | USB_Dev.USB_Addr;
|
||||
// change state to ADRESSED
|
||||
USB_Dev.USB_Status = USB_STATE_ADDRESSED;
|
||||
}
|
||||
}
|
||||
epstatus = KEEP_DTOG(USB->EPnR[0]);
|
||||
if(rxflag) epstatus ^= USB_EPnR_STAT_TX; // start ZLP/data transmission
|
||||
else epstatus &= ~USB_EPnR_STAT_TX; // or leave unchanged
|
||||
// keep DTOGs, clear CTR_RX,TX, set RX VALID
|
||||
USB->EPnR[0] = (epstatus & ~(USB_EPnR_CTR_RX|USB_EPnR_CTR_TX)) ^ USB_EPnR_STAT_RX;
|
||||
}
|
||||
|
||||
static uint16_t lastaddr = LASTADDR_DEFAULT;
|
||||
/**
|
||||
* Endpoint initialisation
|
||||
* !!! when working with CAN bus change USB_BTABLE_SIZE to 768 !!!
|
||||
* @param number - EP num (0...7)
|
||||
* @param type - EP type (EP_TYPE_BULK, EP_TYPE_CONTROL, EP_TYPE_ISO, EP_TYPE_INTERRUPT)
|
||||
* @param txsz - transmission buffer size @ USB/CAN buffer
|
||||
* @param rxsz - reception buffer size @ USB/CAN buffer
|
||||
* @param uint16_t (*func)(ep_t *ep) - EP handler function
|
||||
* @return 0 if all OK
|
||||
*/
|
||||
int EP_Init(uint8_t number, uint8_t type, uint16_t txsz, uint16_t rxsz, void (*func)()){
|
||||
if(number >= STM32ENDPOINTS) return 4; // out of configured amount
|
||||
if(txsz > USB_BTABLE_SIZE || rxsz > USB_BTABLE_SIZE) return 1; // buffer too large
|
||||
if(lastaddr + txsz + rxsz >= USB_BTABLE_SIZE) return 2; // out of btable
|
||||
USB->EPnR[number] = (type << 9) | (number & USB_EPnR_EA);
|
||||
USB->EPnR[number] ^= USB_EPnR_STAT_RX | USB_EPnR_STAT_TX_1;
|
||||
if(rxsz & 1 || rxsz > 512) return 3; // wrong rx buffer size
|
||||
uint16_t countrx = 0;
|
||||
if(rxsz < 64) countrx = rxsz / 2;
|
||||
else{
|
||||
if(rxsz & 0x1f) return 3; // should be multiple of 32
|
||||
countrx = 31 + rxsz / 32;
|
||||
}
|
||||
USB_BTABLE->EP[number].USB_ADDR_TX = lastaddr;
|
||||
endpoints[number].tx_buf = (uint16_t *)(USB_BTABLE_BASE + lastaddr);
|
||||
endpoints[number].txbufsz = txsz;
|
||||
lastaddr += txsz;
|
||||
USB_BTABLE->EP[number].USB_COUNT_TX = 0;
|
||||
USB_BTABLE->EP[number].USB_ADDR_RX = lastaddr;
|
||||
endpoints[number].rx_buf = (uint8_t *)(USB_BTABLE_BASE + lastaddr);
|
||||
lastaddr += rxsz;
|
||||
// buffer size: Table127 of RM
|
||||
USB_BTABLE->EP[number].USB_COUNT_RX = countrx << 10;
|
||||
endpoints[number].func = func;
|
||||
return 0;
|
||||
}
|
||||
|
||||
// standard IRQ handler
|
||||
void usb_isr(){
|
||||
if (USB->ISTR & USB_ISTR_RESET){
|
||||
// Reinit registers
|
||||
USB->CNTR = USB_CNTR_RESETM | USB_CNTR_CTRM | USB_CNTR_SUSPM | USB_CNTR_WKUPM;
|
||||
USB->ISTR = 0;
|
||||
// Endpoint 0 - CONTROL
|
||||
// ON USB LS size of EP0 may be 8 bytes, but on FS it should be 64 bytes!
|
||||
lastaddr = LASTADDR_DEFAULT; // roll back to beginning of buffer
|
||||
EP_Init(0, EP_TYPE_CONTROL, USB_EP0_BUFSZ, USB_EP0_BUFSZ, EP0_Handler);
|
||||
// clear address, leave only enable bit
|
||||
USB->DADDR = USB_DADDR_EF;
|
||||
// state is default - wait for enumeration
|
||||
USB_Dev.USB_Status = USB_STATE_DEFAULT;
|
||||
}
|
||||
if(USB->ISTR & USB_ISTR_CTR){
|
||||
// EP number
|
||||
uint8_t n = USB->ISTR & USB_ISTR_EPID;
|
||||
// copy status register
|
||||
uint16_t epstatus = USB->EPnR[n];
|
||||
// copy received bytes amount
|
||||
endpoints[n].rx_cnt = USB_BTABLE->EP[n].USB_COUNT_RX & 0x3FF; // low 10 bits is counter
|
||||
// check direction
|
||||
if(USB->ISTR & USB_ISTR_DIR){ // OUT interrupt - receive data, CTR_RX==1 (if CTR_TX == 1 - two pending transactions: receive following by transmit)
|
||||
if(n == 0){ // control endpoint
|
||||
if(epstatus & USB_EPnR_SETUP){ // setup packet -> copy data to conf_pack
|
||||
EP_Read(0, (uint8_t*)&setup_packet);
|
||||
ep0dbuflen = 0;
|
||||
// interrupt handler will be called later
|
||||
}else if(epstatus & USB_EPnR_CTR_RX){ // data packet -> push received data to ep0databuf
|
||||
ep0dbuflen = endpoints[0].rx_cnt;
|
||||
EP_Read(0, (uint8_t*)&ep0databuf);
|
||||
}
|
||||
}
|
||||
}
|
||||
// call EP handler
|
||||
if(endpoints[n].func) endpoints[n].func(endpoints[n]);
|
||||
}
|
||||
if(USB->ISTR & USB_ISTR_SUSP){ // suspend -> still no connection, may sleep
|
||||
usbON = 0;
|
||||
USB->CNTR |= USB_CNTR_FSUSP | USB_CNTR_LPMODE;
|
||||
USB->ISTR = ~USB_ISTR_SUSP;
|
||||
}
|
||||
if(USB->ISTR & USB_ISTR_WKUP){ // wakeup
|
||||
USB->CNTR &= ~(USB_CNTR_FSUSP | USB_CNTR_LPMODE); // clear suspend flags
|
||||
USB->ISTR = ~USB_ISTR_WKUP;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Write data to EP buffer (called from IRQ handler)
|
||||
* @param number - EP number
|
||||
* @param *buf - array with data
|
||||
* @param size - its size
|
||||
*/
|
||||
void EP_WriteIRQ(uint8_t number, const uint8_t *buf, uint16_t size){
|
||||
uint8_t i;
|
||||
if(size > USB_TXBUFSZ) size = USB_TXBUFSZ;
|
||||
uint16_t N2 = (size + 1) >> 1;
|
||||
// the buffer is 16-bit, so we should copy data as it would be uint16_t
|
||||
uint16_t *buf16 = (uint16_t *)buf;
|
||||
for (i = 0; i < N2; i++){
|
||||
endpoints[number].tx_buf[i] = buf16[i];
|
||||
}
|
||||
USB_BTABLE->EP[number].USB_COUNT_TX = size;
|
||||
}
|
||||
|
||||
/**
|
||||
* Write data to EP buffer (called outside IRQ handler)
|
||||
* @param number - EP number
|
||||
* @param *buf - array with data
|
||||
* @param size - its size
|
||||
*/
|
||||
void EP_Write(uint8_t number, const uint8_t *buf, uint16_t size){
|
||||
EP_WriteIRQ(number, buf, size);
|
||||
uint16_t status = KEEP_DTOG(USB->EPnR[number]);
|
||||
// keep DTOGs, clear CTR_TX & set TX VALID to start transmission
|
||||
USB->EPnR[number] = (status & ~(USB_EPnR_CTR_TX)) ^ USB_EPnR_STAT_TX;
|
||||
}
|
||||
|
||||
/*
|
||||
* Copy data from EP buffer into user buffer area
|
||||
* @param *buf - user array for data
|
||||
* @return amount of data read
|
||||
*/
|
||||
int EP_Read(uint8_t number, uint8_t *buf){
|
||||
int n = endpoints[number].rx_cnt;
|
||||
if(n){
|
||||
for(int i = 0; i < n; ++i)
|
||||
buf[i] = endpoints[number].rx_buf[i];
|
||||
}
|
||||
return n;
|
||||
}
|
||||
189
F0:F030,F042,F072/deprecated/usbcan/usb_lib.h
Normal file
189
F0:F030,F042,F072/deprecated/usbcan/usb_lib.h
Normal file
@@ -0,0 +1,189 @@
|
||||
/*
|
||||
* geany_encoding=koi8-r
|
||||
* usb_lib.h
|
||||
*
|
||||
* Copyright 2018 Edward V. Emelianov <eddy@sao.ru, edward.emelianoff@gmail.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
* MA 02110-1301, USA.
|
||||
*
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#ifndef __USB_LIB_H__
|
||||
#define __USB_LIB_H__
|
||||
|
||||
#include <wchar.h>
|
||||
#include "usb_defs.h"
|
||||
|
||||
#define EP0DATABUF_SIZE (64)
|
||||
#define LASTADDR_DEFAULT (STM32ENDPOINTS * 8)
|
||||
|
||||
// bmRequestType & 0x7f
|
||||
#define STANDARD_DEVICE_REQUEST_TYPE 0
|
||||
#define STANDARD_ENDPOINT_REQUEST_TYPE 2
|
||||
#define VENDOR_REQUEST_TYPE 0x40
|
||||
#define CONTROL_REQUEST_TYPE 0x21
|
||||
// bRequest, standard; for bmRequestType == 0x80
|
||||
#define GET_STATUS 0x00
|
||||
#define GET_DESCRIPTOR 0x06
|
||||
#define GET_CONFIGURATION 0x08
|
||||
// for bmRequestType == 0
|
||||
#define CLEAR_FEATURE 0x01
|
||||
#define SET_FEATURE 0x03 // unused
|
||||
#define SET_ADDRESS 0x05
|
||||
#define SET_DESCRIPTOR 0x07 // unused
|
||||
#define SET_CONFIGURATION 0x09
|
||||
// for bmRequestType == 0x81, 1 or 0xB2
|
||||
#define GET_INTERFACE 0x0A // unused
|
||||
#define SET_INTERFACE 0x0B // unused
|
||||
#define SYNC_FRAME 0x0C // unused
|
||||
#define VENDOR_REQUEST 0x01 // unused
|
||||
|
||||
// Class-Specific Control Requests
|
||||
#define SEND_ENCAPSULATED_COMMAND 0x00 // unused
|
||||
#define GET_ENCAPSULATED_RESPONSE 0x01 // unused
|
||||
#define SET_COMM_FEATURE 0x02 // unused
|
||||
#define GET_COMM_FEATURE 0x03 // unused
|
||||
#define CLEAR_COMM_FEATURE 0x04 // unused
|
||||
#define SET_LINE_CODING 0x20
|
||||
#define GET_LINE_CODING 0x21
|
||||
#define SET_CONTROL_LINE_STATE 0x22
|
||||
#define SEND_BREAK 0x23
|
||||
|
||||
// control line states
|
||||
#define CONTROL_DTR 0x01
|
||||
#define CONTROL_RTS 0x02
|
||||
|
||||
// wValue
|
||||
#define DEVICE_DESCRIPTOR 0x100
|
||||
#define CONFIGURATION_DESCRIPTOR 0x200
|
||||
#define STRING_LANG_DESCRIPTOR 0x300
|
||||
#define STRING_MAN_DESCRIPTOR 0x301
|
||||
#define STRING_PROD_DESCRIPTOR 0x302
|
||||
#define STRING_SN_DESCRIPTOR 0x303
|
||||
#define DEVICE_QUALIFIER_DESCRIPTOR 0x600
|
||||
|
||||
#define RX_FLAG(epstat) (epstat & USB_EPnR_CTR_RX)
|
||||
#define TX_FLAG(epstat) (epstat & USB_EPnR_CTR_TX)
|
||||
#define SETUP_FLAG(epstat) (epstat & USB_EPnR_SETUP)
|
||||
|
||||
// EPnR bits manipulation
|
||||
#define KEEP_DTOG_STAT(EPnR) (EPnR & ~(USB_EPnR_STAT_RX|USB_EPnR_STAT_TX|USB_EPnR_DTOG_RX|USB_EPnR_DTOG_TX))
|
||||
#define KEEP_DTOG(EPnR) (EPnR & ~(USB_EPnR_DTOG_RX|USB_EPnR_DTOG_TX))
|
||||
|
||||
// USB state: uninitialized, addressed, ready for use, client connected
|
||||
typedef enum{
|
||||
USB_STATE_DEFAULT,
|
||||
USB_STATE_ADDRESSED,
|
||||
USB_STATE_CONFIGURED,
|
||||
USB_STATE_CONNECTED
|
||||
} USB_state;
|
||||
|
||||
// EP types
|
||||
#define EP_TYPE_BULK 0x00
|
||||
#define EP_TYPE_CONTROL 0x01
|
||||
#define EP_TYPE_ISO 0x02
|
||||
#define EP_TYPE_INTERRUPT 0x03
|
||||
|
||||
#define LANG_US (uint16_t)0x0409
|
||||
|
||||
#define _USB_STRING_(name, str) \
|
||||
static const struct name \
|
||||
{ \
|
||||
uint8_t bLength; \
|
||||
uint8_t bDescriptorType; \
|
||||
uint16_t bString[(sizeof(str) - 2) / 2]; \
|
||||
\
|
||||
} \
|
||||
name = {sizeof(name), 0x03, str}
|
||||
|
||||
#define _USB_LANG_ID_(name, lng_id) \
|
||||
\
|
||||
static const struct name \
|
||||
{ \
|
||||
uint8_t bLength; \
|
||||
uint8_t bDescriptorType; \
|
||||
uint16_t bString; \
|
||||
\
|
||||
} \
|
||||
name = {0x04, 0x03, lng_id}
|
||||
#define STRING_LANG_DESCRIPTOR_SIZE_BYTE (4)
|
||||
|
||||
// EP0 configuration packet
|
||||
typedef struct {
|
||||
uint8_t bmRequestType;
|
||||
uint8_t bRequest;
|
||||
uint16_t wValue;
|
||||
uint16_t wIndex;
|
||||
uint16_t wLength;
|
||||
} config_pack_t;
|
||||
|
||||
// endpoints state
|
||||
typedef struct __ep_t{
|
||||
uint16_t *tx_buf; // transmission buffer address
|
||||
uint16_t txbufsz; // transmission buffer size
|
||||
uint8_t *rx_buf; // reception buffer address
|
||||
void (*func)(); // endpoint action function
|
||||
uint16_t rx_cnt; // received data counter
|
||||
} ep_t;
|
||||
|
||||
// USB status & its address
|
||||
typedef struct {
|
||||
uint8_t USB_Status;
|
||||
uint16_t USB_Addr;
|
||||
}usb_dev_t;
|
||||
|
||||
typedef struct {
|
||||
uint32_t dwDTERate;
|
||||
uint8_t bCharFormat;
|
||||
#define USB_CDC_1_STOP_BITS 0
|
||||
#define USB_CDC_1_5_STOP_BITS 1
|
||||
#define USB_CDC_2_STOP_BITS 2
|
||||
uint8_t bParityType;
|
||||
#define USB_CDC_NO_PARITY 0
|
||||
#define USB_CDC_ODD_PARITY 1
|
||||
#define USB_CDC_EVEN_PARITY 2
|
||||
#define USB_CDC_MARK_PARITY 3
|
||||
#define USB_CDC_SPACE_PARITY 4
|
||||
uint8_t bDataBits;
|
||||
} __attribute__ ((packed)) usb_LineCoding;
|
||||
|
||||
typedef struct {
|
||||
uint8_t bmRequestType;
|
||||
uint8_t bNotificationType;
|
||||
uint16_t wValue;
|
||||
uint16_t wIndex;
|
||||
uint16_t wLength;
|
||||
} __attribute__ ((packed)) usb_cdc_notification;
|
||||
|
||||
extern ep_t endpoints[];
|
||||
extern usb_dev_t USB_Dev;
|
||||
extern uint8_t usbON;
|
||||
|
||||
void USB_Init();
|
||||
uint8_t USB_GetState();
|
||||
int EP_Init(uint8_t number, uint8_t type, uint16_t txsz, uint16_t rxsz, void (*func)());
|
||||
void EP_WriteIRQ(uint8_t number, const uint8_t *buf, uint16_t size);
|
||||
void EP_Write(uint8_t number, const uint8_t *buf, uint16_t size);
|
||||
int EP_Read(uint8_t number, uint8_t *buf);
|
||||
usb_LineCoding getLineCoding();
|
||||
|
||||
void linecoding_handler(usb_LineCoding *lc);
|
||||
void clstate_handler(uint16_t val);
|
||||
void break_handler();
|
||||
void vendor_handler(config_pack_t *packet);
|
||||
|
||||
#endif // __USB_LIB_H__
|
||||
BIN
F0:F030,F042,F072/deprecated/usbcan/usbcan.bin
Executable file
BIN
F0:F030,F042,F072/deprecated/usbcan/usbcan.bin
Executable file
Binary file not shown.
2
F0:F030,F042,F072/deprecated/usbcan/version.inc
Normal file
2
F0:F030,F042,F072/deprecated/usbcan/version.inc
Normal file
@@ -0,0 +1,2 @@
|
||||
#define BUILD_NUMBER "1"
|
||||
#define BUILD_DATE "2023-01-18"
|
||||
Reference in New Issue
Block a user