We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test_data[1024] values obtained from slave via READ_BLOCK should contains four repeats of numbers 0 to 255 and it should not skip any values.
test_data[1024]
READ_BLOCK
test_data[1024] values obtained from slave via READ_BLOCK skips 4 bytes for every 64 bytes sent. Already checked using Logic Analyzer.
/* intended */ idx : [..., 62, 63, 64, 65, 66, 67, 68, 69, ...] test_data[idx] : [..., 62, 63, 64, 65, 66, 67, 68, 69, ...] ⌃⌃ /* actual */ idx : [..., 62, 63, 64, 65, 66, 67, 68, 69, ...] test_data[idx] : [..., 62, 63, 68, 69, 70, 71, 72, 73, ...] ⌃⌃
Please follow this implementation https://github.com/kendryte/kendryte-standalone-demo/tree/develop/spi_slave, but instead of initializing test_data_temp[1024] values via master's WRITE_BLOCK, please initialize it in the slave itself.
test_data_temp[1024]
WRITE_BLOCK
Provide a Minimal, Complete, and Verifiable example which will reproduce the problem.
/* slave test_data init */ for (int i = 0; i < 1024; i++) { test_data_temp[i] = i % 256; }
I'm on branch develop.
develop
Sipeed M1W
linux_x86
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected behavior
test_data[1024]
values obtained from slave viaREAD_BLOCK
should contains four repeats of numbers 0 to 255 and it should not skip any values.Actual behavior
test_data[1024]
values obtained from slave viaREAD_BLOCK
skips 4 bytes for every 64 bytes sent. Already checked using Logic Analyzer.Test code
Please follow this implementation https://github.com/kendryte/kendryte-standalone-demo/tree/develop/spi_slave, but instead of initializing
test_data_temp[1024]
values via master'sWRITE_BLOCK
, please initialize it in the slave itself.Provide a Minimal, Complete, and Verifiable example which will reproduce the problem.
Document version
I'm on branch
develop
.Hardware
Sipeed M1W
System
linux_x86
The text was updated successfully, but these errors were encountered: