MC13192 hidden registers

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MC13192 hidden registers

5,286件の閲覧回数
zigbertsschecht
Contributor I
I am developing drivers for a project using the MC13192 and I have come across a note concerning hidden registers. The MC13192RM/RegisterDescription eludes to setting a couple of bits in a few registers without any explaination.

I have chased down an SMAC example and found that in the MC13192_hw_config.c code, where the registers are set, more than a few bits are set/notSet within these hidden registers. It makes me a little uncomfortable blindly setting things without knowing the effect of doing so.

Does anyone have more detailed information concerning these registers and how to use them?
ラベル(1)
0 件の賞賛
返信
4 返答(返信)

763件の閲覧回数
zigbertsschecht
Contributor I
Taken from page 2-1 from MC13192RM rev1.3

2.2 Mandatory Register Initialization
NOTE
Certain hidden registers MUST be initialized to given conditions for proper
operation of the transceiver. These programmed conditions are given in
Table 2-1 (these are not default values).

Table 2-1. Mandatory Register Initialization

ADD(Hex) BIT CONDITION
08 1 Set to 1
08 4 Set to 1
11 9:8 Set to 00
06 14 Set to 1

Later, registers 08 and 11 are not listed in the descriptions and 06 bit 14 is not accounted for in the description.

I am not hallucinating...
0 件の賞賛
返信

763件の閲覧回数
rocco
Senior Contributor II
Thanks, Zig:
I noticed the hole at $08, but didn't think much of it. I completely missed the "Mandatory Register Initialization" section just two pages in front.

If I get the time (yeah, right!) I will experiment with these bits. If I burn the boards up, it's no big deal, as we decided on Chipcon (now TI) for our ZigBee.

I doubt I will learn anything, though, other than that it won't work.
0 件の賞賛
返信

763件の閲覧回数
zigbertsschecht
Contributor I
rocco,

Rooting around the SMAC examples I found this in MC13192_hw_config.c:

SPIDrvWrite(0x11,0x80FF); /* Eliminate Unlock Conditions due to L01 */
SPIDrvWrite(0x08,0xFFF7); /* Preferred injection */
SPIDrvWrite(0x06,0x4720); /* CCA, TX, RX, energy detect */

So this is what gets me worried:

1)not just bits 9:8 of address 0x11 are set to 0 (bits 14:8 are 0)
2)all bits except bit 3 are set to 1 in address 0x08

Until I learn some more, these are the settings I am going to use.

Thanks for the interest...
0 件の賞賛
返信

763件の閲覧回数
rocco
Senior Contributor II
Hi, ZigBert:

When you say the registers are 'hidden', do you mean that they are not mentioned in this manual?

http://www.freescale.com/files/rf_if/doc/ref_manual/MC13192RM.pdf

If so, can you tell us what register addresses and bits they are hiding from us? I, like you, am not comfortable programming something I don't fully understand.
0 件の賞賛
返信