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

Adding description of GD0 #3

Open
maxholgasson opened this issue Dec 27, 2023 · 3 comments
Open

Adding description of GD0 #3

maxholgasson opened this issue Dec 27, 2023 · 3 comments

Comments

@maxholgasson
Copy link

Hi,
it seems that you don't use GD0 anymore with that lib. Can you add how you handle the receiving part if you're not using the GD0 pin anymore?

@nopnop2002
Copy link
Owner

nopnop2002 commented Dec 28, 2023

Can you add how you handle the receiving part if you're not using the GD0 pin anymore?

I don't understand your point correctly.

@maxholgasson
Copy link
Author

Can you add how you handle the receiving part if you're not using the GD0 pin anymore?

I don't understand your point correctly.

Some libs are using the GD0 pin to detect if something is received you seem to using a software solution and don't use this pin but reading a register. I wanted to ask if you could add in the description your method of how you handle the reception or how to you know if a paket is received

@nopnop2002
Copy link
Owner

nopnop2002 commented Dec 29, 2023

MISO becomes HIGH when there is received data, and LOW when there is no received data.

The way to know if a packet has been received is to read the value of MISO.

https://github.com/nopnop2002/Arduino-CC2500/blob/main/cc2500.cpp#L105

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

2 participants