Skip to content

GPIO writes are going through cache with WRITE_BACK #350

Answered by rsta2
dherrendoerfer asked this question in Q&A
Discussion options

You must be logged in to vote

The setting, you have modified, depends on the memory attributes of the memory space, where the page (aka translation) table is located in memory. It is used for the page table walks. This memory is definitely write-back, so the setting should be OK in Circle. It may affect the timing of your application, when you modify this setting, but in an unknown way. I cannot see a reason, why this setting should be modified in Circle.

I have to say, that your timing requirements (80ns resolution) are near to the limits, which are possible with the GPIO hardware of the Raspberry Pi. I read about Circle-based applications, which are able to handle this, but they spent a lot of time to get it working…

Replies: 5 comments 10 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@dherrendoerfer
Comment options

Answer selected by dherrendoerfer
Comment options

You must be logged in to vote
9 replies
@dherrendoerfer
Comment options

@rsta2
Comment options

@dherrendoerfer
Comment options

@rsta2
Comment options

@dherrendoerfer
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants