Hi Everyone,
I am currently using the API on a Blackfin BF506 EZLITE kit, and have been running into some issues with the dwt_readdevid() function as provided by the API. Of course, I have written the low level, target-specific functions like writetospi() and readfromspi(), and everything seems to be working fine for the first time. Whenever my main program starts running, it calls the dwt_readdevid() function to verify that spi communication has been succesfully set up, and it works fine the first time. However, when I put the function in a while loop to keep reading from the same register, the result has been consistently “6fe50098” instead of “deca0130”. Has anyone ran into this issue before?
In the meantime, I am also having trouble regarding the dwt_writetxdata() function in which I cannot get the same data back when reading from the tx buffer as the one I had written to it. Anyone has any idea if this may be a hardware issue or a software one? I am using a custom-made board that hosts the DWM1000 radio module by the way. Thank you.