2015年11月21日 星期六

Nordic global tech tour 2015(2/2)

前言:
在Nordic global tech tour 2015(1/2)中,是對於基本內容. 而在這裡則是為跟NRf52新增的function介紹.
IMAG0187
Timer:(enhance and new)
在RTC,Generial Timer及SysTick.其中SystemTick是新加的.而其它的部部份,則是有多組及加強. 但不知在新的softdevice對於這些資源的使用是如何?
像是之前,s110中,RTC及Timer 好像均有一組已被softdevice佔用. 但這裡我沒有看到有提供這方面的資訊.
而對於SysTick則是有所限制在.
(not recommended for general use as it stop when CPU stop)
serial communctation:(enhance and new )
TWI/SPI and UART, 在之前我所使用的NRf51 v1/2 與NRF52 多了相當多的function.
(EasyDMA and autolog) ,對此可能要之後用到才能詳細看. 尤起來在使用PPI及EasyDMA在處error handle時.這部份 ....
LPCOMP(low power comparat) ,New
COMP(General Purpose comparetor),New
因為我之前並沒有使用到類似的function. 所以,可能要用到時再看看.
PPI GPIOTE and EasyDMA,(enhance and new
enchance,跟之前的nRF51 相較新增了4 組channel 出來及二組group
new , 新增了fork,來達成單一event多task
NFC,(new
這個在之前在nordic SDK已有它的選項了(out-ot band).在這版來該出現了.
以下是它的規格及FUNCTION,
  • 13.56MHz
  • NFC-A Type 2 ,
  • Read-Ony,*
Read-Only 對於此Nordic表示因功耗要求並不考慮可以peer -mode
ADC and Audio peripherals ,new
Successive Approximation ADC
  • 8/10/12 bit resolution
  • Full scale input rang
  • Single-ended or differential mode
  • Up to eight  input channel
  • internal resistor string
  • One-shot or scan sampling mode
  • Option oversampling mode
  • Continuous sampling(200KHz)
  • On-the fly limits check
  • EasyDMA
audio peripherals
  • I2s
  • PDM
  • PWM

這裡我有了相當的興趣,因在一開始我前公司就是看好智能電視這塊市場. 而在remoter上的藍芽這塊. 而在nordic 也是,因此它提供了一個reference desing (smart nRF remoter 2).而我們也有以自家的SOC加上NRF51來實作. 但事實上, 在市場上也有許多家做這個.但是採用one chip . 因此最後也沒結果.
而在做audio這塊上其中,ADC的功能是相當重要的,因原本的nRF 51沒有EasyDMA及加上ble stack interrupt context限制. 所以一定要配合另一顆decode來. 而這次的nRF52中,有了enhance ADC ,Hardware PWM ,i2s,PDM , DSP and Float Point.已經滿足了要求了. 但不知Nordic方面是否會跟以前一樣提供referencce desing for remoter.
後言:
對我也說, 之所以想要去了解的部份在於audio,EasyDMA ,DSP and Float Point.
而這些,nordic之所以會加入也是因為未來的趨勢.因此等手上的工作到一個階段後可以續之前的計劃及研究.

*1.add the 2012 nordic tech tour
*2.最快傳輸速度? 是否可以50Kbps @ BLE 4.0 and IOS 7 system?
     這是我最後在那裡處理的case .



https://drive.google.com/folderview?id=0B2uYQcUgyMUJdmZQd3hLWENYNmM&usp=sharing

Nordic global tech tour 2015(1/2)


前言:
     昨日11/20,去高雄參加nordic global tech tour活動,這應該是第一次是nordic在台所舉辨的活動,推廣Nrf 52 serial Soc . 機會難得. 雖然我個人目前因工作關係已沒有在接解Nordic的Soc的了.但有在一直觀注這個.
因昨日身体不適,所以沒有在會議中有什麼交流,最後也只有跟之前接解觸的FAEsay hello,Orz.
    但是, 把記錄的寫下. 相信末來有機會再回來看.
keywork:
nordic, tech tour,nrf52

IMAG0188
fig 1. which one is NRf 51 and NRf52
 
時間:2015/11/20 9:00 am ~17 :00 pm
地點:高雄-漢來飯店
人數:約80人
主旨:Nrf52 tech tour
要點:
Nrf 52的特性及BLE stack program.
特別的是在Nrf 52,跟我以前所接解觸的Nrf 51(*1) 有了滿大的的不同(*2).
將對之前的與內容問題
Power management:
DC/DC,與Nrf51差在其輸出電流會依其load改變
(waht different with low /hight activity, what kind of peripheral use ?)
free runing or lock to XO,
在一開始為lock XO,在一但穩定後可以free runing來降低功耗.(為8ppm)
在system idle/off是否需要重新lock to XO??
Softdevice:
Software separation:
by the two vector table system,the will add more lancety time?
interrupt context ,
how to avoid the read/write flash issue on this contect?
how to identy the interrupt level ?
(as my solution before ,i read/write only on befor start and disconnect ble,
but new solution,that should be using the timeslot ,but that need check)

Bluetooh Smart application
是跟之前的是一樣的, 不知是我聽錯還是理解有誤.
對於custom characteristics 有空間上的限制而不是傳輸上限制才對.
還有提到了Bluetooth Developer Studio的使用,之前也試著使用但卻找不到可以輸出成
可被使用的檔案格式. 原來它是必須配vendor solution pack.才可使用 而這方面只能看各家的vendor是否有提供. 感覺是大大地降 而這方面只能看各家的vendor是否有提供. 感覺是大大地降低它的方便.
Software development Kit,
dfu with asymmetric signing, and serialization:
common RTOS support,
說實在的,雖然nordic一直都拿另一家大廠相較. 但在事實在是在相互學習相勵.
如同ios 及 android 系統上, 各有它的優缺. 重要是在適當的情況下採用不同實作方式.
或是為了某一目標下,採取最佳的方式. 像是在OSAL/TI-RTOS對我這種只能透過大師的...........code來學習的人來講是很好的.
接下來是,就是Nrf 52新加的function相關(NFC,i2s /ADC ,EasyDMA and PWM)
*1:
Nrf 51簡單有3個版本(v1~3).
Nrf 51 之前都是V1/2 版的,即其i/o interface均沒有包含有EasyDMA.
*2:
Nrf 52中與Nrf51相較下.
Nrf52除了更快M4F 64MHz/更省電
(action Radio time,Tx5ma: Rx:4.6ma,at Dc/Dc mode) 外,
還有
a.every serial interface(spi/i2c) 均有了EasyDMA
b.ADC 也有了EasyDMA 及及 Hardware PWM for Audio,
c. 多了ULPCOMP ,COMP
d. 內建了DSP and Float Point
e. NFC(only read)

https://drive.google.com/folderview?id=0B2uYQcUgyMUJdmZQd3hLWENYNmM&usp=sharing