Search found 74 matches

by S.Michaelsen
Thu 20. Jul 2017, 08:03
Forum: PCAN-Wireless Gateway
Topic: Example for sending messages to wireless gateway
Replies: 4
Views: 2561

Re: Example for sending messages to wireless gateway

Hi,
did you disable the handshake mechanism as described in chapter 1.3 of the developer documentation? The status light should get blue then instead of yellow…

Best Regards,
Stephan
by S.Michaelsen
Wed 14. Dec 2016, 08:16
Forum: PCAN-GPRS Link
Topic: Send file with GPRS
Replies: 5
Views: 3898

Re: Send file with GPRS

No, I'm sorry but I can't give you any support for your FTP issues.
by S.Michaelsen
Mon 12. Dec 2016, 13:38
Forum: PCAN-GPRS Link
Topic: using can 1
Replies: 3
Views: 2458

Re: using can 1

Have you defined and used separate receive and transmit queues (e.g. CanTxQueue2 and CanRxQueue2)?
No, unfortunately it is not possible.

Best Regards,
Stephan
by S.Michaelsen
Mon 12. Dec 2016, 09:10
Forum: PCAN-GPRS Link
Topic: using can 1
Replies: 3
Views: 2458

Re: using can 1

In the example sources the second CAN interface is used for the OBDII communication. If you want to use it for other purposes plase make sure to remove any OBDIIServer() call in mian.c.

BR,
Stephan
by S.Michaelsen
Fri 9. Dec 2016, 11:55
Forum: PCAN-GPRS Link
Topic: Send file with GPRS
Replies: 5
Views: 3898

Re: Send file with GPRS

Well, as you may read in the WIPAT command user guide the CME ERROR 812 means "bearer connection failure : GPRS network failure". So it looks rather like there is an problem with your network connection then a problem with the WMP50. You may for example enable the tunneling of the modem data to the ...
by S.Michaelsen
Thu 8. Dec 2016, 11:21
Forum: PCAN-GPRS Link
Topic: KL-15 function
Replies: 4
Views: 8296

Re: KL-15 function

Hi, are you sure that the module is really switched off? Is there any CAN traffic on your bus when you switch off the module? If so this might keep the module awake. If you use the unmodified example code it might happen in rare cases that the module has already entered the while(1) loop after hardw...
by S.Michaelsen
Thu 8. Dec 2016, 09:36
Forum: PCAN-GPRS Link
Topic: Buffer on UART3
Replies: 3
Views: 2520

Re: Buffer on UART3

Hi, so if you try to read ten bytes the loop condition might be the wring one. The while(ret){...} loop will stop the first time when there is nothing to read - at 38400 baud the processor might be much faster with processing the loop then it takes to transmit another byte. Again: the function UART_...
by S.Michaelsen
Mon 5. Dec 2016, 09:52
Forum: PCAN-GPRS Link
Topic: Buffer on UART3
Replies: 3
Views: 2520

Re: Buffer on UART3

Hi, I assume you are talking about byte rather than bit, right? The read function is non blocking. It returns only the number of bytes that are currently available and that fit into the read buffer. If you need exactly 8 byte before you can process the data you could for example simply read the byte...
by S.Michaelsen
Thu 1. Dec 2016, 13:33
Forum: PCAN-GPRS Link
Topic: Write File and serial speed
Replies: 6
Views: 3317

Re: Write File and serial speed

Well, I'd recommand to create an own function and call it at a point before you plan to use the UART.
About the values the LPC controllers user manual section about UART should give you an example how to calculate the needed values.
No sorry, unfotunately it is not possible.

BR,
Stphan
by S.Michaelsen
Wed 30. Nov 2016, 09:06
Forum: PCAN-GPRS Link
Topic: Write File and serial speed
Replies: 6
Views: 3317

Re: Write File and serial speed

Something like VICIntEnClr |= (1<<29); //Disable interrupt UART3 tmp = U3LCR; U3LCR = 0x80 | tmp; // DLAB=1 , enable writeaccess to divisor latch register U3DLL = UDLL; U3DLM = UDLM; U3FDR = (MulVal<<4) | (DivAddVal&0xF); U3LCR = tmp; // DLAB=0 , disable writeaccess to divisor latch register VICIntE...