Skip to content

Core 1 hanging when Core 0 calls pow() -- how to debug? #1474

Answered by earlephilhower
myklemykle asked this question in Q&A
Discussion options

You must be logged in to vote

Are you doing FP or transcendental functions in the ISR? That's probably a no-no.

The ROM code could be using a shared HW resource (i.e. the HW divider) which you'd end up fighting over.

In any case, FP operations will be really slow on this core, anyway, even w/o fighting over locks since there is no FP hardware onboard. Fixed-point is your friend here, but it's obviously not trivial to move to from a pure FP setup.

Replies: 4 comments 2 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
0 replies
Comment options

You must be logged in to vote
2 replies
@earlephilhower
Comment options

Answer selected by myklemykle
@myklemykle
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