реклама на сайте
подробности

 
 
> SIM5320 CMUX problem, Having problem implementing multiplexer with SIM5320
bernarduh
сообщение Oct 9 2014, 18:06
Сообщение #1





Группа: Новичок
Сообщений: 5
Регистрация: 9-10-14
Пользователь №: 83 072



Hello.

I'm prototyping a board that uses a SIM5320. Currently i have a prototype that is working with the uart interface without multiplexer.

My next and crucial step is to get the uart interface to use the multiplexer function so that i can have 3G/GPRS and GPS at the same time.

The module is connected through a null modem connection (RTX -> TXD/ TXD -> RXD).

To implement the 07.10 Multiplexer protocol i'm using the Linux kernel driver n_gsm. Currently i have already modified this driver in order to get some comunications out of the SIM5320 in CMUX mode.
I'm able to establish the DLC0 but after that the only thing that the SIM5320 sends is sequences of F9 F9 F9 F9. After a lot of digging i found out that the module can send this flags in a few situations:

Indicate the connection is established.
Module has wake up from sleep mode.
Module is out of sync and is discarding the frames until i send it F9 F9 F9 F9.

I already tried to send it back the F9 F9 F9 F9 but the module send them back :s.

ATI

Manufacturer: SIMCOM INCORPORATED
Model: SIMCOM_SIM5320E
Revision: SIM5320E_V1.5
IMEI: 861311000924364
+GCAP: +CGSM,+DS,+ES

OK

Currently this is the only issue stopping me from sending the board for PCB production so this is kind of urgent.
I'm really need help on this topic.

Thank you for your attention.

Sorry for posting in English but i Portuguese and can't speak Russian.
Go to the top of the page
 
+Quote Post
 
Start new topic
Ответов
bernarduh
сообщение Oct 20 2014, 09:47
Сообщение #2





Группа: Новичок
Сообщений: 5
Регистрация: 9-10-14
Пользователь №: 83 072



I launch the script and it creates the ttyGSM1/2/3/4 but when i try to use any of the ttyGSM i get "[Errno 51] Level 2 halted".
So i started digging the n_gsm driver source and found out that the tty_open return that error if the DLC for that port was not establish.
I enabled the debugging to see what was been sent and received from the module and found out that the n_gsm sends:

F9 03 3F 01 1C F9

to the module to establish the control DCL0 and the module replies with:

F9 03 73 00 00 A4 F9

accepting the connection and also sends:

F9 F9 F9 F9 F9 F9 F9 F9

after that.

At this point the n_gsm driver does nothing until we try to open a MUX channel (ttyGSM).
When we do that the module only replies with:

F9 F9 F9 F9

What module are you using? Is it the same SIM5320E?
Go to the top of the page
 
+Quote Post



Reply to this topicStart new topic
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 


RSS Текстовая версия Сейчас: 28th August 2025 - 06:38
Рейтинг@Mail.ru


Страница сгенерированна за 0.02474 секунд с 7
ELECTRONIX ©2004-2016