Hi
I have an Alfat USB board connected to a system using a PIC with a 20MHz xtal.
I have been using I2C to communicate with the board. This is proving a bit slow for what I want. So I decided I would use the usart instead.
The problem is that my PIC can’t handle 115200 baud with a 20MHz Xtal - it would be difficult for me to run it any faster because of the application.
So I thought - no problem, I’ll use I2C to change the Baud rate for the Alfat board, then pull the reset pin low, reconfigure the interface pins and then restart the board. Then I would be able to communicate at a slower baud rate.
Seems good in theory but as soon as I change the baud rate (and get an acknowledgement from the board) I am no longer able to communicate with either I2c or the usart.
Can you offer any advice? I don’t want to have to configure the Alfat board ‘off board’ if I can help it.
Many thanks
Peter