BASCOM-AVR : issue with serout inverted : REPLY
I don't have a logic analyzer, which would be helpful in this case. You will get more replies and better help if you tell us which micro you are using, AND post a very short, complete, program that...
View ArticleBASCOM-AVR : issue with serout inverted : REPLY
Hardware is a Arduino Nano (Mega 328) I don't think that it is a Hardware Issue. The following bytes are fine this works also well: [code:1:8d46a7739b]Open "COMB.4:100000,8,E,2,INVERTED" For Output As...
View ArticleBASCOM-AVR old unsupported versions : issue with serout inverted : REPLY
doublechecked the issue with a simple programm [img:a1541ae7bf]https://www.mcselec.com/userpix/27864_Screenshot_20240415_192252_1.jpg[/img:a1541ae7bf] Channel 1 is PortB.3 Signal is generated by...
View ArticleBASCOM-AVR old unsupported versions : issue with serout inverted : REPLY
$swstack = 10 this seems low , please try with a higher value like 16 i checked the code in the lib and i see no obvious reason for a difference in timing between inverted and non inverted. you might...
View ArticleBASCOM-AVR old unsupported versions : issue with serout inverted : REPLY
changing $swstack = 16 same result tried all these ports Serout sbus_load , 3 , PORTB , 4 , 100000 , 1 , 8 , 2 , INVERTED Serout sbus_load , 3 , PORTB , 3 , 100000 , 1 , 8 , 2 , INVERTED Serout...
View ArticleBASCOM-AVR old unsupported versions : issue with serout inverted : REPLY
again: only the startbit of the first Byte of a block is faulty. In my example code: the first is faulty, the following 2 are fine. If you send out 25 bytes, you get 24 good ones.
View ArticleBASCOM-AVR old unsupported versions : issue with serout inverted : REPLY
you say that without INVERTED option it works. can you instead of the printbin, show serout wihtout the inverted option? when i simulate i get both serout (with and without inverted) having the same...
View ArticleBASCOM-AVR old unsupported versions : issue with serout inverted : REPLY
[img:bae96a23e6]https://www.mcselec.com/userpix/27864_Screenshot_20240416_212340_1.jpg[/img:bae96a23e6] everything is fine with non inverted signal. The issue appears with lower speed (eg 19200Bd) as...
View ArticleShare your working BASCOM-AVR code here : LCD menu with UI designer : REPLY
Thanks for the help, I'll give it a try. Do you have an ETA on the next version?
View ArticleBASCOM-AVR old unsupported versions : issue with serout inverted : REPLY
I got a message from MWS who found the problem. The problem is that the pin is not set to the correct logic level at the start in inverted mode. then there is some decoding from the parameters which...
View ArticleBASCOM-AVR old unsupported versions : issue with serout inverted : REPLY
attached a mod you can test. just put the lib in the LIB folder and include it with $LIB "serout.lib" the compiler will use this code instead of the code in MCS.lib
View ArticleBASCOM-AVR old unsupported versions : issue with serout inverted : REPLY
uuuuhhhhhh - looks good [img:32af366fc7]https://www.mcselec.com/userpix/27864_Screenshot_20240417_173217_1.jpg[/img:32af366fc7] thanks for quick fix
View ArticleBASCOM-AVR old unsupported versions : issue with serout inverted : REPLY
thanks for letting me know. it will be in the 2087 release.
View ArticleBASCOM-AVR old unsupported versions : issue with serout inverted : REPLY
is it OK to share the lib at the German Forum? https://bascomforum.de
View ArticleBASCOM-AVR old unsupported versions : issue with serout inverted : REPLY
sorry that is not allowed. On the MCS forum(this forum) you can only download attachments when you have a license. MCS support and service is mainly intended for customers with a license. The...
View ArticleBASCOM-AVR old unsupported versions : issue with serout inverted : REPLY
ok understood and, of cause, accepted
View ArticleBASCOM-AVR XTINY/MEGAX/AVRX : Update .dats for AVRX : NEWTOPIC
Hello, I'm writing to ask if in the new version you have a plan to update AVRX series in terms of different device's memory and pinout. I can see that a new versions are availabe- for example...
View ArticleBASCOM-AVR XTINY/MEGAX/AVRX : Update .dats for AVRX : REPLY
yes the next update has : - all DD devices - all DA devices - all DB devices - all EA devices - all xtiny devices (as far i know about them) EB series is yet different not speaking of DU series so...
View ArticleShare your working BASCOM-AVR code here : LCD menu with UI designer : REPLY
I've got an odd problem. I'd ordinarily post it in the general area but after stripping everything else away the only thing left is the menu. I'm guessing my ERAM variables are conflicting with how...
View ArticleBASCOM-AVR : Deference between atmega164p and atmega644p : NEWTOPIC
I have written a program and I use PORTC as input. After compiling with "m644pdef.dat" everything works fine. After compiling the same program with "m164pdef.dat" PC4 and PC5 don't work. I am confused...
View Article