Hi,
I use idkam437x with ccs 6.1.2 and sysbios 2.1.1.2.
In some sdk project examples (like motor_control), many variables are kept in PRU1 RAM memory of PRUICSS0 module, by the following declaration:
variable1 = (float*) (((PRUICSS_HwAttrs *)(PRUICSS_handle->hwAttrs))->baseAddr + DATA_OFFSET );
This is to provide access to these variables by PRU units so everything seems absolutely legit.
But I would like to ask about the drawbacks of that action. I mean, if there is any additional delay when reading/writing a value into the PRU RAM memory - comparing to 'typical' area, i.e. by typical variable declaration, such as:
float variable2;
BTW. In which memory area will the variable2 be kept?
Thank you in advance!
JJ