hello,
we have developed an starter kit based reference board.
and using latest ti sdk i am able ti interface ADE7880 over SPI1.0 with our board and getting perfect count at 2.5 Mhz.
=====> now we want more speed and reduce CPU load for that i want to shift ADE from Main ARM CPU to PRU-ICSS.
yes i have gone through
Rebuilding PRU Firmwares on Target Using Sitara Processors
RPMsg Quick Start Guide
also watch Programmable Real-Time Unit and Industrial Communications Subsystem Training Series
yes i'm getting msg from pru core using RPmsg
using
- 1. Use the remoteproc sysfs interface to point the remoteproc driver to the newly built firmwares for each PRU
- echo 'PRU_Halt.out' > /sys/class/remoteproc/remoteproc1/firmware
- echo 'PRU_RPMsg_Echo_Interrupt1.out' > /sys/class/remoteproc/remoteproc2/firmware
- 2. Once again use the remoteproc sysfs to load and the run the PRU cores
- echo 'start' > /sys/class/remoteproc/remoteproc1/state
- echo 'start' > /sys/class/remoteproc/remoteproc2/state
ls /dev/ | grep pru- echo "test30" > /dev/rpmsg_pru30
echo "test31" > /dev/rpmsg_pru31
cat /dev/rpmsg_pru30
cat /dev/rpmsg_pru31
- You will need to press 'Ctrl + Shift + c' to stop reading and close the character device
but still don't able to define how to write code for ADE7880 such a way that so ti sdk and my ADE7880 code run on PRU simultaneously run