Since many people have downloaded examples of controlling USB devices through libusb, I would like to provide an example that does not require libusb for everyone to reference.
1. Below is the link to the test video:
Since many people have downloaded examples of controlling USB devices through libusb, I would like to provide an example that does not require libusb for everyone to reference.
1. Below is the link to the test video:
前陣子在淘寶買了一塊4.3吋的Panel, Driver IC是用SSD1963, 搭配的MCU是使用STM32F446.
讓螢幕依序顯示RED, GREEN, BLUE.
最近在測試一些nRF52840 BLE相關範例的時候, 總是會遇到在nRF52840 DK Board上面都正常, 但改燒錄在非原廠板子上面就會無法正常的情況.
經過確認後, 發現是因為原廠的nRF52840 DK Board上面有安裝external 32768 振盪器, 而非原廠板子因為成本的關係, 都會將32768拿掉, 因此程式都會當掉在ble stack init的時候.
改法如下, 先找到sdk_config.h, 並修改相關的參數.
最近有使用一些MIPI LCD的經驗, 目前看起來最麻煩的就是一開始的MIPI DSI Init Flow, 只要能夠正確地初始化螢幕後, 之後顯示圖形就算是比較輕鬆一點的工作.
由於之前並沒有任何相關的MIPI DSI經驗, 所以這次在ST7701S和JD9161Z LCD Driver的初始化花了一些時間和冤枉路, 所以特別記錄一下相關的初始化流程, 以免後來遇到MIPI DSI Panel又忘記了.
Panel Spec:
LCD Driver: ST7701S or JD9161Z
Interface: MIPI DSI
Size: 2.1 inch
Resolution: 480 x 480
Lane number: 2
Winbond: W25Q64JV.
Macronix: MX25L6473F, MX25L6433F
XMC: XM25QH64CHIQT08S
最近因為Flash缺料的問題, 所以經常會被代工廠要求希望能新增Second Source的支援, 因此照三餐在研究Flash Driver和Datasheet便成了家常便飯一樣.
由於Flash command相當的多, 因此每次都要開著Datasheet來對照logic analyzer上面的波形目前是在執行什麼command(如下圖)的話, 還挺麻煩的.
最近要移植一些gcc的程式到Keil-MDK上, 其中有一個GetCurrentInterruptNumber的程式無法編譯成功, 會有以下的錯誤產生.
error: #18: expected a ")"
所以我們必須把它改成armcc可以支援的方式, 如下所示:
If you want to enable the RTT function on Embitz, in addition to adding RTT-related .c & .h, we also need to add some commend on Embitz IDE for normal operation.
1. Go to Debug/Interfaces like below:
2. Add the following commands under GDB additionals/After connect:
eval "monitor exec SetRTTAddr %p", &_SEGGER_RTT
3. Done