Jump to content

orangepi H3 and wiringPi (OP) with interrupts


Recommended Posts

Recently I tried to use CC1101 Radio-boards to access with spidev0.0; this works after some research:

1. activate spidev in the /boot/armbianEnv.txt (important)

2. in armbian-config hardware activate spidev

in the downloaded test routines the speed of the spi is set too high (8000000)

3. set this down to 4000000

 

In addition: I need the interurpt functions of GDO0 and GDO2 in the next test program.

As Interrupts on wiringOP seems to work not on all GPIO-Pins you have to select PAxx for example

After the change of the code for this PA21 wPI-Pin 11, it works as expected

 

Michael

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines