TI中文支持网
TI专业的中文技术问题搜集分享网站

TDA4VM: The problem of using Main domain UART 3 in MCU 1_0

Part Number:TDA4VM

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

TRANSLATE with x
English

Arabic Hebrew Polish
Bulgarian Hindi Portuguese
Catalan Hmong Daw Romanian
Chinese Simplified Hungarian Russian
Chinese Traditional Indonesian Slovak
Czech Italian Slovenian
Danish Japanese Spanish
Dutch Klingon Swedish
English Korean Thai
Estonian Latvian Turkish
Finnish Lithuanian Ukrainian
French Malay Urdu
German Maltese Vietnamese
Greek Norwegian Welsh
Haitian Creole Persian
TRANSLATE with

COPY THE URL BELOW

Back
EMBED THE SNIPPET BELOW IN YOUR SITE

Enable collaborative features and customize widget: Bing Webmaster Portal
Back
Eirwen:

已经收到了您的案例,调查需要些时间,感谢您的耐心等待。

,

Gibbs Shih:

You can reference this thread first

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/931985/faq-tda4vm-routing-interrupts-via-the-interrupt-router

I think it should a little bit heedful to you

,

zh ti:

hello,

    Could you please help answer question 1? Can callback be automatically triggered when the received data size reaches Rx Level without using DMA.

Thank you

zt

赞(0)
未经允许不得转载:TI中文支持网 » TDA4VM: The problem of using Main domain UART 3 in MCU 1_0
分享到: 更多 (0)