Commit Graph

20 Commits

Author SHA1 Message Date
Eduard Iten 12d96da80a Remove CONFIG_HAS_STM32CUBE from defconfig
- CONFIG_HAS_STM32CUBE is auto-generated, not user-configurable
- Use minimal defconfig like candlelight board
- Let Zephyr auto-detect required configurations
2025-12-08 12:10:10 +01:00
Eduard Iten 8051f18b9b Fix USB configuration for Zephyr 4.2.0
- Use CONFIG_USB_DEVICE_STACK_NEXT (new USB stack)
- Replace CONFIG_USB_CDC_ACM with CONFIG_USBD_CDC_ACM_CLASS
- Remove deprecated CONFIG_USB_DEVICE_COMPOSITE
- Add CONFIG_HAS_STM32CUBE=y to defconfig (required for USB)
- Remove networking configs (not needed for basic USB CDC)
- Based on actual Zephyr 4.2.0 samples
2025-12-08 12:01:41 +01:00
Eduard Iten 05a25c3900 Simplify board configuration following candlelight example
- Minimal defconfig like candlelight (only GPIO and CAN)
- Remove SOC and clock configs that are auto-detected
- Change vendor from 'ews' to 'others' like candlelight
- Let Zephyr auto-configure SOC and clock settings
2025-12-08 11:57:14 +01:00
Eduard Iten 0d26789e6a Simplify FDCAN configuration following candlelight example
- Remove bit-rate properties that are not declared in binding
- Use minimal FDCAN configuration like candlelight board
- Keep only pinctrl and status properties
2025-12-08 11:54:40 +01:00
Eduard Iten 1511b91050 Fix Zephyr 4.2.0 configuration issues
- Remove CONFIG_BOARD_EWS from defconfig (auto-generated in new Zephyr)
- Replace deprecated 'bus-speed' with 'bit-rate' properties for FDCAN
- Replace deprecated 'bus-speed-data' with 'bit-rate-data' properties
2025-12-08 11:52:25 +01:00
Eduard Iten ece99aa5b8 Fix CAN configuration: use FDCAN2 instead of FDCAN1
- Change from fdcan1 to fdcan2 for PB0/PB1 pins on STM32G0B1
- Update pinctrl references to fdcan2_rx_pb0 and fdcan2_tx_pb1
- Update zephyr,canbus reference to fdcan2
2025-12-08 11:50:32 +01:00
Eduard Iten d58a18bd4b Remove west workspace configuration files
- Remove west.yml and .west/config that interfered with existing workspace
- Project should work in existing Zephyr workspace without these files
2025-12-08 11:40:54 +01:00
Eduard Iten 32e92e732d Fix board.yml format for Zephyr 4.2.0
- Update board.yml to new Zephyr 4.2 format with 'board:' root key
- Add CONFIG_BOARD_EWS=y to defconfig
- Remove west workspace files (not needed in git)
2025-12-08 11:37:14 +01:00
Eduard Iten 9fd882889f Rename board from ews_board to ews and fix board discovery
- Rename board directory: ews_board -> ews
- Rename board files: ews_board.dts -> ews.dts, ews_board_defconfig -> ews_defconfig
- Update board identifier and compatible strings
- Add board.cmake for runner configuration
- Set BOARD_ROOT in CMakeLists.txt to enable custom board discovery
- Update all documentation with new board name: west build -b ews
2025-12-08 11:32:22 +01:00
Eduard Iten 3d328fb7a2 Add initial CAN FD CDC composite firmware
- Custom board definition for STM32G0B1KBU6 (ews_board)
- Zephyr-based firmware with modular architecture
- USB composite device: gs_usb CAN FD + CDC ACM interfaces
- PFET control via CDC text commands (PA8, PB2)
- Status LED on PB4, CAN FD on PB0/PB1
- No external crystal - uses HSI with USB clock recovery
- Ready for build testing with: west build -b ews_board
2025-12-08 11:27:15 +01:00
Eduard Iten 69b8cb0b79 Rev 0.2: Major hardware improvements and production readiness
Hardware Improvements (Thanks to shx for schematic cleanup):
- Clean up schematic organization and structure
- Set CAN transceiver Silent pin to GND for stability
- Add status LEDs (yellow: 24V/5V/3.3V, green: MCU PB4)
- Replace jumpers with solder jumpers on bottom side
- Add jumpers to output PFETs for permanent-on without firmware
- Add robust test points for 5V/GND load testing
- Add optional heatsink for DC/DC converter on bottom
- Add 10µF capacitor for MCU on 3.3V rail

Component Optimizations:
- Replace 30kΩ with 33kΩ basic part for simplified BOM
- Change DC/DC feedback: 15.5kΩ15kΩ (new output: 5.1V)
- Upgrade CAN ESD protection: NUP2105LPESD1CAN
- Increase CAN termination resistor footprint: 04020603
- Switch USB hub supply from 5V to 3.3V per datasheet

Production Ready:
- Add all LCSC part numbers and rotations
- Generate complete production data package
- Improve PCB layout and button placement
- Create comprehensive changelog documentation
2025-12-08 11:13:03 +01:00
Eduard Iten 04bdcabe29 Schema improvements and CAN transceiver modification
- Improved schema layout for better readability and organization
- Connected CAN transceiver S-pin to GND for proper operation
- Updated PCB layout to reflect schema changes
- Enhanced component placement and routing clarity
2025-12-05 07:36:14 +01:00
Eduard Iten 04024bd564 EWS Rev 0.1 - Complete design with documentation
Release Features:
- Universal HAT for Raspberry Pi 4/5 and Radxa Rock 5B/5B+
- 8A DC/DC converter with SS56 reverse polarity protection
- Dual toolhead switching via PFETs (PB2/PA5 control)
- Native CAN and USB-CAN bridge support
- USB hub with power delivery for touchscreens
- Comprehensive safety features and thermal management

Hardware:
- STM32G0B1KBU6 MCU with crystal-less design
- MaxLinear XR76208 switching regulator
- MCP2542WFD CAN transceiver with jumper selection
- WCH CH334F USB hub with MTT support
- 2oz copper PCB recommended for thermal performance

Documentation:
- Bilingual documentation (German/English)
- Installation guides with kernel diagnostics
- Klipper configuration examples
- Comprehensive problem statement and solutions
2025-12-04 22:31:39 +01:00
Eduard Iten 249acc8c00 Updated schematics 2025-12-04 15:09:21 +01:00
Eduard Iten 3e3868cbbc Enhanced documentation and final hardware corrections
Documentation Improvements:
- Added comprehensive 'Problems Addressed' section explaining the value proposition
- Covers power supply issues, CAN communication problems, safety concerns, and wiring challenges
- Removed JST-XH internal USB port references from pinout sections
- Corrected via placement specification (DC/DC PGND instead of output)

Hardware Updates:
- Updated schema files with latest component changes
- Added custom footprints for XR76203ELTR-F and heat sink components
- Refined manufacturing guidelines for optimal thermal performance

The documentation now clearly articulates the EWS board's role in solving common
Voron 3D printer control system challenges.
2025-12-04 14:54:42 +01:00
Eduard Iten a54328a16c Update schema files: conn.kicad_sch and power.kicad_sch
- Updated connector schematic (conn.kicad_sch)
- Updated power schematic (power.kicad_sch)
- Schema changes reflect latest hardware modifications
2025-12-03 17:17:56 +01:00
Eduard Iten 5509b7cf6d Major hardware update: toolhead switching, DC/DC protection, and documentation overhaul
Hardware Changes:
- Replaced reverse polarity protection with 2x PFET toolhead switching (PB2/PA5 control)
- Added SS56 Schottky diode reverse polarity protection for DC/DC converter
- Updated current limit resistor to 5.1kΩ (~10.2A)
- Removed fan control circuitry and JST-XH connector
- Removed internal JST-XH USB port with fuse/protection

Documentation Updates:
- Updated both README files to reflect hardware changes
- Removed all fan control references and configurations
- Updated Klipper configuration examples
- Cleaned up pinout and connector assignments
- Updated technical specifications table
- Fixed table of contents and cross-references
2025-12-03 17:16:53 +01:00
Eduard Iten 5b8dc27a79 Add comprehensive installation documentation
- Created bilingual installation guides (German/English)
- Added detailed kernel driver diagnosis procedures
- Included step-by-step Device Tree Overlay setup
- Enhanced troubleshooting for Rock OS CAN support
- Updated README files with latest specifications
- Removed obsolete CSV export file
2025-12-03 10:06:00 +01:00
Eduard Iten 60bec7f8b0 Feat: Added rk3588-can1-m1.dts 2025-12-03 08:25:01 +00:00
Eduard Iten 48500d799c first commit 2025-12-02 11:52:36 +01:00