Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

AP2 x AT3 in ASYNCH mode

Rank

Total Posts: 10

Joined 2013-01-03

PM

Prerequisities:
- ANTAP281M5IB (AP2) revision E (AP2-8 1.06XO), ATN11TS33M5IB (AT3) revision AGC1.01RAA
- ANT module controlled by MCU using ASYNC mode
- current flown to module VCC pin measured by Fluke 83
- AN13 Power States



1.
AN13: ASYNC mode/Table 2 and Table 3.

a) AP1, AP2 have asterisks at Power State row, but I found no explanation. "Forces Reset" sounds irrelevant.

b) row SLEEP seems confusing in Table 2 and Table 3. Isn't better to name it BASE current in SLEEP state (as module datasheet does)?

c) Is info, that AT3/AP2 in ACTIVE state universally consumes current in units of mA, correct?
Why there is no such important info in datasheet(s), where on the beginning can be read "Ultra low power operation"?
When I power up AT3 module and perform reset by toggling RESET line (in ACTIVE state now, according to Figure 1., RTS pulse correctly obtained), AT3 module draws only ~2,3uA (in contrast of a given value in Table 2. Farther when SLEEP line is 1, current is lowered to 0,9uA, i.e. SLEEP state).
But when I do the same process with AP2 (+ Startup message A4 01 6f 01 CB ... RESET line (0x01) received), it really consumes about 2,5mA. How to understand this difference? It looks like AT3 goes to UNKNOWN low power state automatically (but "ANT will automatically transition to the IDLE state" is mentioned only for SYNC interface), but AP2 don't ("On start-up or after a reset, ANT will be in the ACTIVE state"), both with SLEEP line hold low, SUSPEND high and with no one serial message (not even 1 channel assigned).



2.
a) Why is transition from ACTIVE to DEEP SLEEP state described only with serial message Deep_Sleep_Cmd (AN13/ Figure 1.)?
Isn't correct to paint Deep_Sleep_Cmd & (Goto_Sleep within 1.2ms)?
Also transition from DEEP SLEEP to IDLE with forcing reset is missing: Deep_Sleep_Cmd & !(Goto_Sleep within 1.2ms)

b) Presumptions:
- ASYNC interface, AP2 revision E
- Startup message correctly obtained (message A4 01 6f 01 CB ... RESET line (0x01) received)

It is strange, but I cannot enter into DEEP SLEEP state with AP2 revision E using this mechanism (1.2 ms kept).
Module still draws 2,4uA (that corresponds to SLEEP state current, so absolute minimum 0,5uA is disqualified)



3.
Presumptions:
- ASYNC interface, AP2 revision E
- AP2 datasheet lists feature: On board 32.768 kHz crystal oscillator
and note 8) says "Value calculated assuming the onboard 32.768 kHz crystal oscillator is enabled. The ANT_CrystalEnable() message must be used to enable this clock source.
- forum writes: The AP2 defaults to the internal RC clock which is very fast compared to an external clock, but testing the external crystal on an AP2 module revealed very fast startup times as well.
By using the external crystal the base current draw may be low enough for your application, and using byte synchronous SPI if possible will also lower your current consumption for the AP2.
If current consumption on the AP2 still would not be acceptable, the AT3 chipset should also give the latency requirement you need at a lower active current than the AP2 but this has not been tested.

When I observe current consumption in SLEEP state, I cannot see any current diference no matter if I send Crystal Enable (Startup notification message and following RESPONSE_NO_ERROR message for command 0x6D correctly obtained) serial message OR not.
Difference should be 84uA(nRFAP2)/97uA(AN13) in base current (87uA x 3uA)/(100uA x 3uA). Or not?
So, isn't 32.768kHz oscillator for AP2 enabled by default? ANT_CrystalEnable() message then shouldn't be necessary.



4.
AP2 datasheet says:
a) "pin compatible with ANT AP1 and AT3 modules"
b) Surface Mount Pins 5 and 8 are NC (No connection)

Couldn't be (possibly in future improvement/SPECIAL TEST modes of module AP2) some troubles, when we left these 2 pins tied to GND (to have designed PCB compatible for AP2 and also AT3)?
Or these pins MUST be strictly left unconnected as depicted?

     
Avatar
RankRankRankRank

Total Posts: 662

Joined 2012-10-09

PM

1. AN13: ASYNC mode/Table 2 and Table 3.

a) AP1, AP2 have asterisks at Power State row, but I found no explanation. "Forces Reset" sounds irrelevant


Looks like a typo. Thanks for pointing this out. The asterisk refers to the text below: for AP1/AP2, ANT will not traverse through this states automatically.

b) row SLEEP seems confusing in Table 2 and Table 3. Isn't better to name it BASE current in SLEEP state (as module datasheet does)?


You are correct in that this figure matches the base current in the module datasheets. However, as a power state in ANT, Sleep is a more accurate term.

c) Is info, that AT3/AP2 in ACTIVE state universally consumes current in units of mA, correct? Why there is no such important info in datasheet(s), where on the beginning can be read "Ultra low power operation"?


While instantaneous current consumption can be in the range of mA, this is only for very short periods of time. In average the consumption is in uA.

When I power up AT3 module and perform reset by toggling RESET line (in ACTIVE state now, according to Figure 1., RTS pulse correctly obtained), AT3 module draws only ~2,3uA (in contrast of a given value in Table 2. Farther when SLEEP line is 1, current is lowered to 0,9uA, i.e. SLEEP state).
But when I do the same process with AP2 (+ Startup message A4 01 6f 01 CB ... RESET line (0x01) received), it really consumes about 2,5mA. How to understand this difference? It looks like AT3 goes to UNKNOWN low power state automatically (but "ANT will automatically transition to the IDLE state" is mentioned only for SYNC interface), but AP2 don't ("On start-up or after a reset, ANT will be in the ACTIVE state"), both with SLEEP line hold low, SUSPEND high and with no one serial message (not even 1 channel assigned).


AT3 is the only part where ANT handles power states transitions automatically. For AP2, you do need to use the SLEEP/SUSPEND lines to get it to reach its lowest power state.

2. a) Why is transition from ACTIVE to DEEP SLEEP state described only with serial message Deep_Sleep_Cmd (AN13/ Figure 1.)?
Isn't correct to paint Deep_Sleep_Cmd & (Goto_Sleep within 1.2ms)?
Also transition from DEEP SLEEP to IDLE with forcing reset is missing: Deep_Sleep_Cmd & !(Goto_Sleep within 1.2ms)


Yes, that is the correct usage of the command, but all the details were not included in the figure because the space in the figure is limited. Correct use of the Deep Sleep command is fully documented in detail in Section 3.1.5.

b) Presumptions:
- ASYNC interface, AP2 revision E
- Startup message correctly obtained (message A4 01 6f 01 CB ... RESET line (0x01) received)

It is strange, but I cannot enter into DEEP SLEEP state with AP2 revision E using this mechanism (1.2 ms kept).
Module still draws 2,4uA (that corresponds to SLEEP state current, so absolute minimum 0,5uA is disqualified)



Please refer to the AP2 Module revision history (you'll find it right below to the datasheet). A module level fix for the "Supply Voltage Issue" (3.13) was implemented in module rev E. This fix removes the Deep Sleep Mode. I can see how the current consumption table there is confusing - we'll need to fix that.

3.Presumptions:
- ASYNC interface, AP2 revision E
- AP2 datasheet lists feature: On board 32.768 kHz crystal oscillator
and note 8) says "Value calculated assuming the onboard 32.768 kHz crystal oscillator is enabled. The ANT_CrystalEnable() message must be used to enable this clock source.
- forum writes: The AP2 defaults to the internal RC clock which is very fast compared to an external clock, but testing the external crystal on an AP2 module revealed very fast startup times as well.
By using the external crystal the base current draw may be low enough for your application, and using byte synchronous SPI if possible will also lower your current consumption for the AP2.
If current consumption on the AP2 still would not be acceptable, the AT3 chipset should also give the latency requirement you need at a lower active current than the AP2 but this has not been tested.

When I observe current consumption in SLEEP state, I cannot see any current diference no matter if I send Crystal Enable (Startup notification message and following RESPONSE_NO_ERROR message for command 0x6D correctly obtained) serial message OR not.
Difference should be 84uA(nRFAP2)/97uA(AN13) in base current (87uA x 3uA)/(100uA x 3uA). Or not?
So, isn't 32.768kHz oscillator for AP2 enabled by default? ANT_CrystalEnable() message then shouldn't be necessary.


The fix for the issue above for module Rev E involved enabling the crystal by default. However, sending the command will not produce any ill effects, so it is recommended to still use the command for firmware compatibility with other module revs.

4. AP2 datasheet says:
a) "pin compatible with ANT AP1 and AT3 modules"
b) Surface Mount Pins 5 and 8 are NC (No connection)

Couldn't be (possibly in future improvement/SPECIAL TEST modes of module AP2) some troubles, when we left these 2 pins tied to GND (to have designed PCB compatible for AP2 and also AT3)?
Or these pins MUST be strictly left unconnected as depicted?


They are not connected to anything internally, so it is not a problem if you decide to connect them to ground.      
Rank

Total Posts: 10

Joined 2013-01-03

PM

alejandra - 10 January 2013 12:12 PM
1. AN13: ASYNC mode/Table 2 and Table 3.

a) AP1, AP2 have asterisks at Power State row, but I found no explanation. "Forces Reset" sounds irrelevant


Looks like a typo. Thanks for pointing this out. The asterisk refers to the text below: for AP1/AP2, ANT will not traverse through this states automatically.

c) Is info, that AT3/AP2 in ACTIVE state universally consumes current in units of mA, correct? Why there is no such important info in datasheet(s), where on the beginning can be read "Ultra low power operation"?


While instantaneous current consumption can be in the range of mA, this is only for very short periods of time. In average the consumption is in uA.

When I power up AT3 module and perform reset by toggling RESET line (in ACTIVE state now, according to Figure 1., RTS pulse correctly obtained), AT3 module draws only ~2,3uA (in contrast of a given value in Table 2. Farther when SLEEP line is 1, current is lowered to 0,9uA, i.e. SLEEP state).
But when I do the same process with AP2 (+ Startup message A4 01 6f 01 CB ... RESET line (0x01) received), it really consumes about 2,5mA. How to understand this difference? It looks like AT3 goes to UNKNOWN low power state automatically (but "ANT will automatically transition to the IDLE state" is mentioned only for SYNC interface), but AP2 don't ("On start-up or after a reset, ANT will be in the ACTIVE state"), both with SLEEP line hold low, SUSPEND high and with no one serial message (not even 1 channel assigned).


AT3 is the only part where ANT handles power states transitions automatically. For AP2, you do need to use the SLEEP/SUSPEND lines to get it to reach its lowest power state.

b) Presumptions:
- ASYNC interface, AP2 revision E
- Startup message correctly obtained (message A4 01 6f 01 CB ... RESET line (0x01) received)

It is strange, but I cannot enter into DEEP SLEEP state with AP2 revision E using this mechanism (1.2 ms kept).
Module still draws 2,4uA (that corresponds to SLEEP state current, so absolute minimum 0,5uA is disqualified)



Please refer to the AP2 Module revision history (you'll find it right below to the datasheet). A module level fix for the "Supply Voltage Issue" (3.13) was implemented in module rev E. This fix removes the Deep Sleep Mode. I can see how the current consumption table there is confusing - we'll need to fix that.

3.Presumptions:
- ASYNC interface, AP2 revision E
- AP2 datasheet lists feature: On board 32.768 kHz crystal oscillator
and note 8) says "Value calculated assuming the onboard 32.768 kHz crystal oscillator is enabled. The ANT_CrystalEnable() message must be used to enable this clock source.
- forum writes: The AP2 defaults to the internal RC clock which is very fast compared to an external clock, but testing the external crystal on an AP2 module revealed very fast startup times as well.
By using the external crystal the base current draw may be low enough for your application, and using byte synchronous SPI if possible will also lower your current consumption for the AP2.
If current consumption on the AP2 still would not be acceptable, the AT3 chipset should also give the latency requirement you need at a lower active current than the AP2 but this has not been tested.

When I observe current consumption in SLEEP state, I cannot see any current diference no matter if I send Crystal Enable (Startup notification message and following RESPONSE_NO_ERROR message for command 0x6D correctly obtained) serial message OR not.
Difference should be 84uA(nRFAP2)/97uA(AN13) in base current (87uA x 3uA)/(100uA x 3uA). Or not?
So, isn't 32.768kHz oscillator for AP2 enabled by default? ANT_CrystalEnable() message then shouldn't be necessary.


The fix for the issue above for module Rev E involved enabling the crystal by default. However, sending the command will not produce any ill effects, so it is recommended to still use the command for firmware compatibility with other module revs.



- ad 1. c)
> While instantaneous current consumption can be in the range of mA, this is only for very short periods of time. In average the consumption is in uA.

But with my AP2 this ACTIVE state current is still 2,5mA(!?) until SLEEP line is low. When I set this line high, current is lowered (OK). Hm.

- 1 new question:
Does distributor take into account module revision? Is there any note/mark/ordering code on package label (not on product sticker) which distinguishes between marketed revisions (to get latest revision)?

- I found a few other issues to check:

ANT Message Protocol and Usage Rev 4.5 on page 52 says: Notifications/Startup message: -> ResponseFunc(-,0xC5)
but -> ResponseFunc(-,0x6F) could be better

AP2 module datasheet Rev 1.8 says: I_Msg_RxAck_57600 = 28uA
but 2. example calculates with 22uA ???

AN02 Device Pairing/Figure 1./"Channel ID not known at all" frame has: Device Type = 0x64
but Device Type = 0x00 could be better

nRF24AP2 Product Specification on page 11 for pin 15 says: Asynchronous mode: Suspend Control
but Asynchronous mode: Baud rate selection could be better

     
Avatar
RankRankRankRank

Total Posts: 662

Joined 2012-10-09

PM

Thanks for pointing out the typos.

Regarding your question, no, the distributors are not required to track the module revision, and likely do not do it; however,if you have specific needs, you may want to contact directly your local distributor.      
Rank

Total Posts: 10

Joined 2013-01-03

PM

Another issue found.
ANT Message Protocol and Usage Rev 4.5 on page 88 says:
The version message returns an 11-byte null-terminated version string,

But for AP2 the string's length is 13 bytes. So message is 17 bytes long.

a4 0d 3e 41 50 32 2d 38 20 31 2e 30 36 58 4f 00 8f

AP2-8 1.06XO

     
Avatar
RankRankRankRank

Total Posts: 235

Joined 2012-08-31

PM

Hi testy,

Thanks for pointing this out. I have checked this information, and while typically this message returns an 11 byte string, there are a couple of exceptions that return a 13 byte string.

We are updating the ANT Message Doc at the moment so will include this change.

Kind regards,

Kat