I need to close the shell interface temporary and restore it later, because I need to use USART 1 (used by the shell) with another peripheral during a short delay. Here is what I do actually :
Your code works great, but I get always the same issue with dacConvert( ... ) method. In fact, I need to have a single analogic value to the output of PA4 (not a sine wave, or something else) I think I don't need to use GTP timer for that, and dacConvert ...
I have a problem for converting a simple digital value with the DAC driver : - In async mode, callbacks (error and success) are never called. - In sync mode, the program blocks at dacConvert( .. ) more precisely l.304 of dac.c in osalThreadSuspendS ( .. )