ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_xspi_pin_observation_t Struct Reference

One row per OCTA pin captured AFTER ra8_board_xspi_pins_init. More...

Data Fields

uint8_t port
 Port index from ra8_port_t.
uint8_t pin
 Pin index within the port.
uint8_t psel_observed
 PFS PSEL[28..24] >> 24.
uint8_t pmr_observed
 1 if PFS.PMR == 1 after init.
uint32_t pfs_raw
 Full 32-bit PmnPFS readback.

Detailed Description

One row per OCTA pin captured AFTER ra8_board_xspi_pins_init.

Stores both the (port, pin) pair the BSP claimed it routed and the actual PFS readback. If psel_observed != k_ra8_psel_qspi (0x1C) or pmr_observed != 1 the BSP enum is wrong for that pin and the chip will not see CS / CLK / DQ asserted on the right pad, which is the most likely root cause for the all-ones RDID readout documented in HARDWARE_BRINGUP.md.

Invariant
port <= k_ra8_port_max or 0xFF sentinel.
See also
g_ra8_xspi_pin_observed
Since
0.1.0

Definition at line 481 of file lx_nor_driver_ra8_xspi.c.

Field Documentation

◆ pfs_raw

uint32_t ra8_xspi_pin_observation_t::pfs_raw

Full 32-bit PmnPFS readback.

Definition at line 486 of file lx_nor_driver_ra8_xspi.c.

◆ pin

uint8_t ra8_xspi_pin_observation_t::pin

Pin index within the port.

Definition at line 483 of file lx_nor_driver_ra8_xspi.c.

◆ pmr_observed

uint8_t ra8_xspi_pin_observation_t::pmr_observed

1 if PFS.PMR == 1 after init.

Definition at line 485 of file lx_nor_driver_ra8_xspi.c.

◆ port

uint8_t ra8_xspi_pin_observation_t::port

Port index from ra8_port_t.

Definition at line 482 of file lx_nor_driver_ra8_xspi.c.

◆ psel_observed

uint8_t ra8_xspi_pin_observation_t::psel_observed

PFS PSEL[28..24] >> 24.

Definition at line 484 of file lx_nor_driver_ra8_xspi.c.


The documentation for this struct was generated from the following file: