一 概述
SSD1315是一款單芯片CMOS OLED/PLED驅(qū)動(dòng)控制芯片,直接從內(nèi)部128*64位GDDRAM中顯示數(shù)據(jù)。
GDDRAM(Graphic Display Data RAM,圖形顯示數(shù)據(jù)RAM)。
GDDRAM是位映射靜態(tài)RAM,保存要顯示的位模式。RAM的大小為128*64位,又分為8頁(PAGE0~PAGE7),用于單色128*64點(diǎn)陣顯示。
當(dāng)一個(gè)數(shù)據(jù)字節(jié)寫入GDDRAM時(shí),將當(dāng)前列同一頁的所有行圖像數(shù)據(jù)全部填充(即填充列地址指針?biāo)赶虻恼校?位)。D0數(shù)據(jù)位寫在最上面一行,D7數(shù)據(jù)位寫在最下面一行。
二 ssd1315基本命令
設(shè)置頁尋址模式的列起始地址(00h~0fh、10h~17h)
00h~0fh該命令指定頁面尋址模式的RDDRAM的8位列起始地址的較低部分(8位列地址的低四位)。列地址將隨著每次數(shù)據(jù)訪問而增加。
10h~17h該命令指定頁面尋址模式的RDDRAM的8位列起始地址的較高部分(8位列地址的高四位)。列地址將隨著每次數(shù)據(jù)訪問而增加。
頁尋址模式會(huì)講到,這命令就會(huì)很清楚了。
設(shè)置頁尋址模式的頁起始地址(B0h~B7h)
該命令指定頁面尋址模式的RDDRAM的頁起始地址(PAGE0~PAGE7)。頁尋址模式會(huì)講到,這命令就會(huì)很清楚了。
設(shè)置內(nèi)存尋址模式(20h)
3種內(nèi)存尋址模式:水平尋址模式、垂直尋址模式、頁尋址模式。
頁尋址模式(A[1:0]=10b)
在頁尋址模式下,在GDDRAM進(jìn)行讀寫后會(huì)自動(dòng)移向下一個(gè)COL,用戶必須設(shè)置新的PAGE和COL地址才能訪問下一個(gè)PAGE的內(nèi)容。在頁尋址模式下,PAGE的移動(dòng)順序和列地址方向如下圖所示。(先確定PAGE,再確定COL,最后寫入數(shù)據(jù))
水平尋址模式(A[1:0]=00b)
在水平尋址模式下,在GDDRAM進(jìn)行讀寫后會(huì)自動(dòng)移向下一個(gè)COL。當(dāng)列地址指針到達(dá)COL127時(shí),列地址指針重置為COL0,頁面地址指針加1。當(dāng)列地址指針和頁地址指針都到達(dá)結(jié)束地址時(shí),指針被重置為PAGE0_COL0。
垂直尋址模式(A[1:0]=01b)
在垂直尋址模式下,在GDDRAM進(jìn)行讀寫后會(huì)自動(dòng)移向下一個(gè)PAGE。當(dāng)頁地址指針到達(dá)PAGE7時(shí),頁地址指針重置為PAGE0,列地址指針加1。當(dāng)列地址指針和頁地址指針都到達(dá)結(jié)束地址時(shí),指針被重置為PAGE0_COL0。
三 組件的使用
1 Gitee鏈接地址
Demo位于amaziot_bloom_os_sdksample3rd3.1_SSD1315
Gitee源碼地址:https://gitee.com/ning./hongdou
Github源碼地址:https://github.com/ayumid/hongdou
編譯指令:.build.bat -l .amaziot_bloom_os_sdksample3rd3.1_SSD1315
2 組件功能介紹
驅(qū)動(dòng)OLED顯示圖片,不同大小的漢字,字符,數(shù)字;畫圓,畫矩形,畫線;OLED驅(qū)動(dòng)使用SSD1315。任何品牌的OLED,只要是驅(qū)動(dòng)芯片使用的SSD1315,都可以使用本驅(qū)動(dòng)。驅(qū)動(dòng)使用模擬spi實(shí)現(xiàn)。
使用SSD1315作為主控的OLED,硬件有兩種接法,區(qū)別是是否使用DC引腳。使用DC引腳,需要主控來控制DC引腳確定當(dāng)前發(fā)送的是命令還是數(shù)據(jù),不使用DC引腳,需要主控在發(fā)送數(shù)據(jù)之前發(fā)送一個(gè)bit,來確定是命令還是數(shù)據(jù),具體查看drv_ssd1315_wr_byte的實(shí)現(xiàn)。
3 代碼講解
1 drv_ssd1315_show_picture
功能:該函數(shù)用于,顯示圖片。
參數(shù) | 釋義 |
x,y | 起點(diǎn)坐標(biāo) |
sizex,sizey | 圖片長寬 |
BMP[] | 要寫入的圖片數(shù)組 |
mode | 反色顯示;1,正常顯示 |
返回值:無
示例:
//顯示圖片,注意參數(shù)和實(shí)際點(diǎn)陣大小一致 drv_ssd1315_show_picture(0,12,132,37,BMP1,1);
2 drv_ssd1315_scroll_display
功能:該函數(shù)用于,滾動(dòng)顯示漢字。
參數(shù):
參數(shù) | 釋義 |
num | 顯示漢字的個(gè)數(shù) |
space | 每一遍顯示的間隔 |
mode | 0,反色顯示;1,正常顯示 |
返回值:無
示例:
//滾動(dòng)顯示漢字 drv_ssd1315_scroll_display(14,4,1); //3
3 drv_ssd1315_show_chinese
功能:該函數(shù)用于,顯示漢字。
參數(shù):
參數(shù) | 釋義 |
x,y | 起點(diǎn)坐標(biāo) |
num | 漢字對(duì)應(yīng)的序號(hào) |
mode | 0,反色顯示;1,正常顯示 |
返回值:無
示例:
//顯示不同大小的漢字 drv_ssd1315_show_chinese(0,0,0,16,1); //16*16 drv_ssd1315_show_chinese(16,0,0,24,1); //24*24 drv_ssd1315_show_chinese(24,25,0,32,1);//32*32 drv_ssd1315_show_chinese(64,0,0,64,1); //64*64
4 drv_ssd1315_show_num
功能:該函數(shù)用于,顯示數(shù)字。
參數(shù):
參數(shù) | 釋義 |
x1,y1 | 起始坐標(biāo) |
x2,y2 | 終止坐標(biāo) |
color | 線的顏色 |
返回值:無
示例:
5 drv_ssd1315_pow
功能:該函數(shù)用于,顯示數(shù)字。
參數(shù):
參數(shù) | 釋義 |
m | 底數(shù) |
n | 指數(shù) |
返回值:無
示例:
temp=(num/drv_ssd1315_pow(10,len-t-1))%10;
6 drv_ssd1315_show_string
功能:該函數(shù)用于,顯示字符串。
參數(shù):
參數(shù) | 釋義 |
x,y | 起點(diǎn)坐標(biāo) |
size1 | 字體大小 |
*chr | 字符串起始地址 |
mode | 0,反色顯示;1,正常顯示 |
返回值:無
示例:
//顯示字符,數(shù)字 drv_ssd1315_show_string(36,16,"AMAZIOT",16,1); drv_ssd1315_show_string(26,32,"2024/06/01",16,1);
7 drv_ssd1315_show_char
功能:該函數(shù)用于,在指定位置顯示一個(gè)字符,包括部分字符。
參數(shù):
參數(shù) | 釋義 |
x,y | 顯示坐標(biāo) |
size1 | 選擇字體 6x8/6x12/8x16/12x24 |
mode | 0,反色顯示;1,正常顯示 |
返回值:無
示例:
drv_ssd1315_show_char(48,48,t,16,1);//顯示ASCII字符
8 drv_ssd1315_draw_circle
功能:該函數(shù)用于,畫圓。
參數(shù):
參數(shù) | 釋義 |
x,y | 顯示坐標(biāo) |
r | 圓的半徑 |
返回值:無
示例:
9 drv_ssd1315_draw_line
功能:該函數(shù)用于,畫線。
參數(shù):
參數(shù) | 釋義 |
x1,y1 | 起點(diǎn)坐標(biāo) |
x2,y2 | 結(jié)束坐標(biāo) |
返回值:無
示例:
10 drv_ssd1315_draw_point
功能:該函數(shù)用于,畫點(diǎn)。
參數(shù):
參數(shù) | 釋義 |
x,y | 顯示坐標(biāo) |
t | 1 填充 0,清空 |
返回值:無
示例:
11 drv_ssd1315_clear
功能:該函數(shù)用于,清屏。
參數(shù):無
返回值:無
示例:
drv_ssd1315_clear();
12 drv_ssd1315_refresh
功能:該函數(shù)用于,更新顯存到OLED。
參數(shù):無
返回值:無
示例:
drv_ssd1315_refresh();
13 drv_ssd1315_display_on
功能:該函數(shù)用于,開啟OLED顯示。
參數(shù):
返回值:無
示例:
14 drv_ssd1315_wr_byte
功能:該函數(shù)用于,發(fā)送一個(gè)字節(jié)的數(shù)據(jù),注意硬件DC引腳有誤,會(huì)根據(jù)宏定義DRV_SSD1315_USED_DC_PIN來控制使用哪種驅(qū)動(dòng)實(shí)現(xiàn)方式。
參數(shù):
參數(shù) | 釋義 |
dat | 數(shù)據(jù) |
cmd | 命令 數(shù)據(jù) |
width | 圖片寬度 |
pic[] | 圖片數(shù)組 |
返回值:無
示例:
drv_ssd1315_wr_byte(0xAE,DRV_SSD1315_OLED_CMD);//--turn off oled panel
15 drv_ssd1315_display_turn
功能:該函數(shù)用于,屏幕旋轉(zhuǎn)180度。
參數(shù):
參數(shù) | 釋義 |
i | 0 正常顯示 1 翻轉(zhuǎn)180度 |
返回值:無u
示例:
16 drv_ssd1315_color_turn
功能:該函數(shù)用于,反顯函數(shù)。
參數(shù):
參數(shù) | 釋義 |
i | 0 正常顯示 1 反色顯示 |
返回值:無
示例:
4 Demo實(shí)戰(zhàn)
4.1 創(chuàng)建一個(gè)Demo
復(fù)制20.1_file_xtu示例工程,到同一個(gè)文件夾下,修改文件名為3.1_SSD1315,如圖:
4.2 修改makefile
增加文件組件所在目錄頭文件路徑,和源文件路徑,如圖:
4.3 增加頭文件
使用代碼編輯器,將新建的工程文件加入代碼編輯器中,打開main.c,修改main.c,加入am.h等頭文件,如圖:
4.4 修改代碼
在Phase2Inits_exit 創(chuàng)建一個(gè)任務(wù),如圖:
4.5 宏定義介紹
sample_ssd1315_uart_printf
輸出日志到DEBUG 串口,日志比較少,可以輸出到這個(gè)串口,如果日志比較多,需要輸出到usb口,以免不必要的問題出現(xiàn)
sample_ssd1315_catstudio_printf
輸出日志到USB 串口,使用catstudio查看,catstudio查看日志需要更新對(duì)應(yīng)版本mdb.txt文件,軟件打開filtter過濾日志,只查看用戶輸出的日志
SAMPLE_SSD1315_STACK_SIZE
??臻g宏定義
4.6 全局變量介紹
sample_ssd1315_stack_ptr
任務(wù)??臻g,本例使用數(shù)組實(shí)現(xiàn),用戶在做項(xiàng)目時(shí),可以預(yù)先估算下當(dāng)先任務(wù)需要的大致棧空間,OS沒有提供可以查看棧空間使用情況的API
sample_ssd1315_task_ref
任務(wù)指針
4.7 函數(shù)介紹
Phase1Inits_enter
底層初始化,本例空
Phase1Inits_exit
底層初始化,本例空
Phase2Inits_enter
底層初始化,本例空
Phase2Inits_exit
創(chuàng)建主任務(wù),初始化消息隊(duì)列,定時(shí)器,任務(wù)等。
代碼片段:
{ int ret = 0; GPIOConfiguration config = {0}; //創(chuàng)建定時(shí)?? OSATimerCreate(&sample_xl9535_int_detect_timer_ref); //創(chuàng)建中斷處理任務(wù) OSATaskCreate(&sample_ssd1315_task_ref, sample_ssd1315_stack_ptr, SAMPLE_SSD1315_STACK_SIZE, 100, "ssd1315_task", sample_ssd1315_task, NULL); }
sample_exat_rcv_uart_task
主任務(wù),獲取imsi,rsrq等參數(shù)信息。
代碼片段:
void sample_ssd1315_task(void *param) { OSA_STATUS status = OS_SUCCESS; float t=0; drv_ssd1315_init();//初始化OLED drv_ssd1315_color_turn(0);//0正常顯示,1 反色顯示 drv_ssd1315_display_turn(0);//0正常顯示 1 屏幕翻轉(zhuǎn)顯示 while(1) { //顯示圖片,注意參數(shù)和實(shí)際點(diǎn)陣大小一致 drv_ssd1315_show_picture(0,12,132,37,BMP1,1); drv_ssd1315_refresh(); sample_ssd1315_sleep(1); drv_ssd1315_clear(); //顯示漢字 drv_ssd1315_show_chinese(30,0,0,16,1);// drv_ssd1315_show_chinese(48,0,1,16,1);// drv_ssd1315_show_chinese(64,0,2,16,1);// drv_ssd1315_show_chinese(82,0,3,16,1);// //顯示字符,數(shù)字 drv_ssd1315_show_string(36,16,"AMAZIOT",16,1); drv_ssd1315_show_string(26,32,"2024/06/01",16,1); drv_ssd1315_show_string(0,48,"ASCII:",16,1); drv_ssd1315_show_string(63,48,"CODE:",16,1); drv_ssd1315_show_char(48,48,t,16,1);//顯示ASCII字符 t++; if(t>'~')t=' '; drv_ssd1315_show_num(103,48,t,3,16,1); drv_ssd1315_refresh(); sample_ssd1315_sleep(1); drv_ssd1315_clear(); //顯示不同大小的漢字 drv_ssd1315_show_chinese(0,0,0,16,1); //16*16 drv_ssd1315_show_chinese(16,0,0,24,1); //24*24 drv_ssd1315_show_chinese(24,25,0,32,1);//32*32 drv_ssd1315_show_chinese(64,0,0,64,1); //64*64 drv_ssd1315_refresh(); sample_ssd1315_sleep(1); drv_ssd1315_clear(); //顯示不同大小的字符 drv_ssd1315_show_string(0,0,"AMAZIOT",8,1);//6*8 "AMAZIOT" drv_ssd1315_show_string(0,8,"AMAZIOT",12,1);//6*12 "AMAZIOT" drv_ssd1315_show_string(0,20,"AMAZIOT",16,1);//8*16 "AMAZIOT" drv_ssd1315_show_string(0,36,"AMAZIOT",24,1);//12*24 "AMAZIOT" drv_ssd1315_refresh(); sample_ssd1315_sleep(1); //滾動(dòng)顯示漢字 drv_ssd1315_scroll_display(14,4,1); } }
4.8 編譯
在SDK根目錄打開命令行,輸入命令.build.bat -l .amaziot_bloom_os_sdksample3rd3.1_SSD1315
PS F:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRF λ .build.bat -l .amaziot_bloom_os_sdksample3rd3.1_SSD1315 子目錄或文件 outbin 已經(jīng)存在。 命令語法不正確。 子目錄或文件 buildobj 已經(jīng)存在。 gnumake: Entering directory `F:/3.asr-b/cat.1-asr1606/1.software/BlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRF/amaziot_bloom_os_sdk/sample/3rd/3.1_SSD1315' armcc.exe -c --cpu Cortex-R4 --no_unaligned_access -g -O2 --apcs /inter --diag_suppress 2084,1,2,177,188,223,550,1296,2795,6319,9931,9933 --diag_error=warning --gnu --thumb --loose_implicit_cast -DDATA_COLLECTOR_IMPL -DISPT_OVER_SSP -DDIAG_SSP_DOUBLE_BUFFER_USE_DYNAMIC_ALLOCATION -DENV_XSCALE -DL1_DCXO_ENABLED -DLTE_HIGH_MOBILITY_OPTIMIZATION -DRUN_XIP_MODE -DCRANE_Z2 -DCA_LONG_IPC_MSG -DNEZHA3 -DNEZHA3_1826 -DUPGRADE_PLMS -DUPGRADE_PLMS_SR -DLTE_GSMMULTIBCCH -DGPLC_LTE_RSSI_SCAN -DL1V_NEW_RSSI -DUPGRADE_PLMS_3G -DUPGRADE_PLMS_L1 -DUPGRADE_FG_PLMS -DFG_PLMS_URR -DUPGRADE_L1A_FG_PLMS -DUPGRADE_PLMS_STAGE_2 -DUPGRADE_MBCCH -DMULTI_BCCH_READY_IND -DURR_MRAT_ICS_SEARCH -DUPGRADE_ICS -DMRAT_NAS -DUPGRADE_PLMS_SEARCH_API -DICS_MBCCH -DICS_MBCCH_2G_RSSI -DDIAG_NEWPP -DPHS_SW_DEMO -DPHS_SW_DEMO_TTC -DPHS_SW_DEMO_TTC_PM -DFULL_SYSTEM -D_DDR_INIT_ -D_TAVOR_HARBELL_ -DUPGRADE_ARBEL_PLATFORM -D_TAVOR_B0_SILICON_ -DTDL1C_SPY_ENABLE -DDLM_TAVOR -DTAVOR -DFLAVOR_DUALCORE -DDEBUG_D2_MOR_REG_RESEREVED_ENABLE -D_DIAG_USE_COMMSTACK_ -D_TAVOR_DIAG_ -DPM_DEBUG_MODE_ENABLED -DPM_D2FULL_MODE -DPM_EXT_DBG_INT_ARR -DFEATURE_WB_AMR_PS -DMACRO_FOR_LWG -DHL_LWG -DOPTIMIZE_FOR_2G_BCCH -DPLAT_TEST -D_FDI_USE_OSA_ -DPLAT_USE_THREADX -DLWIP_IPNETBUF_SUPPORT -DCRANE_MCU_DONGLE -DAT_OVER_UART -DPHS_SW_DEMO_TTC_PM -DUPGRADE_LTE_ONLY -DEXT_AT_MODEM_SUPPORT -DLTEONLY_THIN_SINGLE_SIM -DLFS_FILE_SYS -DLFS_FILE_SYS_V2 -DPSM_ENABLE -DNO_PAHO_MQTT -DNO_XML -DNO_LWM2M -DREMOVE_MBEDTLS -DNO_AT_NET -DCRANE_SD_NOT_SUPPORT -DNTP -DYMODEM_EEH_DUMP -DENABLE_DM_LTEONLY -DLTEONLY_THIN -DNO_EXTEND_MY_Q_AT -DNOT_SUPPORT_HTTPS -DNOT_SUPPORT_PM813 -DCRANEL_4MRAM -DREMOVE_PB -DUART_NEW_VERSION -DREMOVE_MEP -DREMOVE_SMS -DREMOVE_ENVSIM -DAPN_INCODE -DLTEONLY_THIN_SINGLE_SIM_2MFLASH -DASR160X_OPENCPU_FEATURE -DENABLE_UART3_FEATRUE -DENABLE_UART4_FEATRUE -DYUGE_MBEDTLS_3_2_1 -DENABLE_MAC_TX_DATA_LOGGING -DDISABLE_NVRAM_ACCESS -DINTEL_UPGRADE_EE_HANDLER_SUPPORT -DLTE_W_PS -DL1_DUAL_MODE -DUPGRADE_HERMON_DUAL -DINTEL_UPGRADE_DUAL_RAT -DINTEL_UPGRADE_GPRS_CIPHER_FLUSH -DUPGRADE_ENHANCED_QUAD_BAND -DINTEL_2CHIP_PLAT -DI_2CHIP_PLAT -DUPGRDE_TAVOR_COMMUNICATION -DRUN_WIRELESS_MODEM -DFLAVOR_DDR12MB_GB1MB5 -DFEATURE_SHMEM -DACIPC_ENABLE_NEW_CALLBACK_MECHANISM -DRELIABLE_DATA -DMAP_NSS -DTV_FNAME=""SW_PLATFORM=PMD2NONE PHS_SW_DEMO PHS_SW_DEMO_PM SRCNUCLEUS FULL_SYSTEM NOACRTC PDFLT PLAT_TEST PV2 DIAGOSHMEM NVM WITHL1V"" -DTV_FDESC=""SW_DESCRIPTION="" -DENABLE_ACIPC -D_DATAOMSL_ENABLED_ -DUSB_CABLE_DETECTION_VIA_PMIC -DMIPS_TEST -DMIPS_TEST_RAM -DFLAVOR_DIET_RAM -DNVM_INCLUDE -DMSL_INCLUDE -DMSL_POOL_MEM -DNO_AUDIO -DOSA_QUEUE_NAMES -D_DIAG_DISABLE_USB_ -DOSA_NUCLEUS -DOSA_USED -DPM_D2NONE_MODE -DCRANE_SOC_TEMPERATURE_SENSOR -DL1_SW_UPDATE_FOR_DIGRF -DPHS_L1_SW_UPDATE_R7 -DUPGRADE_LTE -DFRBD_CALIB_NVM -DFRBD_AGC_CALIB -DFRBD_FDT_CALIB -DHSPA_MPR -DCAPT_PARAMS_OPTIMIZE -DL1_WB_R99_ONLY -DL1V_WB_R99_ONLY -DINTERGRATED_RF_SUPPORT -DL1_RX_DIV_SUPPORT -DENABLE_OOS_HANDLING -DTAVOR_D2_WB_L1_SUPPORT -DL1_DDR_HIGH_FREQ -DUPGRADE_DIGRF3G_SUPPORT -DW_PS_PLUS_G_PAGING -D"NO_APLP=0" -DINTEL_UPGRADE_UNIFIED_VOICE_TASK -DINTEL_UPGRADE_R99 -DAPLP_SPY_ENABLE -D__TARGET_FEATURE_DOUBLEWORD -DWHOLE_UMTS_STACK -DUSE_TTPCOM_CSR_BLUETOOTH_AUDIO_GAIN_CONTROL -DL1_UPGRADE_R5 -DUPGRADE_EDGE -DUPGRADE_R4_FS1 -DINTEL_UPGRADE_GSM_CRL_IF -DUPGRADE_EGPRS_M -DINTEL_UPGRADE_EGPRS_M -DINTEL_UPGRADE_RF_PARAMS_IN_CF_TDS -DINTEL_UPGRADE_2SAMPLES_PER_SYMBOL -D"GPRS_MULTISLOT_CLASS=12" -D"EGPRS_MULTISLOT_CLASS=12" -DMARVELL_UPGRADE_BSIC_REDESIGN -DMSL_INCLUDE -DINTEL_HERMON_SAC -DCRANE_CUST_BUILD -DL1_SW_UPDATE_FOR_DIGRF -DFLAVOR_COM -DSILICON_PV2 -DSILICON_SEAGULL -DSILICON_TTC_CORE_SEAGULL -DPCAC_INCLUDE -Otime -DBUILD_DATE=""06 07 2024"" -DBUILD_TIME=""15:00:50"" -Iatcmdsinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xhoptelephonyyugeinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xhalUARTinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xhalcoreinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xhalPMUinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xhalGPIOinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xosposixinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xdiagdiag_logicsrc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xcswSysCfginc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xcswplatforminc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xenvwin32inc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xcswBSPinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xcswplatformdev_platbuild -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xososainc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xosthreadxinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xosnu_xscaleinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xpcacpsminc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xpcachttpclientsrc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xdiagdiag_logicinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xhoptimerinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xhopintcinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xcswPMinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xhoppminc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xsoftutilTickManagerinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xhopBSPinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xhoptelephonyatcmdsrvinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xhoptelephonyatparserinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xhoptelephonysdkinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xpcachttpclientinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xpcacciinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xpcaclwipv4v6srcinclude -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xpcaclwipv4v6srcincludearch -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xpcaclwipv4v6srcincludeipv4 -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xpcaclwipv4v6srcincludeipv6 -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xpcaclwipv4v6srcincludelwip -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xpcaclwipv4v6srcincludenetif -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xhopmmi_matinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xtavorArbelinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xtavorenvinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xhoptelephonymodeminc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xpcacdusterinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xpcacfotainc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xhalI2Cinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xhalACIPCinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xsoftutilfatsysflash -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xsoftutilFDIsrcINCLUDE -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xhalMMUinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xsoftutilFDIsrcFDI_ADD -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xsoftutilFDIsrcFM_INC -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xsoftutilfatsysfshdr -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xsoftutillittlefsinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xpcacttsinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xpcacdialinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xsoftutilcsw_memoryinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xhoputilitiesinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xhopcommpminc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xsoftutilnvminc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xsoftutilEEhandlerinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xsoftutilEEhandlersrc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xhopRTCinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xhoptelephonyci_clientinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xhalBT_deviceinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xhalUARTinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xhopmrdinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xhopdmainc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xsoftutilsoftutilinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xhalSPIinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xpcacwebsocketinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xpcacatnet_srvinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xsoftutilfotacomminc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xaud_swAudioinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xaud_swACM_COMMinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xaud_swaudio_stubsrc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xhopaaminc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xaud_swAudioHALinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xhaldbgshellinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFincludeasr160xpcacopencpuinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFamaziot_bloom_os_sdkutils -IF:/3.asr-b/cat.1-asr1606/1.software/BlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRF/amaziot_bloom_os_sdk/sample/3rd/3.1_SSD1315aminc -IF:/3.asr-b/cat.1-asr1606/1.software/BlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRF/amaziot_bloom_os_sdk/sample/3rd/3.1_SSD1315atcmdsinc -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFamaziot_bloom_os_sdk3rd_drives -IF:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFamaziot_bloom_os_sdk3rd_drivesSSD1315 -o buildobj/ext_at_cmds.o F:/3.asr-b/cat.1-asr1606/1.software/BlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRF/amaziot_bloom_os_sdk/sample/3rd/3.1_SSD1315/atcmds/src/ext_at_cmds.c armlink.exe buildobj/main.o buildobj/ext_at_cmds.o buildobj/ext_at_controller.o buildobj/drv_ssd1315_oled.o -o F:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFoutbinArbel_PMD2NONE_40M.axf --via F:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFprebuilt_1606lArbel_PMD2NONE_targ_objliblist.txt --elf --scatter F:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFprebuilt_1606lCrane_DS_4M_Ram_2M_Flash_XIP_CIPSRAM_Common_SingleSIM.sct --predefine="-DLTEONLY_THIN_SINGLE_SIM" --map --symbols --info sizes,totals --list F:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFoutbinArbel_PMD2NONE_40M.map --keep init.o(Header) --keep init.o(Vectors) --diag_suppress 6312,6314,6319,6329 --feedback F:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFoutfeedbackLinkOptLteonlyThin_SingleSim_NoSMS.txt F:3.asr-bcat.1-asr16061.softwareBlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRFtoolsbuildimage_1606l.bat SDK_PROD_TYPE : [DM] SDK_CUST_SKU : [THIN_SINGLE_SIM_NO_SMS] SDK_PS_MODE : [LTEONLY] SDK_CHIP_VER : [Z2A0] SDK_OS_TYPE : [TX] Platform Convertion Tools v4.01 with PS option extension Convertion done! |INPUT |outbincp_1606L.bin |MARK |NAME |EXEADDR .LOADADDR.LENGTH .CPZLADDR|COMPRESS STASTIC | |--------|--------|--------.--------.--------.--------|------------------------------| |This Is LteOnly 4M| |RW_CPZ_1|DDR_RW_ |7e119000.80066758.0000d32c.80067000|0000d32c->00003000 |This Is LteOnly 4M| |RW_CPZ_2|PS_NCAH |7e388000.80073a84.00001300.8006a000|00001300->00001000 |This Is LteOnly 4M| |RW_CPZ_3|ITCM |7e3dac00.80074d84.0000f51c.8006b000|0000f51c->0000a000 |This Is LteOnly 4M| |RW_CPZ_4|CODE_PS |7e1aa000.800842a0.0002fe38.80075000|0002fe38->0001e000 |This Is LteOnly 4M| |RW_CPZ_5|CODEPSB |7e1dc000.800b40d8.000339c0.80093000|000339c0->0001b000 |This Is LteOnly 4M| |RW_CPZ_6|CODEPSC |7e213000.800e7a98.000323ec.800ae000|000323ec->0001b000 |This Is LteOnly 4M| |RW_CPZ_7|CODEPSD |7e249000.80119e84.00028d88.800c9000|00028d88->0001a000 |This Is LteOnly 4M| |RW_CPZ_8|CODEPSE |7e277000.80142c0c.0002e310.800e3000|0002e310->0001a000 |This Is LteOnly 4M| |RW_CPZ_9|CODEPSF |7e2a9000.80170f1c.0001c948.800fd000|0001c948->00011000 |This Is LteOnly 4M| |RW_CPZ_A|CODE_PL |7e2ca000.8018d864.0002fa44.8010e000|0002fa44->0001e000 |This Is LteOnly 4M| |RW_CPZ_B|CODEPLB |7e2fa000.801bd2a8.00039058.8012c000|00039058->00021000 |This Is LteOnly 4M| |RW_CPZ_C|CODEPLC |7e337000.801f6300.000268d4.8014d000|000268d4->00011000 |--------|--------|--------.--------.--------.--------|------------------------------| | | 0x00205bd4 -> 0x00147000| | | 2.022(MB) -> 1.277(MB)| |------------------------------------------------------------------------------------| cp_1606L.axf cp_1606L.bin cp_1606L.map gnumake: Leaving directory `F:/3.asr-b/cat.1-asr1606/1.software/BlOOM_OS_1606_OPENCPU_1191_A09_WIHT_NEWRF/amaziot_bloom_os_sdk/sample/3rd/3.1_SSD1315' "copy NEZHAC_CP_CNR_MIFI_TX.bin to ./ " 已復(fù)制 1 個(gè)文件。
4.9 生成固件
參考入門中開發(fā)工具,生成工具。
4.10 測試
測試步驟:
參考編譯教程,和文檔開頭的編譯指令,進(jìn)行編譯
按照編譯教程選擇對(duì)應(yīng)的選項(xiàng)
燒錄
4.11 固件
上電后,屏幕會(huì)依次顯示圖片,不同大小的漢字,字符,數(shù)字;
點(diǎn)擊下載 OLED Demo固件
5 生態(tài)組件鏈接
OLED屏
本文章源自奇跡物聯(lián)開源的物聯(lián)網(wǎng)應(yīng)用知識(shí)庫Cellular IoT Wiki,更多技術(shù)干貨歡迎關(guān)注收藏Wiki:Cellular IoT Wiki 知識(shí)庫(https://rckrv97mzx.feishu.cn/wiki/wikcnBvAC9WOkEYG5CLqGwm6PHf)
歡迎同學(xué)們走進(jìn)AmazIOT知識(shí)庫的世界!
這里是為物聯(lián)網(wǎng)人構(gòu)建的技術(shù)應(yīng)用百科,以便幫助你更快更簡單的開發(fā)物聯(lián)網(wǎng)產(chǎn)品。
Cellular IoT Wiki初心:
在我們長期投身于蜂窩物聯(lián)網(wǎng) ODM/OEM 解決方案的實(shí)踐過程中,一直被物聯(lián)網(wǎng)技術(shù)碎片化與產(chǎn)業(yè)資源碎片化的問題所困擾。從產(chǎn)品定義、芯片選型,到軟硬件研發(fā)和測試,物聯(lián)網(wǎng)技術(shù)的碎片化以及產(chǎn)業(yè)資源的碎片化,始終對(duì)團(tuán)隊(duì)的產(chǎn)品開發(fā)交付質(zhì)量和效率形成制約。為了減少因物聯(lián)網(wǎng)碎片化而帶來的重復(fù)開發(fā)工作,我們著手對(duì)物聯(lián)網(wǎng)開發(fā)中高頻應(yīng)用的技術(shù)知識(shí)進(jìn)行沉淀管理,并基于 Bloom OS 搭建了不同平臺(tái)的 RTOS 應(yīng)用生態(tài)。后來我們發(fā)現(xiàn),很多物聯(lián)網(wǎng)產(chǎn)品開發(fā)團(tuán)隊(duì)都面臨著相似的困擾,于是,我們決定向全體物聯(lián)網(wǎng)行業(yè)開發(fā)者開放奇跡物聯(lián)內(nèi)部沉淀的應(yīng)用技術(shù)知識(shí)庫 Wiki,期望能為更多物聯(lián)網(wǎng)產(chǎn)品開發(fā)者減輕一些重復(fù)造輪子的負(fù)擔(dān)。
Cellular IoT Wiki沉淀的技術(shù)內(nèi)容方向如下:
奇跡物聯(lián)的業(yè)務(wù)服務(wù)范圍:基于自研的NB-IoT、Cat1、Cat4等物聯(lián)網(wǎng)模組,為客戶物聯(lián)網(wǎng)ODM/OEM解決方案服務(wù)。我們的研發(fā)技術(shù)中心在石家莊,PCBA生產(chǎn)基地分布在深圳、石家莊、北京三個(gè)工廠,滿足不同區(qū)域&不同量產(chǎn)規(guī)模&不同產(chǎn)品開發(fā)階段的生產(chǎn)制造任務(wù)。跟傳統(tǒng)PCBA工廠最大的區(qū)別是我們只服務(wù)物聯(lián)網(wǎng)行業(yè)客戶。
連接我們,和10000+物聯(lián)網(wǎng)開發(fā)者一起 降低技術(shù)和成本門檻
讓蜂窩物聯(lián)網(wǎng)應(yīng)用更簡單~~
哈哈你終于滑到最重要的模塊了,
千萬不!要!劃!走!忍住沖動(dòng)!~
歡迎加入飛書“開源技術(shù)交流群”,隨時(shí)找到我們哦~
點(diǎn)擊鏈接如何加入奇跡物聯(lián)技術(shù)話題群(https://rckrv97mzx.feishu.cn/docx/Xskpd1cFQo7hu9x5EuicbsjTnTf)可以獲取加入技術(shù)話題群攻略
Hey 物聯(lián)網(wǎng)從業(yè)者,
你是否有了解過奇跡物聯(lián)的官方公眾號(hào)“eSIM物聯(lián)工場”呢?
這里是奇跡物聯(lián)的物聯(lián)網(wǎng)應(yīng)用技術(shù)開源wiki主陣地,歡迎關(guān)注公眾號(hào),不迷路~
及時(shí)獲得最新物聯(lián)網(wǎng)應(yīng)用技術(shù)沉淀發(fā)布
注:本文部分內(nèi)容來源于網(wǎng)絡(luò),如有侵權(quán),請及時(shí)聯(lián)系我們。
審核編輯 黃宇
-
RAM
+關(guān)注
關(guān)注
8文章
1368瀏覽量
114681 -
物聯(lián)網(wǎng)
+關(guān)注
關(guān)注
2909文章
44634瀏覽量
373311 -
OLED屏
+關(guān)注
關(guān)注
0文章
162瀏覽量
20847
發(fā)布評(píng)論請先 登錄
相關(guān)推薦
評(píng)論