• slider image 442
  • slider image 483
  • slider image 484
  • slider image 485
  • slider image 486
  • slider image 487
:::

論壇索引


Board index » All Posts (dginlon)




Re: PIC16F877A,為什麼用For迴圈會出現問題?
#1
資深會員
資深會員


感覺 是你的邏輯分析儀 取樣太慢

發表於: 2023/3/22 10:33
頂部


Re: PIC18F55Q43 GPIO 問題
#2
資深會員
資深會員


對不起 沒有詳細看過你的問題 請忽略我的回覆

發表於: 2022/8/16 11:04
頂部


Re: PIC18F55Q43 GPIO 問題
#3
資深會員
資深會員


ANSB0=0;

發表於: 2022/8/15 13:29
頂部


MU-探索Linux®系統的建構 "Linux4sam網站編譯成Image過程" 影片可以下載嗎?
#4
資深會員
資深會員


as title
MU-探索Linux®系統的建構 "Linux4sam網站編譯成Image過程" 影片可以下載嗎?

發表於: 2022/6/15 11:35
頂部


Re: 請問關於昨天CAE空中教室課程開發板使用SNAP燒錄器問題
#5
資深會員
資深會員


正確 !
而且有一些 PIC MCU有 二組ICSP 介面時 只有一組可以設定 LVP(EX: PIC16F1459)

發表於: 2022/5/13 15:32
頂部


PIC16F18345 EEPROM 存取問題
#6
資深會員
資深會員


Dear All:

初始化 OK
讀出 皆為 0xFF
寫入 失敗


This file provides implementations of driver APIs for MEMORY.
Generation Information :
Product Revision : PIC10 / PIC12 / PIC16 / PIC18 MCUs - 1.81.7
Device : PIC16F18345 Rev.0
Driver Version : 2.0.2
The generated drivers are tested against the following:
Compiler : XC8 2.31 and above
MPLAB : MPLAB X 5.45

InitEeprom.c
eeprom struct PowerSwCountTag SwitchCount = {DEFAULT_SWITCH_COUNT_A,DEFAULT_SWITCH_COUNT_B};


Memory.c
/**
  Section: Data EEPROM Module APIs
*/

void DATAEE_WriteByte(uint16_t bAdduint8_t bData)
{
    
uint8_t GIEBitValue INTCONbits.GIE;

    
NVMADRH = ((bAdd >> 8) & 0xFF);
    
NVMADRL = (bAdd 0xFF);
    
NVMDATL bData;    
    
NVMCON1bits.NVMREGS 1;
    
NVMCON1bits.WREN 1;
    
INTCONbits.GIE 0;     // Disable interrupts
    
NVMCON2 0x55;
    
NVMCON2 0xAA;
    
NVMCON1bits.WR 1;
    
// Wait for write to complete
    
while (NVMCON1bits.WR)
    {
    }

    
NVMCON1bits.WREN 0;
    
INTCONbits.GIE GIEBitValue;   // restore interrupt enable
}

uint8_t DATAEE_ReadByte(uint16_t bAdd)
{
    
NVMADRH = ((bAdd >> 8) & 0xFF);
    
NVMADRL = (bAdd 0xFF);
    
NVMCON1bits.NVMREGS 1;    
    
NVMCON1bits.RD 1;
    
NOP();  // NOPs may be required for latency at high frequencies
    
NOP();
    return (
NVMDATL);
}

ReadEeprom.c
uiChannelA DATAEE_ReadByte(1) * 0x100 DATAEE_ReadByte(0);
uiChannelB DATAEE_ReadByte(3) * 0x100 DATAEE_ReadByte(2);

WriteEeprom.c
DATAEE_WriteByte(0,uiChannelA 0xFF);
DATAEE_WriteByte(1,uiChannelA 0x100);
DATAEE_WriteByte(2,uiChannelB 0xFF);
DATAEE_WriteByte(3,.uiChannelB 0x100);

發表於: 2022/3/31 18:05
頂部


Re: PIC12F519如何燒入時預燒EEDATA值
#7
資深會員
資深會員


Dear LYJ
試試
#define DATA_FLASH_ADDR 0x400

const union 

    
int24_t ulCount;
    
char param[3];
EeParam[] @ Data_FLASH_ADDR= {0L};

發表於: 2022/2/10 15:17
頂部


Re: [PIC18F18345]XPRESS BOARD LVP 3.3V 燒錄
#8
資深會員
資深會員


換了一顆 搞定

發表於: 2021/11/19 11:02
頂部


[PIC18F18345]XPRESS BOARD LVP 3.3V 燒錄
#9
資深會員
資深會員


最近 因有 5V 需求 我手上有 XPRESS PIC16F18345 板子
XPRESS BOARD 原先是 default 3V3 我索性把它改成 5V
燒錄 很方便 也沒發生啥問題
專案完成驗證後 我又把它改回 3V3
我突然發現 檔案 拖過去 XPRESS 後 XPRESS 上面的PIC16F18345 並沒有更新
原先我以為 是我 設定 LVP OFF
我又用PICKIT 把 PIC16F18345 ERASE
也不行
我又把它改回 5V
竟然一切都正常

發表於: 2021/11/18 18:01
頂部


Re: 懇請提供APP-EDF18-1B 相關資料
#10
資深會員
資深會員


收到 感謝 !!

發表於: 2021/9/6 19:59
頂部



(1) 2 3 4 ... 34 »



:::

Microchip連結

https://www.facebook.com/microchiptechnologytaiwan/
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=13
https://mu.microchip.com/page/tmu
http://elearning.microchip.com.tw/modules/tad_link/index.php?cate_sn=1
https://page.microchip.com/APAC-PrefCenters-TW.html
http://www.microchip.com/
http://www.microchip.com/treelink
http://www.microchipdirect.com/
http://www.microchip.com.cn/newcommunity/index.php?m=Video&a=index&id=103
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=2
http://www.microchip.com.tw/Data_CD/eLearning/index.html
http://www.microchip.com.tw/RTC/RTC_DVD/
https://www.microchip.com/development-tools/
https://www.youtube.com/user/MicrochipTechnology
[ more... ]

教育訓練中心

!開發工具購買
辦法說明 [業界客戶] [教育單位]
----------------------------------
!校園樣品申請
辦法說明 [教師資格] [學生資格]
----------------------------------