Skip to content
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

Sleep and SPI on alternate SKC pin Teensy 3.2 #104

Open
sebashb opened this issue Oct 13, 2021 · 1 comment
Open

Sleep and SPI on alternate SKC pin Teensy 3.2 #104

sebashb opened this issue Oct 13, 2021 · 1 comment

Comments

@sebashb
Copy link

sebashb commented Oct 13, 2021

Hi,

I'm suspecting that when using the alternate SCK pin on Teensy 3.2 and using hibernate something is not being properly shouted down before entering sleep. I'm calling SPI.end() before sleep but I see different current consumption if have previously called SPI.setSCK(14);.

Could you please confirm if the SCK pin is being applied the same configurations during SPI.end() if it is set for pin 14 like it is when it's using the default pin?

I'm using the SPI driver on the config block.

@sebashb
Copy link
Author

sebashb commented Oct 13, 2021

I was seeing this behaviour in a word I design that has a lot more stuff in it. I have tried with the Teensy only and I'm not being able to replicate this very well. With the Teensy only I see around 52.2 µA while. I'm using a Agilent 34410A multimeter and powering the Teensy with 3.26 V.

I also notice that with time the consumption drops like 0.2 µA versus the consumption that it has as soon as it enters hibernation mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant