Skip to content

Spike: Evaluation of STM32 sensing capabilities for automotive mobility contexts - #369

Merged
Hugofslopes merged 3 commits into
masterfrom
spike/354-evaluation-of-stm32-sensing-capabilities-for-automotive-mobility-contexts
Jan 16, 2026
Merged

Spike: Evaluation of STM32 sensing capabilities for automotive mobility contexts#369
Hugofslopes merged 3 commits into
masterfrom
spike/354-evaluation-of-stm32-sensing-capabilities-for-automotive-mobility-contexts

Conversation

@Biltes

@Biltes Biltes commented Jan 15, 2026

Copy link
Copy Markdown
Member

Related issue(s): closes #354

Type of change

  • spike: Investigation / research

Summary

This spike evaluates the STM32U585AI microcontroller for automotive mobility applications, focusing on sensor integration, real-time data processing, and CAN bus communication capabilities.

The document provides a comprehensive technical analysis of:

  • STM32U585AI specifications and automotive-relevant features
  • Sensor interfacing capabilities (IMU, environmental, proximity sensors)
  • Real-time processing and CAN bus integration
  • Power efficiency and security features

How to test / Validation

Review the technical research document at docs/spike_sensor_selection.md

Checklist

  • I have run the project tests locally and they pass
  • CI checks are green for this branch (or I will fix any failures)
  • I have added or updated tests where applicable (N/A for research spike)
  • I have updated documentation (if applicable)
  • I have added/updated any migration notes (if database or protocol changes) (N/A)
  • I have requested appropriate reviewers and added labels if needed
  • This PR contains no secrets or sensitive data

Risks and backward compatibility

None - This is a research spike with no code changes.

Related / dependent PRs

None


Approval: Requires a minimum of 2 approvals.

Action: The feature branch MUST be deleted upon successful merge.

@Biltes Biltes linked an issue Jan 15, 2026 that may be closed by this pull request
7 tasks
@github-actions

Copy link
Copy Markdown

🧪 Unit Test Results

Overall Status: ✅ PASSED

  • Motor Servo Tests: PASSED (168 tests)
  • Speed Sensor Tests: PASSED (11 tests)

📊 Coverage

  • Lines: 100.0%
  • Functions: 100.0%
  • Branches: 97.5%

Full coverage reports available in workflow artifacts

@github-actions

Copy link
Copy Markdown

✅ STM32 CI: Threadx.elf was built successfully.

@github-actions

Copy link
Copy Markdown

🔍 TSF Validation Results

Check Status
trudag lint ✅ PASSED
trudag score ✅ PASSED
trudag publish ✅ PASSED

📋 Lint Output


Artifacts: TSF Validation Results

@github-actions

Copy link
Copy Markdown

✅ STM32 CI: Threadx.elf was built successfully.

@github-actions

Copy link
Copy Markdown

🧪 Unit Test Results

Overall Status: ✅ PASSED

  • Motor Servo Tests: PASSED (168 tests)
  • Speed Sensor Tests: PASSED (11 tests)

📊 Coverage

  • Lines: 100.0%
  • Functions: 100.0%
  • Branches: 97.5%

Full coverage reports available in workflow artifacts

@github-actions

Copy link
Copy Markdown

🔍 TSF Validation Results

Check Status
trudag lint ✅ PASSED
trudag score ✅ PASSED
trudag publish ❌ FAILED

📋 Lint Output

Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.11.14/x64/bin/trudag", line 3, in <module>
    from frontends.cli import main
  File "/opt/hostedtoolcache/Python/3.11.14/x64/lib/python3.11/site-packages/frontends/cli/__init__.py", line 31, in <module>
    import frontends.cli.utils as cli_utils
  File "/opt/hostedtoolcache/Python/3.11.14/x64/lib/python3.11/site-packages/frontends/cli/utils.py", line 27, in <module>
    import trudag.dotstop.core.exception as exception
  

Artifacts: TSF Validation Results

@Zahhask45 Zahhask45 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Biltes
Is it supposed for the old sensor_selection being deleted and replaced by yours?
Maybe it should be moved to archive/

@github-actions

Copy link
Copy Markdown

✅ STM32 CI: Threadx.elf was built successfully.

@github-actions

Copy link
Copy Markdown

🧪 Unit Test Results

Overall Status: ✅ PASSED

  • Motor Servo Tests: PASSED (168 tests)
  • Speed Sensor Tests: PASSED (11 tests)

📊 Coverage

  • Lines: 100.0%
  • Functions: 100.0%
  • Branches: 97.5%

Full coverage reports available in workflow artifacts

@github-actions

Copy link
Copy Markdown

🔍 TSF Validation Results

Check Status
trudag lint ✅ PASSED
trudag score ✅ PASSED
trudag publish ❌ FAILED

📋 Lint Output

Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.11.14/x64/bin/trudag", line 3, in <module>
    from frontends.cli import main
  File "/opt/hostedtoolcache/Python/3.11.14/x64/lib/python3.11/site-packages/frontends/cli/__init__.py", line 31, in <module>
    import frontends.cli.utils as cli_utils
  File "/opt/hostedtoolcache/Python/3.11.14/x64/lib/python3.11/site-packages/frontends/cli/utils.py", line 27, in <module>
    import trudag.dotstop.core.exception as exception
  

Artifacts: TSF Validation Results

@Zahhask45 Zahhask45 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect

@Hugofslopes Hugofslopes left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect, all good!

Comment thread docs/hardware/sensor_selection.md
@Hugofslopes
Hugofslopes merged commit 0a3c365 into master Jan 16, 2026
10 checks passed
@Hugofslopes
Hugofslopes deleted the spike/354-evaluation-of-stm32-sensing-capabilities-for-automotive-mobility-contexts branch January 16, 2026 12:35
@Biltes Biltes self-assigned this Mar 25, 2026
melaniereis pushed a commit that referenced this pull request May 13, 2026
…ensing-capabilities-for-automotive-mobility-contexts

Spike: Evaluation of STM32 sensing capabilities for automotive mobility contexts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Spike: Evaluation of STM32 Sensing Capabilities for Automotive & Mobility Contexts

3 participants