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
I'm using chip ATSAMD51J20A with I2C and UART. I prepared my own dts for the board. Project compile as well, but I can't send the data via UART (sercom). The device function device_get_binding doesn't return an error. Pinmux and dts looks like configured ok, but I don't know.
The uart console (sercom5) works very well. There is a problem with another sercoms (2 & 3)
For these sercoms function uart_tx return value 35 (ENOTSUP - not supported). It's weird because the board has support uart on this pins and sercom. The all definitions in proj.conf I have enable
Maybe someone knows this problem and can help me it to solve
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everybody!
I'm using chip ATSAMD51J20A with I2C and UART. I prepared my own dts for the board. Project compile as well, but I can't send the data via UART (sercom). The device function device_get_binding doesn't return an error. Pinmux and dts looks like configured ok, but I don't know.
The uart console (sercom5) works very well. There is a problem with another sercoms (2 & 3)
For these sercoms function uart_tx return value 35 (ENOTSUP - not supported). It's weird because the board has support uart on this pins and sercom. The all definitions in proj.conf I have enable
Maybe someone knows this problem and can help me it to solve
prj.conf:
CONFIG_SOC_SERIES_SAMD51=y CONFIG_SOC_PART_NUMBER_SAMD51J20A=y CONFIG_BUILD_OUTPUT_HEX=y CONFIG_SOC_ATMEL_SAMD5X_OSCULP32K_AS_MAIN=y CONFIG_CORTEX_M_SYSTICK=y CONFIG_ARM_MPU=y CONFIG_CONSOLE=y CONFIG_UART_CONSOLE=y CONFIG_UART_SAM0=y CONFIG_UART_INTERRUPT_DRIVEN=y CONFIG_I2C=y CONFIG_I2C_SAM0=y CONFIG_SERIAL=y CONFIG_PINMUX=y
DTS: (https://pastebin.com/HRqi42MT)
Pinmux: (https://pastebin.com/z3RjpEjU)
Beta Was this translation helpful? Give feedback.
All reactions