I am using MPC5645S. I have the following issues:
- I am trying to read the status register of DSPI bitwise into a
variable. However the variable value is not getting updated when we are
repeatedly reading the status register. why so? Also How to access a
register in the code based on its memory address?
- We are updating a variable in ISR and trying to access it in another
function. However we are not getting the updated value in the function when
ISR variable is already updated. We are just getting the initial value of
the variable which we have initialized it to i.e. 0x00. To solve this issue
we have made both the variables volatile and are reading it multiple times
but still no change.
- Also, for DSPI when we are enabling FIFO, the value in RXFR register
is not getting updated in the POPR register. What could be the reason?
It would be of great help if you could solve these problems.
Thanks and Regards,
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material belonging to Hinduja Tech and/or any of its subsidiaries. Any
unauthorized review, use, disclosure, dissemination, forwarding, printing
or copying of this email or any action taken in reliance on this e-mail is
strictly prohibited and may be unlawful. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all copies
of the original message.