The problem I have encountered because of when I am in dac configuration didn't consider the size of the data, in the embedded development, many developers are minimizing data space occupied, this leads to a novice in data overflow problems when using these functions,
The method to solve the problem is: in the dac configuration, the data size is set to half Word HalfWord or full Word Word,