How danny-tharun077/project works
This is a bare-metal S32K144 application that provisions and validates redundant EEPROM data, restores the main copy from a CRC-checked mirror when allowed, and reports progress over UART. The runtime entry point initializes board peripherals, optionally provisions EEPROM, then runs the fallback check. The graph keeps application logic distinct from EEPROM access and the SDK peripheral layers; unsampled SDK internals are represented by their source directories rather than inferred call chains.
Main entry points: main.c Boot and workflow · device_registers.h Device registers · lpi2c_driver.c LPI2C driver · eeprom.c EEPROM access
Components 20
Application
- Boot and workflow
src/main.c - Test provisioning
src/main.c - Redundant read and repair
src/main.c
EEPROM storage
- EEPROM access
src/eeprom.c
Board configuration
- Clock setup
board/clock_config.c - Pin routing
board/pin_mux.c - LPI2C setup
board/peripherals_lpi2c_config_1.c - UART setup
board/peripherals_lpuart_1.c - CRC setup
board/peripherals_crc_1.c - OSIF setup
board/peripherals_osif_1.c
S32K SDK
- CRC calculation
SDK/platform/drivers/src/crc/crc_driver.c - Clock driver
SDK/platform/drivers/src/clock/S32K1xx/clock_S32K1xx.c - Pins driver
SDK/platform/drivers/src/pins/pins_driver.c - LPI2C driver
SDK/platform/drivers/src/lpi2c/lpi2c_driver.c - LPUART driver
SDK/platform/drivers/src/lpuart/lpuart_driver.c - Bare-metal OSIF
SDK/rtos/osif/osif_baremetal.c - Device registers
SDK/platform/devices/device_registers.h - Device startup
SDK/platform/devices/startup.c
Other components
- I2C EEPROM
- Serial monitor
Connections 24
- Boot and workflow → Clock setup: initializes
src/main.c - Boot and workflow → Pin routing: initializes
src/main.c - Boot and workflow → UART setup: initializes
src/main.c - Boot and workflow → LPI2C setup: initializes
src/main.c - Boot and workflow → CRC setup: initializes
src/main.c - Boot and workflow → Test provisioning: optionally runs
README.md - Boot and workflow → Redundant read and repair: runs
README.md - Test provisioning → EEPROM access: writes test data
src/main.c - Redundant read and repair → EEPROM access: reads and repairs
README.md - Redundant read and repair → CRC calculation: checks data
README.md - EEPROM access → LPI2C driver: transfers over
README.md - LPI2C driver → I2C EEPROM: reads and writes
README.md - Boot and workflow → Serial monitor: reports status
README.md - Boot and workflow → OSIF setup: uses delay setup
README.md - Clock setup → Clock driver: configures
- Pin routing → Pins driver: configures
- UART setup → LPUART driver: configures
- CRC setup → CRC calculation: configures
- OSIF setup → Bare-metal OSIF: configures
- Clock driver → Device registers: accesses registers
SDK/platform/drivers/src/clock/S32K1xx/clock_S32K1xx.c - Pins driver → Device registers: accesses registers
SDK/platform/drivers/src/pins/pins_driver.c - LPI2C driver → Device registers: accesses registers
SDK/platform/drivers/src/lpi2c/lpi2c_driver.c - LPUART driver → Device registers: accesses registers
SDK/platform/drivers/src/lpuart/lpuart_driver.c - Device startup → Device registers: initializes device