Skip to content

How long is 'CGPIOPin::SetMode(..,)' supposed to take? #438

Answered by pottendo
pottendo asked this question in Q&A
Discussion options

You must be logged in to vote

hi,

here's the update - with enhanced measurement accuracy

  • now I've enforced maximum freq (which I overlooked above; my app does it though)
  • interrupts are disabled (found how to do it for all archs)

Pi3:

logger: Circle 46 started on Raspberry Pi 3 Model B+ 1GB
logger: Revision code is a020d3, compiler has been GCC 12.2.1
00:00:00.30 timer: SpeedFactor is 3.33
00:00:00.30 : timing of GPIOs on Raspberry Pi 3 Model B+
00:00:00.31 : maxed freq to 1300MHz
00:00:00.31 : Temp 36C (max=85C), dynamic adaption not possible, current freq = 1300MHz (max=1300MHz)
00:00:00.32 : loop 1 -------------------------------------------------
00:00:00.33 : LED on      ,	1000 loops:	018us,	0.017us avg.
00:00:0…

Replies: 4 comments 11 replies

Comment options

You must be logged in to vote
0 replies
Comment options

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

Comment options

You must be logged in to vote
5 replies
@rsta2
Comment options

@pottendo
Comment options

@rsta2
Comment options

@pottendo
Comment options

Answer selected by rsta2
@rsta2
Comment options

Comment options

You must be logged in to vote
5 replies
@rsta2
Comment options

@pottendo
Comment options

@rsta2
Comment options

@pottendo
Comment options

@rsta2
Comment options

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