Hello,
I referred to the demo and used PDK for functional development, and I have some problems of using the Main domain uart3 (using rx levle interrupt triger,DMA was not used) in mcu1_0. (Note: It is possible to read data using the polling mode, so the UART driver can be confirmed to be effective.)
1、Is the callback function automatically triggered when the received byte count is greater than the set rx triger lvl? At present, I need to call the UARD_read-v1 function to trigger the callback function.But I understand that after reaching the receiving threshold, the callback should be automatically triggered without calling the read function
2、Due to the need for cross domain interrupt routing, but there is no relevant code for the UARD_socConfig IntrPath function in the demo, I made relevant modifications to this function. The key modification points are listed below. Please help confirm if there are any issues.
dst_id: TISCI_DEV_MCU_R5FSS0_CORE0
irq_id:TISCI_DEV_MAIN2MCU_LVL_INTRTR0
Finally, after being calculated by the UARD_socFHIR rqRange function, the dst_ost_irq obtained is 160
If there are any related patches for questions 1 and 2, please provide them.
Thank you
zt
You can reference this thread first
I think it should a little bit heedful to you