You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My DAC test program worked on LPC1768 and K64F but not on F446RE. DAC write() API says value is 16 bits, and the working platforms shift the value to the proper DAC resolution, but in
mbed/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32F4/analogout_api.c
the DAC value is clipped instead of shifted
The same problem looks to be in
targets/hal/TARGET_STM/TARGET_STM32F7/analogout_api.c
targets/hal/TARGET_STM/TARGET_STM32F3XX/analogout_api.c
Also, analogout_read_u16() in those .c files also aren't shifting the read value into a 16-bit value ...