manes6969
Registered: 06/11/09
Posts: 10
|
| Posted 14/03/10 at 05:31 AM | Reply with quote #1 |
|
Hi
I'm trying to change baudrate on my µlcd 32032-P1T but it wont work Im using this sequence :
Q 0x0f to serial port at 9600 bd , thenI change my baud to 256000 and wait for ack This ack never comes , also tried other baudrates but no succes so far. My baudrates are acurate , since I'm using a 24.576Mhz for my serial controller As long as I stay on 9600 baud all works well , drawing circles and text all work fine.
Any ideas what could be wrong ? NB: I installed the latest pmmc file 1.18
Thanks ,
Ronny
|
| Loading... | |
ESPsupport
Moderator
Registered: 27/01/09
Posts: 4,270
|
| Posted 14/03/10 at 04:48 PM | Reply with quote #2 |
|
Did you use 'flushfilebuffers' before changing the baud rate? You need this to ensure that the entire Q xx is sent out first.
Typically:- Send Q command flushfilebuffers sleep 10ms change baud rate purgecomm (to get rid of any rubbish generated by the baud rate change) sleep 50ms (to allow things to 'stabilize') Start looking for the ACK |
| Loading... | |
manes6969
Registered: 06/11/09
Posts: 10
|
| Posted 17/03/10 at 06:07 AM | Reply with quote #3 |
|
Hi
Thanks for the reply . Today I managed to get the display working up to 128000bd. It looks like the delays which I didn't use were causing the trouble.
My question back is , why isn't the 256000 not working ? I have a Cortex-M3 controller running at 100Mhz , so it should be more than fast enough to do the job. I also used a logic analyzer and noticed there wasn't a response back from the display(no ack or nack)
Thanks again ,
Ronny
|
| Loading... | |
ESPsupport
Moderator
Registered: 27/01/09
Posts: 4,270
|
| Posted 17/03/10 at 06:24 AM | Reply with quote #4 |
|
115200 seems to be the fastest rate that everything I have seen Communcates at, after that inaccuracies seem to mean adjustment to the baud rates are required.
I'm surprised you don't see the response, you should get a response regardless, are you sure the entire setbaud command is getting transmitted before the baud rate is changed?
If you notice the baud rate options in FATController, there are two high ones listed as 128/129 and 256/282. I need to use these one one of my computers to talk to my CE5, yet on another computer 128000 and 256000 work just fine. 128/129 instructs the display to use 128000 and Windows to use 129032, 256/282 uses 256000 for the display and 282353 for Windows. You may need to do something similar. |
| Loading... | |
manes6969
Registered: 06/11/09
Posts: 10
|
| Posted 17/03/10 at 06:47 AM | Reply with quote #5 |
|
Hi
I just downloaded and installed this tool. Same result : max baudrate i can use (with an µusb-mb5 module is 128000. Anything higher doesn't work So it looks the problem is display related , not controller nor pc (?)
I have HW version 10 and Software rev 16 and pmmc rev 6
Still any ideas ?
Greetings Ronny
|
| Loading... | |
ESPsupport
Moderator
Registered: 27/01/09
Posts: 4,270
|
| Posted 17/03/10 at 06:55 AM | Reply with quote #6 |
|
The MB5 is different to the CE5, the baud rate changes are done a different way 
I'll get the relevant information on how to change the settings for an MB5 posted up here, in a few hours, hopefully |
| Loading... | |
4dTechSupport

Moderator
Registered: 23/02/09
Posts: 377
|
| Posted 17/03/10 at 08:46 AM | Reply with quote #7 |
|
Hi, Here is the MB5 baud rate setting procedure, For the MB5 you will need to download the AN205 Software from https://www.silabs.com/Support%20Documents/Software/AN205SW.zip Extract it to a new folder, connect your MB5 to your computer then run CP210xBaudRateAliasConfig.exe. Double click entry 4 (273066-254235) and change the desired rate to 282353, then click OK. Double click entry 8 (129347-117029) and change the desired rate to 129032 if you are having problems with the 128K as well, then click OK. Now Click ‘Set Configuration’ and then ‘Yes’. The configuration is set in the MB5 itself and not the computer. -Bilal
|
| Loading... | |
4dTechSupport

Moderator
Registered: 23/02/09
Posts: 377
|
| Posted 17/03/10 at 08:46 AM | Reply with quote #8 |
|
Hi, Here is the MB5 baud rate setting procedure, For the MB5 you will need to download the AN205 Software from https://www.silabs.com/Support%20Documents/Software/AN205SW.zip Extract it to a new folder, connect your MB5 to your computer then run CP210xBaudRateAliasConfig.exe. Double click entry 4 (273066-254235) and change the desired rate to 282353, then click OK. Double click entry 8 (129347-117029) and change the desired rate to 129032 if you are having problems with the 128K as well, then click OK. Now Click ‘Set Configuration’ and then ‘Yes’. The configuration is set in the MB5 itself and not the computer. -Bilal
|
| Loading... | |
manes6969
Registered: 06/11/09
Posts: 10
|
| Posted 18/03/10 at 08:46 PM | Reply with quote #9 |
|
Hi
I installed and did the modifications for the baudrate alias , but still no result. 128k no problem , but 256k still gives no ack. Does this setting mean that the actual baudrate of the display is 282353 baud instead of 256000 ???
I can try this on my microcontroller id this is the case. Because , please be aware that I dont use the mb5 module on my microcontroller , the tx and rx lines are directly connected to the display . But anyway this was a good test ! So far I keep 'blaming it ' on the display , but I will try the exact baudrate of 282353 tomorrow on my microcontroller (if this is usefull , this you have to tell me ;-)
Hoping this issue will be solved one day or the other ,
Regards ,
Ronny Suy Belgium
|
| Loading... | |
ESPsupport
Moderator
Registered: 27/01/09
Posts: 4,270
|
| Posted 18/03/10 at 09:03 PM | Reply with quote #10 |
|
As you can imagine, internally the PmmC just.. 'Set new baud rate' 'Sleep 100ms' 'Send Ack'
So, assuming the 'new' baud rate is valid, you should be able to see an ACK on your logic analyser 100ms after you send a Q command.
So I guess looking for a response and decoding the speed using the logic analyzer (if possible) would seem to be your best bet
Quote: Does this setting mean that the actual baudrate of the display is 282353 baud instead of 256000 ???
No, it just means that when the CE5 is doing what it thinks is 282353 and the display is doing what it thinks is 256000 that they are both able to communicate. 
I think both are wrong IIRC, blaming one over the other doesn't get them talking
|
| Loading... | |