Tag Archives: td1204

Measure waveform duration with EFM32 / TD1208

tim10Measuring a pulse duration in a pulse train was my last week headache with the TD1208 and the not so well documented EFM32. Basically, my objective was to activate a timer on a pulse train to measure the duration of the pulse. This duration was measured about 100uS and occurred at 1 Hz.

My choice was to rise an interrupt on each signal front (raising and falling) and measure the duration between the two first interrupt call. Some reset function ensure we are measuring the low state duration (100uS) not the high state duration (1s). This part will not be described here.  The purpose of this post is to describe the main hole I fallen in.

Continue reading

Posted in Hardware | Tagged , , , | Leave a comment

Flash a TD1204 over J-Link

For flashing a TD1204 / TD1208 over J-link you need to use the following commands:

JLinkExe -device EFM32G210F128 -if swd -speed 1000
J-Link> loadbin xxxxx.bin,0
...
J-Link> r                          # reset
J-Link> g                          # go

Total programming time is about 5 seconds. The circuit between the segger connector and the TD is the following one. (do not forget to connect VDD circuit to Segger VTref.

td1204 / j-link cable
td1204 / j-link cable
Posted in Hardware | Tagged , , , | Leave a comment

Extend TD1204 Standard firmware to simplify GPS

TD1204 / Sigfox & GPS
TD1204 / Sigfox & GPS

The TD1204 modem firmware is a easy to use solution for sending message to Sigfox network. It starts to be complex when you want to create your own message including the GPS position. The standard firmware returns the satellite NMEA frames in text mode and you have to process it.

To make it simple I built a modification of the standard modem firmware to add an extra command to enrich a message with a GPS coordinate automatically.

 

Continue reading

Posted in Shop, sigfox | Tagged , , | Leave a comment

Some GNSS / GPS stuff that are good to know for IoT

gpsWhen you start developing a GPS solution, you have to deal with energy and for this you have to create a strategy based on what you expect and the size of your battery.

Basically, a GPS is consuming about 25mA when running. An active antenna will consume about 10mA more. The first time you start it, it have to sync with the satellites, get the ephemeris then you can position in 2D then in 3D.

Read more for more information

Continue reading

Posted in IoT | Tagged , | 1 Comment

Telecom Design TD1204 / TD1208 use DB2-DB3

Telecom Design TD1204 have really limited number of GPIOs available even if it have many pins 🙁 … So you quickly have to use the DB2-DB3 pin that are usually used by SWD port.

If you try to reconfigure directly the Pin, this will not work until you inactivate SWD. For this, you must call first the following functions :

GPIO_DbgSWDIOEnable(false);
GPIO_DbgSWDClkEnable(false);

Posted in Hardware, sigfox | Tagged , , | 1 Comment

EFM32 – I2C for Telecom Design TD1204 / TD1208

A good way to expand Telecom Design system is to use I2C to connect external devices. As an example I had to add an extra Analog to Digital converter. I’m using a MCP3021Ax device. This I2C chip just return a 10bits value each time you send a READ at the expected address. This post contains the TD1204 code to configure I2C and get the data back

Continue reading

Posted in Hardware, sigfox | Tagged , , , , | 7 Comments

SigFox – The Telecom Design Familly

TD1204 / Sigfox & GPS
TD1204 / Sigfox & GPS

Telecom Design provides 4 different chips to support SigFox communications. This post details the differences of each of them in term of functionnalities

All are modules are based on a EFM32 / Cortex M3 micro-controler with 128KB flash, 16KB RAM, ultra low power including a Silicon Labs transceiver. The chip is a EFM32G210F128

Read more for details

 

Continue reading

Posted in sigfox | Tagged , , , , , | Leave a comment