I want to determine if I can use the PRUs to interact with an instrument for a satellite payload. I am able to get rpmsg-proc working and can move blocks of data quickly enough. I added the IEP timer and want to set it up to generate a 1 second interrupt so I can set a flag in the data indicating end of 1 second integration. My test code is supposed to send a message once a second triggered by the timer. Instead I am getting two messages every two seconds. I modified resource_table1.h to map event 7, IEP compare event, to host 1 which is R31 bit 31. I am using PRU1. Attached is the code. Any help would be appreciated.
I'm hoping to use the BBB industrial version in two space missions.
Ivan