Coder Social home page Coder Social logo

pruiep_int's Introduction

PruIEP_Int 3 examples

Examples of using the PRUSS IEP timer interrupt on the BEAGLEBONE to toggle a pin.

notes - comments about this example

iepx.c - Initialize the Pruss, initializes the interrupt system, waits for the pru to finish executionjj

iepx.p - The PRUSS initializes the IEP interrupt for CMP0 (compare register 0). Toggles pin on interrupt

prujts1-00A0.dts - The device tree overlay to enable the PRUSS and set P9.31 for Pru output.

iep2.c - Initialize the Pruss, initializes the interrupt system, waits for the pru to finish executionjj

iep2.p - The PRUSS initializes the IEP interrupt for CMP0 (compare register 0). and CMP1 On CMP1 interrupt clear the pin, on CMP0 set the pin and reset the counter.

ieps.c - Initialize the Pruss, waits 30 seconds and exits. Does not initialize the PRUSS INTC

ieps.p - Initialize the PRUSS INTC interrupt system. Initializes the IEP interrupts for CMP0 & CMP1. Toggles P9.31 using interrupts form CMP0 & CMP1.

pruiep_int's People

Contributors

jstampfl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

zjarci

pruiep_int's Issues

Is PRU IEP supported on BeagleBone Blacks with AM3358?

I've got a BeagleBone Black, which officially has an AM3358, although some apparently were loaded with AM3359, and the BeagleBone white has an AM3359.

Looking in the AM3358 TRM, section 1.1.1 Device Features, for the PRU it says "All features excluding EtherCAT". For AM3359 it says "including EtherCAT". Then in section 4.1.1 PRU Features, it says:

  • One Industrial Ethernet Peripheral (IEP) to manage/generate Industrial Ethernet functions
    • One Industrial Ethernet timer with 10 capture* and eight compare events
    • Two Industrial Ethernet sync signals*
    • Two Industrial Ethernet 16-bit watchdog timers*
    • Industrial Ethernet digital IOs

...
NOTE: * โ€” Module or feature is used by industrial protocols, such as EtherCAT. For availability of
EtherCAT, see the device features in Chapter 1, Introduction.

It is ambiguous whether the IEP is not present or partially present for the AM3358.

So the question is, can the PRU IEP be used for the BeagleBone Blacks with AM3358?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.