diff --git a/Hardware/Design Choices.markdown b/Hardware/Design Choices.markdown index d1f3028..c727ac2 100644 --- a/Hardware/Design Choices.markdown +++ b/Hardware/Design Choices.markdown @@ -1,45 +1,45 @@ -@page designChoices Design Choices - -# JTAG Interface - -When connecting the MCU to the programmer via the JTAG interface, it is possible for a local power supply connected to the MCU to be used or for power from the debugging/programming adapter to be used. Since having power supplied to the MCU from the debugging/programming adapter can be useful for use outside of the Sunseeker vehicle, we chose to use that. - - - -# Microcontroller Connections - -The board is going to be organized to the best of our abilities to be organized as such: - -- Left Side: - - Peripherals for communicating with/controlling the Sunseeker vehicle -- Right Side: - - Peripherals for communicating with users - - - -#### Universal Serial Communication Interfaces (USCIs): - -- A - Supporting up to four total of UART and/or SPI - - A0 [SPI]: - - CANbus Controller 0 (Microchip Technology MCP2515T-I/SO) - - CANbus Controller 1 (Microchip Technology MCP2515T-I/SO) - - A1: - - A2 [UART]: - - USB to UART Bridge (Future Technology Devices International FT230XS-R) - - A3 [UART]: - - RS-232 Transceiver (STMicroelectronics ST232CDR) - -- B - Supporting up to four total of I2C and/or SPI - - B0 [SPI]: - - SD Card - - GPS Receiver (U-Blox NEO-M8Q-01A) - - B1 [I2C]: - - Inertial Measurement Unit (TDK InvenSense ICM-20948) - - Real-Time Clock/Calendar (Microchip Technology ‎MCP7940MT-I/SN) - - B2: - - B3 [SPI]: - - Bluetooth/Wi-Fi (Espressif Systems ESP32-WROVER-IE (8MB)) - - - +@page designChoices Design Choices + +# JTAG Interface + +When connecting the MCU to the programmer via the JTAG interface, it is possible for a local power supply connected to the MCU to be used or for power from the debugging/programming adapter to be used. Since having power supplied to the MCU from the debugging/programming adapter can be useful for use outside of the Sunseeker vehicle, we chose to use that. + + + +# Microcontroller Connections + +The board is going to be organized to the best of our abilities to be organized as such: + +- Left Side: + - Peripherals for communicating with/controlling the Sunseeker vehicle +- Right Side: + - Peripherals for communicating with users + + + +#### Universal Serial Communication Interfaces (USCIs): + +- A - Supporting up to four total of UART and/or SPI + - A0 [SPI]: + - CANbus Controller 0 (Microchip Technology MCP2515T-I/SO) + - CANbus Controller 1 (Microchip Technology MCP2515T-I/SO) + - A1: + - A2 [UART]: + - USB to UART Bridge (Future Technology Devices International FT230XS-R) + - A3 [UART]: + - RS-232 Transceiver (Maxim Integrated MAX3232EUE+) + +- B - Supporting up to four total of I2C and/or SPI + - B0 [SPI]: + - SD Card + - GPS Receiver (U-Blox NEO-M8Q-01A) + - B1 [I2C]: + - Inertial Measurement Unit (TDK InvenSense ICM-20948) + - Real-Time Clock/Calendar (Microchip Technology ‎MCP7940MT-I/SN) + - B2: + - B3 [SPI]: + - Bluetooth/Wi-Fi (Espressif Systems ESP32-WROVER-IE (8MB)) + + + In addition to trying to keep the MCU and PCB organized with the left-side being to do with the Sunseeker vehicle and the right side to be peripherals interacting with users, we tried to also load-balance the USCI modules, as well as have the SPI protocol be used in more high data-rate peripherals and I2C used with lower or less-used peripherals. In Texas Instruments SLAS655G Document [Page 7] has a pin diagram showing the physical location of where each pin is physically located. \ No newline at end of file diff --git a/Hardware/Device Specifications.markdown b/Hardware/Device Specifications.markdown index 46ae506..b437245 100644 --- a/Hardware/Device Specifications.markdown +++ b/Hardware/Device Specifications.markdown @@ -1,132 +1,132 @@ -@page deviceSpecifications Device Specifications - -## Microcontroller: Texas Instruments MSP430F5438AIPZR - -- Power - - 1.8 V to 3.6 V Supply Voltage - - Up to 4.6mA needed -- Capabilities: - - 16-bit architecture - - 25 MHz System Clock -- Notable Peripherals: - - Up to 4 of: - - UART/SPI - - Up to 4 of: - - I2C/SPI - - 12-bit ADC - - 14 external channels - - - -## Real-Time Clock/Calendar: Microchip Technology ‎MCP7940MT-I/SN - -- Power - - 1.8 V to 5.5 V Supply Voltage - - 1.2uA typical timekeeping current required at 3.3V (This will be powered exclusively by a CR2032 battery) -- Notable Peripherals: - - I2C - - Slave only - - Clock rate up to 400 kHz - - - -## Bluetooth/Wi-Fi: Espressif Systems ESP32-WROVER-IE (8MB) - -- Power - - 3.0 V to 3.6 V Supply Voltage - - Minimum 500mA needed up to 1.6A (500mA + 1100mA maximum cumulative IO output) -- Notable Peripherals: - - I2C (2) - - Master or Slave - - 100 kbit/s or 400 kbit/s - - 7-bit/10-bit addressing mode - - SPI - - SPI, HSPI and VSPI - - Master or Slave - - 1-line full-duplex and 1/2/4-line half-duplex - - Up to 80 MHz - - Up to 64-byte FIFO - - UART (3) - - Up to 5 Mbps - - - -## GPS Receiver: U-Blox NEO-M8Q-01A - -- Power - - 2.7 V to 3.6 V - - 67mA maximum current needed; 17mA typical will be likely usage -- Notable Peripherals: - - SPI - - Slave Only - - 5.5 MHz - - UART - - I2C (Also called Display Data Channel (DDC)) - - Slave Only - - 400 kHz - - - -## CANbus Controller: Microchip Technology MCP2515T-I/SO - -- Power - - 2.7 V to 5.5 V Supply Voltage - - 5mA typical in active mode; 1uA typical in sleep mode -- Notable Peripherals: - - SPI - - Slave (Assuming only option) - - 10 MHz - - - -## CANbus Transceiver: ‎Microchip Technology MCP2542FD-H/SN - -- Power - - 4.5 V to 5.5 V Supply Voltage - - 55mA typical maximum; 4uA typical in standby -- Used directly with CANbus Controller - - - -## SD Card (Generic) - -- Power - - 2.7 V to 3.6 V Supply Voltage -- Notable Peripherals: - - SPI - - - -## USB to UART Bridge: Future Technology Devices International FT230XS-R - -- Power - - 3 V to 5 V Supply Voltage - - 8.3mA maximum usage in normal operation (This chip will be exclusively powered an external host device) -- Notable Peripherals: - - UART - - - -## RS-232 Transceiver: STMicroelectronics ST232CDR - -- Power - - 4.5 V to 5.5 V Supply Voltage - - Estimating 10mA typical average usage -- Will use UART from the MCU - - - -## Inertial Measurement Unit: TDK InvenSense ICM-20948 - -- Power - - 1.71 V to 3.6 V Supply Voltage - - 3mA typical usage in full 9-Axis mode; 8uA typical in "Full-Chip Sleep Mode" -- VDDIO Voltage input also needed from 1.71 V to 1.95 V -- Notable Peripherals: - - I2C - - Slave only - - 400 kHz - - SPI - - Slave only - - 7 MHz - +@page deviceSpecifications Device Specifications + +## Microcontroller: Texas Instruments MSP430F5438AIPZR + +- Power + - 1.8V to 3.6V Supply Voltage + - Up to 4.6mA needed +- Capabilities: + - 16-bit architecture + - 25MHz System Clock +- Notable Peripherals: + - Up to 4 of: + - UART/SPI + - Up to 4 of: + - I2C/SPI + - 12-bit ADC + - 14 external channels + + + +## Real-Time Clock/Calendar: Microchip Technology ‎MCP7940MT-I/SN + +- Power + - 1.8V to 5.5V Supply Voltage + - 1.2uA typical timekeeping current required at 3.3V (This will be powered exclusively by a CR2032 battery) +- Notable Peripherals: + - I2C + - Slave only + - Clock rate up to 400kHz + + + +## Bluetooth/Wi-Fi: Espressif Systems ESP32-WROVER-IE (8MB) + +- Power + - 3.0V to 3.6V Supply Voltage + - Minimum 500mA needed up to 1.6A (500mA + 1100mA maximum cumulative IO output) +- Notable Peripherals: + - I2C (2) + - Master or Slave + - 100kbit/s or 400kbit/s + - 7-bit/10-bit addressing mode + - SPI + - SPI, HSPI and VSPI + - Master or Slave + - 1-line full-duplex and 1/2/4-line half-duplex + - Up to 80MHz + - Up to 64-byte FIFO + - UART (3) + - Up to 5Mbps + + + +## GPS Receiver: U-Blox NEO-M8Q-01A + +- Power + - 2.7V to 3.6V + - 67mA maximum current needed; 17mA typical will be likely usage +- Notable Peripherals: + - SPI + - Slave Only + - 5.5MHz + - UART + - I2C (Also called Display Data Channel (DDC)) + - Slave Only + - 400kHz + + + +## CANbus Controller: Microchip Technology MCP2515T-I/SO + +- Power + - 2.7V to 5.5V Supply Voltage + - 5mA typical in active mode; 1uA typical in sleep mode +- Notable Peripherals: + - SPI + - Slave (Assuming only option) + - 10MHz + + + +## CANbus Transceiver: ‎Texas Instruments SN65HVD234D + +- Power + - 3V to 3.6V Supply Voltage + - 6mA typical maximum; 200uA typical in standby +- Used directly with CANbus Controller + + + +## SD Card (Generic) + +- Power + - 2.7V to 3.6V Supply Voltage +- Notable Peripherals: + - SPI + + + +## USB to UART Bridge: Future Technology Devices International FT230XS-R + +- Power + - 3V to 5V Supply Voltage + - 8.3mA maximum usage in normal operation (This chip will be exclusively powered an external host device) +- Notable Peripherals: + - UART + + + +## RS-232 Transceiver: Maxim Integrated MAX3232EUE+ + +- Power + - 3V to 5.5V Supply Voltage + - Estimating 0.3mA typical average usage +- Will use UART from the MCU + + + +## Inertial Measurement Unit: TDK InvenSense ICM-20948 + +- Power + - 1.71V to 3.6V Supply Voltage + - 3mA typical usage in full 9-Axis mode; 8uA typical in "Full-Chip Sleep Mode" +- VDDIO Voltage input also needed from 1.71V to 1.95V +- Notable Peripherals: + - I2C + - Slave only + - 400kHz + - SPI + - Slave only + - 7MHz + diff --git a/Resources/Major Component Documentation/CANbus Transceiver/Microchip Technology - DS20005514C (MCP2542FD-4FD, MCP2542WFD-4WFD - CAN FD Transceiver with Wake-up Pattern (WUP) Option).pdf b/Resources/Major Component Documentation/CANbus Transceiver/Microchip Technology - DS20005514C (MCP2542FD-4FD, MCP2542WFD-4WFD - CAN FD Transceiver with Wake-up Pattern (WUP) Option).pdf deleted file mode 100644 index 0478e2b..0000000 Binary files a/Resources/Major Component Documentation/CANbus Transceiver/Microchip Technology - DS20005514C (MCP2542FD-4FD, MCP2542WFD-4WFD - CAN FD Transceiver with Wake-up Pattern (WUP) Option).pdf and /dev/null differ diff --git a/Resources/Major Component Documentation/CANbus Transceiver/Texas Instruments - SLLS557H (SN65HVD23X 3.3-V CAN Bus Transceivers).pdf b/Resources/Major Component Documentation/CANbus Transceiver/Texas Instruments - SLLS557H (SN65HVD23X 3.3-V CAN Bus Transceivers).pdf new file mode 100644 index 0000000..e8939ed Binary files /dev/null and b/Resources/Major Component Documentation/CANbus Transceiver/Texas Instruments - SLLS557H (SN65HVD23X 3.3-V CAN Bus Transceivers).pdf differ diff --git a/Resources/Major Component Documentation/RS-232 Transceiver/Maxim Integrated - 19-0273 (MAX3222, MAX3232, MAX3237, MAX3241 Low-Power RS-232 Transceivers).pdf b/Resources/Major Component Documentation/RS-232 Transceiver/Maxim Integrated - 19-0273 (MAX3222, MAX3232, MAX3237, MAX3241 Low-Power RS-232 Transceivers).pdf new file mode 100644 index 0000000..a71d513 Binary files /dev/null and b/Resources/Major Component Documentation/RS-232 Transceiver/Maxim Integrated - 19-0273 (MAX3222, MAX3232, MAX3237, MAX3241 Low-Power RS-232 Transceivers).pdf differ