May 29, 2019
02:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 29, 2019
02:57 AM
請教一個關於AN75779 - UVC example裡state machine的問題:
在PUSH_DATA_SCK0指向PUSH_DATA_SCK1的路徑上,
為了保險起見,我希望在切換到thread1前,先確定thread1是否已可使用(包含確認Descriptor是否已經載入完成等...),
因此嘗試加了一個trigger "DMA_RDY_TH1",如下圖所示
但卻收到錯誤訊息:
Trigger variable ‘DMA_RDY_TH1’ cannot be used in transition equation between states ‘PUSH_DATA_SCK0’ and ‘PUSH_DATA_SCK1’.
‘Thread number’ of Action ‘IN_DATA’ need to be ’Thread1’ for using trigger variable ‘DMA_RDY_TH1’
我想在Thread1上使用IN_DATA來取樣資料,但卻不能先確認thread1是否已可使用? 不知是不是我誤解了trigger "DMA_RDY_TH1"的意思了@@?
- ps. 同樣的概念,測試過在WAIT_FULL_SCK0到PUSH_DATA_SCK1的路徑上多加一個trigger "DMA_RDY_TH1"就不會有錯誤訊息並可順利編譯...
謝謝!
ref: AN75779 example https://www.cypress.com/documentation/application-notes/an75779-how-implement-image-sensor-interface...
Solved! Go to Solution.
1 Solution
May 30, 2019
01:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 30, 2019
01:04 AM
1 Reply
May 30, 2019
01:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 30, 2019
01:04 AM