Sample Code Using UART in 9 bit Multiprocessor Mode in STM32 CubeIDE STM32F103RB6
$10-30 USD
Sürüyor
İlan edilme: 5 ay önce
$10-30 USD
Teslimde ödenir
I am looking for a freelancer who can provide me with sample code using UART in 9 bit multiprocessor mode in STM32 CubeIDE on a STM32F103RB6. This project is for personal use and I need it completed within 1 day.
Specifically, I need the sample code to include the following features and functionalities:
- Data transmission and reception using UART in Interrupt mode
- Receive / Transmit buffer 256 bytes
I'm looking for someone that has already worked with Multiprocessor Mode and 9 data bits in UART.
You should be able to bang this out pretty fast. A simple master, a simple slave that listens for its address (Multiprocessor Mode).
This is also known as a few others, Multi-drop serial, Multi Processor Communication Mode (MPCM) used in vending machines, a wide range or uses.
Basically, the UART has a register to store a 4 bit address. The UART will look for a frame with the 9th bit set. The UART strips the 9th bit, and compares the 8 bit value to the address stored in its register. If it is a match, the frame is forwarded on to the microcontroller. If not, the UART stays in mute mode until the next 9 bit frame comes in.
Commonly used in 8051 CPUs from what I've read.
Sample data to send -
0x01E <-- 9 bit, address bit
0x080
0x005
0x070
0x05F
Ideal skills and experience for this job include:
- Strong knowledge and experience in STM32 CubeIDE and STM32F103RB6 microcontroller
- Proficiency in UART communication protocols and 9 bit multiprocessor mode using interrupts
- Ability to integrate the sample code with other peripherals, if necessary