Skip to content

[chip, I2C, DV] Top level I2C host test#473

Draft
KinzaQamar wants to merge 9 commits into
lowRISC:mainfrom
KinzaQamar:i2c_dv
Draft

[chip, I2C, DV] Top level I2C host test#473
KinzaQamar wants to merge 9 commits into
lowRISC:mainfrom
KinzaQamar:i2c_dv

Conversation

@KinzaQamar
Copy link
Copy Markdown
Contributor

@KinzaQamar KinzaQamar commented Apr 27, 2026

Close #507

@KinzaQamar KinzaQamar marked this pull request as draft April 27, 2026 11:46
@KinzaQamar KinzaQamar force-pushed the i2c_dv branch 3 times, most recently from fd42f2e to 0c033ce Compare April 28, 2026 13:40
@KinzaQamar KinzaQamar changed the title [I2C, dv] Initial I2C top level DV setup [chip, I2C, DV] Top level I2C host test Apr 28, 2026
@KinzaQamar KinzaQamar force-pushed the i2c_dv branch 2 times, most recently from dbb8d58 to 16ba0d4 Compare April 30, 2026 11:19
@KinzaQamar KinzaQamar force-pushed the i2c_dv branch 3 times, most recently from 4da05c4 to d5d15ad Compare May 7, 2026 15:03
@KinzaQamar KinzaQamar force-pushed the i2c_dv branch 9 times, most recently from cf2285e to f33a9e9 Compare May 11, 2026 21:19
Taking the transfer checking part out from the i2c_read_byte()
and i2c_write_byte() functions. It is needed when you want to
controller wants to read / write multiple bytes.

Signed-off-by: Kinza Qamar <kqzaman@lowrisc.org>
This is suggested in programmer's guide.

As a precautionary step, reset the FMT fifo before sending any transfer

Signed-off-by: Kinza Qamar <kqzaman@lowrisc.org>
Signed-off-by: Kinza Qamar <kqzaman@lowrisc.org>
Signed-off-by: Kinza Qamar <kqzaman@lowrisc.org>
This is suggested in programmer's guide.

As a precautionary step, reset the FMT fifo before sending any transfer

Signed-off-by: Kinza Qamar <kqzaman@lowrisc.org>
Signed-off-by: Kinza Qamar <kqzaman@lowrisc.org>
Signed-off-by: Kinza Qamar <kqzaman@lowrisc.org>
@KinzaQamar KinzaQamar removed their assignment May 12, 2026
Controller writes multiple bytes to the target's receiver and
then reads multiple bytes from the same address. At the end
of both read and write transfer, the test checks if the
transfer was succesful. If yes, then the test compares all
the read bytes with the data bytes that was sent as part of
write transfer.

Signed-off-by: Kinza Qamar <kqzaman@lowrisc.org>
Signed-off-by: Kinza Qamar <kqzaman@lowrisc.org>
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.

I2C DV -- Host TX-RX test

1 participant