Hi all,
I'm running a PIC18F67K22 at 4MHz (define OSC 4) and using this command to read serial data at 9600bps
Serin2 Gps_tx, T9600,4000,cnerr,[.........
no problems at all, but in some...
The controllers will look something like this:
https://i.imgur.com/5crO271.png
https://i.imgur.com/2YRXTYG.png
I've never used MSSP. At least now I know where I stand using the command.
I am polling a controller for Flight Sim. I have multiple encoders on the circuit, but I do not expect more than...
MCP23017@400KHz , using a pic16 @32mhz can do that easily using mssp module
using I2CREAD command. @32 mHz the cmd will do 166KHz at best, even at 64 MHz it will not reach 400kHz
to read...
I was hoping:
- it would allow me to use the MCP23017 at 400MHz,
- it would be enough to read rotary encoders with an MCP23017,
- it would work using I2CREAD command.
But that's too many IFs....
I didn't even realize that MCS & MCSX had a Serial Communicator [blush]. Been using them for... dunno... 20+ years and never noticed. The only defence I have is I'm only an occasional user/coder.
...
I've been having some issues lately, not with that device specifically but with MCS Serial Communicator (or so it seems). I'm communicating with my board using simple ASCII commands at 57600 baud....
HenrikOlsson - 16th May 2024, 20:36what problem is the active pullup bus chip going to solve ?
it will make zero difference to pbp's bit-banged commands and the mssp port would have no issues at 400kHz bus speed anyway [providing bus...
I would say, that for relatively simple coding routines, PBP knowledge of AI had been improved, but just when you ask something more complex, you'll get this:
can you create picbasic pro code...
Qualifying Compiler |
Upgrade Description | |
Upgrade PICBASIC PRO (PBP) 2.60 or later to PBP3 Gold Edition | ||
|
||
|
||
Upgrade PICBASIC Compiler (PBC) to PBP3 Silver Edition |
Re: trick with Serin
No mistake, it works, sorry (you can delete the post eventually)
Marcick Today, 14:10