Questions and discussions about the hardware aspects of the TD RF modules, boards and accessories.
Archie
 
Posts: 23
Joined: Sun Feb 28, 2016 8:29 am

TD1208

by Archie Sun Feb 28, 2016 8:57 am

Hello,
I try to use TD1208 by I2C interface but I don't but I do not understand how. The documentation is very light.
By example, I would like send message on sigfox network.

What is the address of the I2C component?
And behind how I can send my data?

King regards, archie
User avatar
mstempin
 
Posts: 168
Joined: Thu May 07, 2015 9:24 am

Re: TD1208

by mstempin Mon Feb 29, 2016 2:02 pm

Regarding the I2C, the TD1208 is completely transparent compared to the underlying EFM32G210F128 MCU.

The I2C protector implementation in the EFM32 is a mix between hardware and software, where the 2IC peripheral is taking care of the protocol's low-level stack, and the "efm_i2c.c" source from the emlib library handles higher-level stuff, such as the address and ACK/NACK handling, coded as a finite-state automaton in the I2C_Transfer() function.

This function is very important in order to understand what is going on: by inserting some debug in it, as well as in the corresponding IRQ handler. Using a GPIO and a scope, it is possible to grasp the details.

One of the problems that took us some time to figure out,; is that the I2C_TypeDef structure must be persistent as it cotnains the FSA current state. We had cases where this structure was declared on the stack in an initialization function and used outside it, generating a random automaton behavior.

The best source of information for the I2C is Silab's AN0011 and its corresponding examples:
http://www.silabs.com/products/mcu/Page ... notes.aspx

In order to understand the MCU, you can check the EFM32G reference manual to get information on the Gecko family and its integrated peripherals (including the I2C), and the EFM32G210F128 datasheet for information regarding this specific package.
Archie
 
Posts: 23
Joined: Sun Feb 28, 2016 8:29 am

Re: TD1208

by Archie Thu Mar 03, 2016 4:42 pm

Hello mstempin,

I'm a bit lost in the documentation. I'm connected an arduino 3.3V to TD1208 and I can't communicate with the TD1208.
I have as documentation:
https://www.silabs.com/Support%20Docume ... 32G-RM.pdf
https://www.silabs.com/Support%20Docume ... 32G210.pdf
http://www.silabs.com/products/mcu/Page ... notes.aspx

I send from my ardiuno:
* 2 start
* Address: 0x71
* Data: "\0;"
* 2 stop

is that the method is good ?
is that the adrdess is good ?

King regards, Archie
Archie
 
Posts: 23
Joined: Sun Feb 28, 2016 8:29 am

Re: TD1208

by Archie Tue Mar 08, 2016 6:45 pm

I think I understand, I have to change the SDK in TD1208. I had a little trouble understanding because it miss lot of link examples.
I saw the programs of github.com/stm32f4/TD1208, I think it is the original SDK.

And I saw in this program i2c is designed for silicon sensors (temperature sensors, girosopique sensors).
In fact TD1208 ( In slave ), I must change the SDK Origin. It will be a new adventure : D.

There is an official git of TD1208?.
Archie
 
Posts: 23
Joined: Sun Feb 28, 2016 8:29 am

Re: TD1208

by Archie Wed Mar 09, 2016 6:09 am

I misspoke.
The git https://github.com/Telecom Design / TD_RF_Module_SDK.git you wrote in the READ SDK do not exist.
disk91
 
Posts: 58
Joined: Thu May 07, 2015 4:30 pm

Re: TD1208

by disk91 Thu Mar 17, 2016 7:10 am

User avatar
mstempin
 
Posts: 168
Joined: Thu May 07, 2015 9:24 am

Re: TD1208

by mstempin Mon Mar 21, 2016 8:52 am

Archie wrote:I saw the programs of github.com/stm32f4/TD1208, I think it is the original SDK.
...
There is an official git of TD1208?.

No it isn't! In order to access the official TD1208 SDK, you need to register to our TD developer's dashboard, log in, then go into the "profile" tab, and under the "Github" sub-tab, fill in your Github Nickname, you will then be granted access to our private repository on Github:
https://developers.insgroup.fr/dashboards/developer.html
Return to Hardware

Who is online

Users browsing this forum: No registered users and 22 guests