feat: DSS HWA driver implementation and host unit tests #111
Labels
No labels
Category
App
Category
Documentation
Category
Firmware
Category
Hardware
Category
Qms
PR_Size
L
PR_Size
M
PR_Size
S
PR_Size
XL
PR_Size
XS
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Priority
Very Low Priority
Size
Epic
Size
Feature
Size
Task
Status
Blocked
Status
Draft
Status
Needs-review
Team
Board
Team
Dev
Team
Management
Type
Bug
Type
Capa
Type
Improvement
Type
New-feature
Type
Regulatory
Type
Usability
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
opendutchsolutions.public/hal_awr6843#111
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Adds
hal/dss/hwa/hal_dss_hwa.c/.h— the DSS-side counterpart of the already-landed MSS HWA driver (#95/#96). Same physical Hardware Accelerator, dual-mapped at DSS-visible addresses (DSS_HWA1/DSS_HWA1_PARAM) instead of MSS's. Namedhal_dss_hwa_*()rather thanhal_hwa_*()to avoid collision should both ever be linked into the same firmware image.Provides
hal_dss_hwa_init()(TI mmWave SDKhwa.c-sourced bring-up sequence: disable, pulseACCRESET, ungate clock, clear stalePARAMDONESTAT, zero all 16 param-RAM entries),hal_dss_hwa_load_param_set()(raw 32-byte param-set blob write — deliberately not a structured-field API, same rationale as the MSS driver),hal_dss_hwa_trigger()(single contiguousPARAMSTART..PARAMSTOPrange,NLOOPS = 0), andhal_dss_hwa_is_done()(poll-onlyHWACCREG4.PARAMDONESTAT, no ISR path — DSS-localPARAM_DONEinterrupts exist but are out of scope here, matching the MSS driver's polling-only shape).Carries forward the same documented scope limits as the MSS driver: no real FFT/CFAR/log-magnitude/compression correctness validation (TRM defers to a separate Radar HWA User's Guide not available in this project), no individual
PARAMn_xfield API, no DMA-triggered param-sets or looped execution.Use Case / Rationale
As a firmware developer, I need minimal DSS-side HWA bring-up/trigger/poll parity with the already-landed MSS driver, for firmware that runs signal-processing chains from the DSS core.
Acceptance Criteria
hal/dss/hwa/hal_dss_hwa.c/.himplemented against this project's currenthal/registers/component/hwa.h/instance/hwa.htesting/dss/hwa/test_dss_hwa.cpasses underctestFunctional Impact
None — self-contained addition alongside the already-landed Mailbox/EDMA/VIM/DSS-ADCBUF/DSS-INTC/DSS-Cache drivers.
Regulatory Impact
None
QMS Impact
None
Risk Impact
No new risk — same documented scope limits as the already-landed MSS HWA driver (no signal-processing correctness claims beyond what TI's CSL headers and reference bring-up sequence support). Existing risk coverage sufficient.
Related Issues / PRs
Relates to #4, relates to #99, relates to #101, relates to #103, relates to #105, relates to #107, relates to #109