Skip to content

Conversation

@jepler
Copy link
Contributor

@jepler jepler commented Feb 19, 2025

Adapted from Adafruit_dvhstx.

I tested this on a prototype Adafruit FruitJam and both before and after my changes the program wouldn't start "normally" (from power on or pressing reset) but would start with a gdb "run" command. Weird, and something to diagnose on my end.

Copy link
Owner

@MichaelBell MichaelBell left a comment

Choose a reason for hiding this comment

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

Looks good to me - thank you! Two super tiny comments

README.md Outdated
function.
This pinout consists of 4 numbers giving the *positive* pin in each differential pair, in the order CK, D0, D1, D2, D3, using GPIO numbering.
The default pinout is written `{13, 15, 17, 19}`.
Only pin numbers from 12 to 20 are valid, as other pins are not connected to the HSTX peripheral.
Copy link
Owner

Choose a reason for hiding this comment

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

Should be 12 to 19

}
hstx_ctrl_hw->bit[bit ] = lane_data_sel_bits;
hstx_ctrl_hw->bit[bit ^ 1] = lane_data_sel_bits | HSTX_CTRL_BIT0_INV_BITS;
}
Copy link
Owner

Choose a reason for hiding this comment

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

Indentation has gone wrong

@jepler
Copy link
Contributor Author

jepler commented Feb 20, 2025

Review comments addressed, thanks.

@jepler
Copy link
Contributor Author

jepler commented Feb 20, 2025

I don't understand the CI failure, let me know if there's something I need to do there.

@MichaelBell
Copy link
Owner

Merged - thank you. The CI failure is just because I haven't updated this repo in far too long - I think Gadgetoid might have deleted a branch it is using.

@MichaelBell MichaelBell merged commit 7f2bca9 into MichaelBell:main Feb 20, 2025
1 of 2 checks passed
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.

2 participants