-
Notifications
You must be signed in to change notification settings - Fork 3k
[Renesas RZ/A1H] Enable asynchronous communications #1626
New issue
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
Conversation
@mtkrtk Can you please share the tests outputs for all 3 async additions (tests are under test/utest , with suffix |
serial_async test passed. {{timeout;20}} OK (8 tests, 8 ran, 28 checks, 0 ignored, 0 filtered out, 55 ms) {{success}} |
Hi, For this change difference, Renesas tearm is checking now. We will contact you when the timing of the check work finish is found. Regards, |
@TomoYamanaka Please review. |
Hi mtkrtk. There are two questions about this change difference.
Regards, |
I have no idea but without it, CThunk does not work.
Sorry, it is my mistake. |
Disabling MMU make it pass spi_asynch test. {{timeout;20}} OK (9 tests, 9 ran, 36 checks, 0 ignored, 0 filtered out, 53 ms) {{success}} |
@mtkrtk We have finished the check work. In the method of changing ZI_DATA to SHARED attribute, ZI_DATA memory becomes all non-cash state, and access speed to the memory will be reduced.
There is no problem about the other changes. |
if m_thunk is on data caches, the codes will not be executed.
Thank you for the opinion. The codes are fixed |
@mtkrtk Thank you for changing the code. |
Individual tests are passed.
The program says 85 != 85
The test "SPI_Master_Asynchronous, queue_test" passed, but program got freezed while executing the test "Serial_Asynchronous, char_matching_failed".
Is something still wrong around MMU? |
@mtkrtk We thought that the cause is which the contents of m_thunk was used in the previous test remain in the instruction cache. |
@TomoYamanaka
OK (20 tests, 20 ran, 82 checks, 0 ignored, 0 filtered out, 130 ms) {{success}} |
@mtkrtk Thank you for changing the code. |
@TomoYamanaka @mtkrtk What's the status of this PR? |
Renesas team is also reviewing to continue. @mtkrtk [spi_api.c] before: after: [serial_api.c] |
@mtkrtk We are, for the most recent pull request, lists that make the following changes. In SPI, modify a bug that transfer in the queue does not start when the previous transfer to the running queue_transfer() would be completed. There is no problem about the other changes. |
@TomoYamanaka |
thumb2 code executes invalid ram space, and it causes crash Add instruction cache clean codes
@mtkrtk Thank you for your commnets. [CThunk.h] [SPI.cpp] |
Thank you for changing the code.
I changed codes about disabling interrupts in SPI.cpp
The output was changed like
|
@mtkrtk Sorry. We forgot to include the changes of spi_api.c that we previously chaned. We confirmed that these changes operate in the following environment. |
Thank you for pointing. |
Ready for integration? |
Yes. |
This enables asynchronous communications.