sarathar1991 wrote on Thursday, July 12, 2018:


I have created a task in which we are transmitting the data via spi module.
So inside the task first we are clearing the buffer using memset operation and then calling the function for initiation the spi transfer which is via dma mechanisms.

But after the function for spi transfer when I am putting a breakpoint and on viewing the buffer it’s showing as zero.

And if Same code I am writing in a while loop it’s working fine

Can you please let us know the issue
Any restrictions for updating or clearing global variable (the buffer )

Or can you provide an example for the same for updating the global variable

For checking purpose I have created only one task.

heinbali01 wrote on Thursday, July 12, 2018:

If I may summarise your post, it would be like: “my SPI isn’t working properly”. You could ask this question on a forum of the platform that you are using. Or if you want a serious response on this forum, please be much more specific and show us some code.